2 # $Id: configure.in 3365 2011-06-09 18:47:31Z chrfranke $
4 dnl Process this file with autoconf to produce a configure script.
6 AC_INIT(smartmontools, 5.41, smartmontools-support@lists.sourceforge.net)
7 AC_CONFIG_SRCDIR(smartctl.cpp)
9 smartmontools_configure_date=`date -u +'%Y-%m-%d %T %Z'`
10 smartmontools_cvs_tag=`echo '$Id: configure.in 3365 2011-06-09 18:47:31Z chrfranke $'`
11 smartmontools_release_date=2011-06-09
12 smartmontools_release_time="18:46:32 UTC"
14 AC_DEFINE_UNQUOTED(SMARTMONTOOLS_CONFIGURE_ARGS, "$ac_configure_args", [smartmontools Configure Arguments])
15 AC_DEFINE_UNQUOTED(SMARTMONTOOLS_CONFIGURE_DATE, "$smartmontools_configure_date", [smartmontools Configure Date])
16 AC_DEFINE_UNQUOTED(SMARTMONTOOLS_RELEASE_DATE, "$smartmontools_release_date", [smartmontools Release Date])
17 AC_DEFINE_UNQUOTED(SMARTMONTOOLS_RELEASE_TIME, "$smartmontools_release_time", [smartmontools Release Time])
18 AC_DEFINE_UNQUOTED(CONFIG_H_CVSID, "$smartmontools_cvs_tag", [smartmontools CVS Tag])
19 AC_DEFINE_UNQUOTED(PACKAGE_HOMEPAGE, "http://smartmontools.sourceforge.net/", [smartmontools Home Page])
21 AM_CONFIG_HEADER(config.h)
28 dnl Checks for programs.
34 AC_ARG_VAR(WINDMC, [Windows message compiler command])
35 AC_ARG_VAR(WINDRES, [Windows resource compiler command])
36 AC_ARG_VAR(MAKENSIS, [NSIS compiler command])
39 dnl Set flags which may affect AC_CHECK_*.
42 # Cygwin gcc 4.x does no longer support '-mno-cygwin' to select MinGW gcc.
43 if test "${build}" = "${host}" && test -x /usr/bin/uname && \
44 /usr/bin/uname | grep -i '^CYGWIN' >/dev/null; then
45 AC_MSG_ERROR([Build with MinGW on Cygwin requires cross-compilation, see INSTALL file.])
47 AC_CHECK_PROGS(WINDMC, [${host}-windmc windmc])
48 AC_CHECK_PROGS(WINDRES, [${host}-windres windres])
50 AC_MSG_CHECKING([checking for makensis])
51 if test -z "$MAKENSIS"; then
52 if test -n "$PROGRAMFILES" && "$PROGRAMFILES/NSIS/makensis" -VERSION >/dev/null 2>&1; then
53 MAKENSIS="$PROGRAMFILES/NSIS/makensis"
54 elif makensis -VERSION >/dev/null 2>&1; then
58 AC_MSG_RESULT([${MAKENSIS:-no}])
60 CPPFLAGS="$CPPFLAGS -I$srcdir/os_win32"
63 CPPFLAGS="$CPPFLAGS -I/usr/src/sys"
68 AC_MSG_CHECKING([whether this is a build from SVN])
70 if test -f "$srcdir/.svn/entries"; then
72 if (cd "$srcdir" && svn --version && svnversion && svn info) >/dev/null 2>&1; then
76 AM_CONDITIONAL(IS_SVN_BUILD, [test "$is_svn_build" = "yes"])
77 AC_MSG_RESULT([$is_svn_build])
79 dnl Checks for libraries needed for name services (Solaris needs
80 dnl libnsl, might in the future also need libsocket)
81 # AC_SEARCH_LIBS (FUNCTION, SEARCH-LIBS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [OTHER-LIBRARIES])
82 AC_SEARCH_LIBS(socket, socket)
83 AC_SEARCH_LIBS(gethostbyname, nsl)
84 AC_SEARCH_LIBS(getaddrinfo, nsl)
85 AC_SEARCH_LIBS(getdomainname, nsl)
87 dnl Checks for header files.
88 AC_CHECK_HEADERS([locale.h])
89 AC_CHECK_HEADERS([dev/ata/atavar.h])
90 AC_CHECK_HEADERS([netdb.h])
91 dnl we need [u]int64_t and friends.
92 AC_CHECK_HEADERS([inttypes.h]) dnl C99, UNIX98, solaris 2.6+
93 AC_CHECK_HEADERS([stdint.h]) dnl C99
94 AC_CHECK_HEADERS([sys/inttypes.h]) dnl pre-UNIX98
95 AC_CHECK_HEADERS([sys/int_types.h]) dnl pre-UNIX98, solaris 2.6+
96 dnl Check for FreeBSD twe include files...currently missing on 5.2, but should be there
97 AC_CHECK_HEADERS([sys/tweio.h])
98 AC_CHECK_HEADERS([sys/twereg.h])
99 dnl Check for FreeBSD twa include files...
100 AC_CHECK_HEADERS([sys/tw_osl_ioctl.h])
101 dnl Check for FreeBSD ciss include files...
102 AC_CHECK_HEADERS([dev/ciss/cissio.h])
103 dnl This header file is needed for cciss_ioctl.h at least on SuSE LINUX
104 AC_CHECK_HEADERS([linux/compiler.h])
105 dnl Check for Linux CCISS include file
106 AC_CHECK_HEADERS([linux/cciss_ioctl.h], [], [], [AC_INCLUDES_DEFAULT
107 #ifdef HAVE_LINUX_COMPILER_H
108 # include <linux/compiler.h>
111 dnl Check for Windows DDK and WMI header files
112 AC_CHECK_HEADERS([ntdddisk.h ddk/ntdddisk.h], [], [], [AC_INCLUDES_DEFAULT
115 AC_CHECK_HEADERS([wbemcli.h])
117 dnl Checks for typedefs, structures, and compiler characteristics.
118 AC_CHECK_TYPES([int64_t, uint64_t])
120 dnl Checks for library functions.
121 AC_CHECK_FUNCS([getopt_long], [need_getopt_long=no], [need_getopt_long=yes])
122 AM_CONDITIONAL(NEED_GETOPT_LONG, [test "$need_getopt_long" = "yes"])
123 AC_CHECK_FUNCS([regcomp], [need_regex=no], [need_regex=yes])
124 AM_CONDITIONAL(NEED_REGEX, [test "$need_regex" = "yes"])
126 AC_CHECK_FUNCS([getdomainname])
127 AC_CHECK_FUNCS([gethostname])
128 AC_CHECK_FUNCS([getaddrinfo])
129 AC_CHECK_FUNCS([gethostbyname])
130 AC_CHECK_FUNCS([sigset])
131 AC_CHECK_FUNCS([strtoull])
132 AC_CHECK_FUNCS([uname])
134 # Check byte ordering (defines WORDS_BIGENDIAN)
137 # Check whether snprintf appends null char and returns expected length on overflow
138 AC_MSG_CHECKING([for working snprintf])
139 AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]], [[ char buf[]="ABCDEFGHI";
140 int i=snprintf(buf,8,"12345678"); return !(!buf[7] && i==8); ]])],
141 [libc_have_working_snprintf=yes],
142 [libc_have_working_snprintf=no],
143 [libc_have_working_snprintf=unknown])
144 AC_SUBST(libc_have_working_snprintf)
145 if test "$libc_have_working_snprintf" = "yes"; then
146 AC_DEFINE(HAVE_WORKING_SNPRINTF, 1, [Define to 1 if the `snprintf' function is sane])
148 AC_MSG_RESULT([$libc_have_working_snprintf])
150 # check for __attribute__((packed))
151 AC_MSG_CHECKING([whether $CXX supports __attribute__((packed))])
152 AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [[struct a { int b; } __attribute__((packed));]])],
153 [gcc_have_attr_packed=yes], [gcc_have_attr_packed=no])
154 AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [[#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
155 #error "Sun's compiler cannot handle __attribute__((packed))!"
157 [true], [gcc_have_attr_packed=no])
158 AC_SUBST(gcc_have_attr_packed)
159 if test "$gcc_have_attr_packed" = "yes"; then
160 AC_DEFINE(HAVE_ATTR_PACKED, 1, [Define to 1 if C++ compiler supports __attribute__((packed))])
162 AC_MSG_RESULT([$gcc_have_attr_packed])
168 AC_ARG_WITH(systemdsystemunitdir,
169 [AS_HELP_STRING([--with-systemdsystemunitdir@<:@=DIR|auto|yes|no@:>@], [Location of systemd service files [auto]])],
170 [], [with_systemdsystemunitdir=auto])
172 systemdsystemunitdir=
173 case "$with_systemdsystemunitdir" in
175 test -n "$PKG_CONFIG" && systemdsystemunitdir=`$PKG_CONFIG --variable=systemdsystemunitdir systemd`
176 case "$with_systemdsystemunitdir:$sysconfdir:$systemdsystemunitdir" in
177 yes:*:) AC_MSG_ERROR([Location of systemd service files not found]) ;;
178 yes:*:*|auto:*:|auto:/etc:*) ;;
179 *) systemdsystemunitdir='${prefix}'$systemdsystemunitdir ;;
182 *) systemdsystemunitdir="$with_systemdsystemunitdir" ;;
184 AC_SUBST(systemdsystemunitdir)
185 AM_CONDITIONAL(INSTALL_SYSTEMDUNIT, [test -n "$systemdsystemunitdir"])
187 AC_ARG_WITH(initscriptdir,
188 [AC_HELP_STRING([--with-initscriptdir@<:@=DIR|auto|yes|no@:>@], [Location of init scripts [auto]])],
189 [], [with_initscriptdir=auto])
191 AC_MSG_CHECKING(which init (rc) directory to use)
193 for dir in rc.d/init.d init.d rc.d; do
194 if test -d /etc/$dir; then
195 initddir='${sysconfdir}'/$dir
199 AC_MSG_RESULT([${initddir:-not found}])
201 case "$with_initscriptdir" in
202 auto) test -n "$systemdsystemunitdir" && initddir= ;;
204 if test -z "$initddir"; then
205 AC_MSG_ERROR([Location of init scripts not found])
208 *) initddir="$with_initscriptdir" ;;
212 AM_CONDITIONAL(INSTALL_INITSCRIPT, [test -n "$initddir"])
214 # use different init script templates for different OS
217 initdfile="smartd.freebsd.initd"
220 initdfile="smartd.initd"
226 [AC_HELP_STRING([--with-docdir=DIR],[Location of documentation [DATADIR/doc/smartmontools]])],
228 [ if test -z "$docdir"; then
229 # autoconf 2.5x without '--docdir' support
230 docdir='${datadir}/doc/${PACKAGE}'
235 AC_ARG_WITH(exampledir,
236 [AC_HELP_STRING([--with-exampledir=DIR],[Location of example scripts [DOCDIR/examplescripts]])],
237 [exampledir="$withval"], [exampledir='${docdir}/examplescripts'])
240 AC_ARG_ENABLE(drivedb,
241 [AC_HELP_STRING([--disable-drivedb],[Disables drive database file])],
242 [], [enable_drivedb=yes])
244 AC_ARG_WITH(drivedbdir,
245 [AC_HELP_STRING([--with-drivedbdir=DIR],[Location of drive database file (implies --enable-drivedb) [DATADIR/smartmontools]])],
246 [drivedbdir="$withval"; enable_drivedb=yes],
247 [drivedbdir=; test "$enable_drivedb" = "yes" && drivedbdir='${datadir}/${PACKAGE}'])
249 AM_CONDITIONAL(ENABLE_DRIVEDB, [test "$enable_drivedb" = "yes"])
251 AC_ARG_ENABLE(savestates, [AC_HELP_STRING([--enable-savestates],[Enables default smartd state files])])
253 AC_ARG_WITH(savestates,
254 [AC_HELP_STRING([--with-savestates=PREFIX],[Prefix for default smartd state files (implies --enable-savestates) [LOCALSTATEDIR/lib/smartmontools/smartd.]])],
255 [savestates="$withval"; enable_savestates="yes"],
256 [savestates=; test "$enable_savestates" = "yes" && savestates='${localstatedir}/lib/${PACKAGE}/smartd.'])
257 savestatesdir="${savestates%/*}"
259 AC_SUBST(savestatesdir)
260 AM_CONDITIONAL(ENABLE_SAVESTATES, [test "$enable_savestates" = "yes"])
262 AC_ARG_ENABLE(attributelog, [AC_HELP_STRING([--enable-attributelog],[Enables default smartd attribute log files])])
264 AC_ARG_WITH(attributelog,
265 [AC_HELP_STRING([--with-attributelog=PREFIX],[Prefix for default smartd attribute log files (implies --enable-attributelog) [LOCALSTATEDIR/lib/smartmontools/attrlog.]])],
266 [attributelog="$withval"; enable_attributelog="yes"],
267 [attributelog=; test "$enable_attributelog" = "yes" && attributelog='${localstatedir}/lib/${PACKAGE}/attrlog.'])
268 attributelogdir="${attributelog%/*}"
269 AC_SUBST(attributelog)
270 AC_SUBST(attributelogdir)
271 AM_CONDITIONAL(ENABLE_ATTRIBUTELOG, [test "$enable_attributelog" = "yes"])
273 AC_ARG_ENABLE(sample,
274 [AC_HELP_STRING([--enable-sample],[Enables appending .sample to the installed smartd rc script and configuration file])],
275 [smartd_suffix=; test "$enableval" = "yes" && smartd_suffix=".sample"],
277 AC_SUBST(smartd_suffix)
280 [AC_HELP_STRING([--with-os-deps='os_module.o ...'],[Specify OS dependent module(s) [guessed]])],
281 [ for x in $with_os_deps; do
284 *) AC_MSG_ERROR([non-object file specified by --with-os-deps]) ;;
290 [AC_HELP_STRING([--with-selinux@<:@=yes|no@:>@],[Enables SELinux support [no]])],
291 [ if test "$withval" = "yes"; then
292 AC_CHECK_HEADERS([selinux/selinux.h], [], [AC_MSG_ERROR([Missing SELinux header files])])
293 AC_CHECK_LIB(selinux, matchpathcon, [], [AC_MSG_ERROR([Missing or incorrect SELinux library files])])
296 AC_SUBST(with_selinux)
297 if test "$with_selinux" = "yes"; then
298 AC_DEFINE(WITH_SELINUX, 1, [Define to 1 if SELinux support is enabled])
301 AC_ARG_WITH(libcap-ng,
302 [AC_HELP_STRING([--with-libcap-ng@<:@=auto|yes|no@:>@],[Add Libcap-ng support to smartd [auto]])],
303 [], [with_libcap_ng=auto])
306 if test "$with_libcap_ng" != "no"; then
307 AC_CHECK_LIB(cap-ng, capng_clear,
308 [AC_DEFINE(HAVE_LIBCAP_NG, 1, [Define to 1 if you have the `cap-ng' library (-lcap-ng).])
309 CAPNG_LDADD="-lcap-ng"; use_libcap_ng=yes])
311 if test "$use_libcap_ng" = "yes"; then
312 AC_CHECK_HEADER(cap-ng.h, [], [AC_MSG_ERROR([libcap-ng libraries found but headers are missing])])
313 elif test "$with_libcap_ng" = "yes"; then
314 AC_MSG_ERROR([libcap-ng support was requested but the library was not found])
318 AC_MSG_CHECKING([whether to use libcap-ng])
319 AC_SUBST(CAPNG_LDADD)
320 AM_CONDITIONAL(ENABLE_CAPABILITIES, [test "$use_libcap_ng" = "yes"])
321 AC_MSG_RESULT([$use_libcap_ng])
323 if test "$prefix" = "NONE"; then
324 dnl no prefix and no mandir, so use ${prefix}/share/man as default
325 if test "$mandir" = '${prefix}/man'; then
326 AC_SUBST([mandir], ['${prefix}/share/man'])
330 AC_SUBST(releaseversion,['${PACKAGE}-${VERSION}'])
331 AC_SUBST(smartmontools_release_date)
332 AC_SUBST(smartmontools_release_time)
334 # Set platform-specific modules and symbols
336 os_dltools='curl wget lynx'
345 os_deps='os_linux.o cciss.o'
347 *-*-freebsd*|*-*-dragonfly*|*-*-kfreebsd*-gnu*)
348 os_deps='os_freebsd.o cciss.o'
350 os_dltools='curl wget lynx fetch'
351 AC_CHECK_LIB(usb, libusb20_dev_get_device_desc)
354 os_deps='os_solaris.o os_solaris_ata.o'
359 os_deps='os_solaris.o'
364 os_deps='os_netbsd.o'
368 os_deps='os_openbsd.o'
370 os_dltools='curl wget lynx ftp'
388 os_deps='os_darwin.o'
389 os_libs='-framework CoreFoundation -framework IOKit'
393 os_deps='os_qnxnto.o'
396 os_deps='os_generic.o'
400 # Replace if '--with-os-deps' was specified
401 test -z "$with_os_deps" || os_deps="$with_os_deps"
403 # Check if we need adapter to old interface (dev_legacy.cpp)
404 os_src=`echo "${os_deps}"|sed -n 's,^\([[^ .]]*\)\.o.*$,\1.cpp,p'`
405 AC_MSG_CHECKING([whether ${os_src} uses new interface])
406 if grep "smart_interface" "${srcdir}/${os_src}" >/dev/null 2>&1; then
410 os_deps="${os_deps} dev_legacy.o"
411 AC_DEFINE(OLD_INTERFACE, 1, [Define to 1 if os_*.cpp still uses the old interface])
413 AC_MSG_RESULT([$os_new_interface])
417 AC_SUBST([os_dltools])
418 if test -n "$os_mailer"; then
419 AC_DEFINE_UNQUOTED(DEFAULT_MAILER, "$os_mailer", [Default mailer if "mail" is unavailable])
422 # Create drivedb.h update branch name from version: 5.41[.X] -> RELEASE_5_41_DRIVEDB
423 DRIVEDB_BRANCH=`echo $VERSION | sed 's,^\([[0-9]]*\.[[0-9]]*\)\..*$,\1,' \
424 | sed -n 's,^\([[0-9]][[0-9]]*\)\.\([[0-9]][[0-9]]*\)$,RELEASE_\1_\2_DRIVEDB,p'`
425 if test -z "$DRIVEDB_BRANCH"; then
426 AC_MSG_ERROR([Unable to create DRIVEDB_BRANCH from VERSION=$VERSION])
428 AC_SUBST([DRIVEDB_BRANCH])
430 # Enable platform-specific makefile sections
431 AM_CONDITIONAL(OS_DARWIN, [test "$os_darwin" = "yes"])
432 AM_CONDITIONAL(OS_SOLARIS, [test "$os_solaris" = "yes"])
433 AM_CONDITIONAL(OS_WIN32, [test "$os_win32" = "yes"])
434 AM_CONDITIONAL(OS_WIN32_MINGW, [test "$os_win32_mingw" = "yes"])
435 AM_CONDITIONAL(OS_WIN32_NSIS, [test -n "$MAKENSIS"])
436 AM_CONDITIONAL(OS_WIN32_WINDMC, [test -n "$WINDMC" && test "$WINDMC" != "no" && test -n "$WINDRES"])
437 AM_CONDITIONAL(OS_WIN64, [test "$os_win64" = "yes"])
439 dnl Add -Wall and -W if using g++ and its not already specified.
440 if test "$GXX" = "yes"; then
441 if test -z "`echo "$CXXFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
442 CXXFLAGS="$CXXFLAGS -Wall"
444 # In the next line, do NOT delete the 2 spaces inside double quotes.
445 if test -z "`echo "$CXXFLAGS " | grep "\-W " 2> /dev/null`" ; then
446 CXXFLAGS="$CXXFLAGS -W"
450 dnl We are NOT using gcc, so enable host-specific compiler flags
453 dnl set CXXFLAGS for Solaris/SPARC C++ compiler
454 if test -z "`echo "$CXXFLAGS" | grep "\-xmemalign" 2> /dev/null`" ; then
455 dnl we have to tell the compilers about packed ATA structures
456 CXXFLAGS="-xmemalign=1i $CXXFLAGS"
461 if test -z "`echo "$CXXFLAGS" | grep "\-xO" 2> /dev/null`" ; then
462 dnl turn on optimization if user has not explicitly set its value
463 CXXFLAGS="-xO2 $CXXFLAGS"
465 if test -z "`echo "$CXXFLAGS" | grep "\-erroff" 2> /dev/null`" ; then
466 dnl suppress trivial warnings
467 CXXFLAGS="-erroff=%none,wbadinitl,wbadasgl,badargtypel2w,badargtype2w $CXXFLAGS"
472 AC_DEFINE_UNQUOTED(SMARTMONTOOLS_BUILD_HOST, "${host}", [smartmontools Build Host])
476 AC_CONFIG_FILES(Makefile)
480 echo "-----------------------------------------------------------------------------" >&AS_MESSAGE_FD
481 echo "${PACKAGE}-${VERSION} configuration:" >&AS_MESSAGE_FD
482 echo "host operating system: $host" >&AS_MESSAGE_FD
483 echo "C++ compiler: $CXX" >&AS_MESSAGE_FD
484 echo "C compiler: $CC" >&AS_MESSAGE_FD
485 echo "preprocessor flags: $CPPFLAGS" >&AS_MESSAGE_FD
486 echo "C++ compiler flags: $CXXFLAGS" >&AS_MESSAGE_FD
487 echo "C compiler flags: $CFLAGS" >&AS_MESSAGE_FD
488 echo "linker flags: $LDFLAGS" >&AS_MESSAGE_FD
489 echo "OS specific modules: $os_deps $os_libs $LIBS" >&AS_MESSAGE_FD
493 echo "resource compiler: $WINDRES" >&AS_MESSAGE_FD
494 echo "message compiler: $WINDMC" >&AS_MESSAGE_FD
495 echo "NSIS compiler: $MAKENSIS" >&AS_MESSAGE_FD
496 if test -n "$drivedbdir"; then
497 echo "drive database file: EXEDIR/drivedb.h" >&AS_MESSAGE_FD
498 if test -n "$MAKENSIS"; then
499 echo "database update tool: EXEDIR/update-smart-drivedb.exe" >&AS_MESSAGE_FD
502 echo "drive database file: [[disabled]]" >&AS_MESSAGE_FD
504 if test -n "$savestates"; then
505 echo "smartd save files: `eval eval eval echo $savestates`MODEL-SERIAL.TYPE.state" >&AS_MESSAGE_FD
507 if test -n "$attributelog"; then
508 echo "smartd attribute logs: `eval eval eval echo $attributelog`MODEL-SERIAL.TYPE.csv" >&AS_MESSAGE_FD
513 echo "binary install path: `eval eval eval echo $sbindir`" >&AS_MESSAGE_FD
514 echo "man page install path: `eval eval eval echo $mandir`" >&AS_MESSAGE_FD
515 echo "doc file install path: `eval eval eval echo $docdir`" >&AS_MESSAGE_FD
516 echo "examples install path: `eval eval eval echo $exampledir`" >&AS_MESSAGE_FD
517 if test -n "$drivedbdir"; then
518 echo "drive database file: `eval eval eval echo $drivedbdir`/drivedb.h" >&AS_MESSAGE_FD
519 echo "database update script: `eval eval eval echo $sbindir`/update-smart-drivedb" >&AS_MESSAGE_FD
520 echo "download tools: `eval eval eval echo $os_dltools`" >&AS_MESSAGE_FD
522 echo "drive database file: [[disabled]]" >&AS_MESSAGE_FD
524 echo "local drive database: `eval eval eval echo $sysconfdir`/smart_drivedb.h" >&AS_MESSAGE_FD
525 echo "smartd config file: `eval eval eval echo $sysconfdir`/smartd.conf${smartd_suffix}" >&AS_MESSAGE_FD
526 if test -n "$initddir"; then
527 echo "smartd initd script: `eval eval eval echo $initddir`/smartd${smartd_suffix}" >&AS_MESSAGE_FD
528 elif test -z "$systemdsystemunitdir"; then
529 echo "smartd initd script: [[disabled]]" >&AS_MESSAGE_FD
531 if test -n "$systemdsystemunitdir"; then
532 echo "smartd systemd file: `eval eval eval echo $systemdsystemunitdir`/smartd.service" >&AS_MESSAGE_FD
534 if test -n "$savestates"; then
535 echo "smartd save files: `eval eval eval echo $savestates`MODEL-SERIAL.TYPE.state" >&AS_MESSAGE_FD
537 echo "smartd save files: [[disabled]]" >&AS_MESSAGE_FD
539 if test -n "$attributelog"; then
540 echo "smartd attribute logs: `eval eval eval echo $attributelog`MODEL-SERIAL.TYPE.csv" >&AS_MESSAGE_FD
542 echo "smartd attribute logs: [[disabled]]" >&AS_MESSAGE_FD
544 echo "libcap-ng support: $use_libcap_ng" >&AS_MESSAGE_FD
546 linux*) echo "SELinux support: ${with_selinux-no}" >&AS_MESSAGE_FD ;;
550 echo "-----------------------------------------------------------------------------" >&AS_MESSAGE_FD