version 1.1.1.2, 2012/10/09 09:36:45
|
version 1.1.1.4, 2013/10/14 07:54:03
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.68 for smartmontools 5.43. | # Generated by GNU Autoconf 2.69 for smartmontools 6.2. |
# |
# |
# Report bugs to <smartmontools-support@lists.sourceforge.net>. |
# Report bugs to <smartmontools-support@lists.sourceforge.net>. |
# |
# |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
# Foundation, Inc. | |
# |
# |
# |
# |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
Line 136 export LANGUAGE
|
Line 134 export LANGUAGE
|
# CDPATH. |
# CDPATH. |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
|
# Use a proper internal environment variable to ensure we don't fall |
|
# into an infinite loop, continuously re-executing ourselves. |
|
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
_as_can_reexec=no; export _as_can_reexec; |
|
# We cannot yet assume a decent shell, so we have to provide a |
|
# neutralization value for shells without unset; and this also |
|
# works around shells that cannot unset nonexistent variables. |
|
# Preserve -v and -x to the replacement shell. |
|
BASH_ENV=/dev/null |
|
ENV=/dev/null |
|
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
case $- in # (((( |
|
*v*x* | *x*v* ) as_opts=-vx ;; |
|
*v* ) as_opts=-v ;; |
|
*x* ) as_opts=-x ;; |
|
* ) as_opts= ;; |
|
esac |
|
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
# Admittedly, this is quite paranoid, since all the known shells bail |
|
# out after a failed `exec'. |
|
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
as_fn_exit 255 |
|
fi |
|
# We don't want this to propagate to other subprocesses. |
|
{ _as_can_reexec=; unset _as_can_reexec;} |
if test "x$CONFIG_SHELL" = x; then |
if test "x$CONFIG_SHELL" = x; then |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
emulate sh |
emulate sh |
Line 169 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
Line 192 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
else |
else |
exitcode=1; echo positional parameters were not saved. |
exitcode=1; echo positional parameters were not saved. |
fi |
fi |
test x\$exitcode = x0 || exit 1" | test x\$exitcode = x0 || exit 1 |
| test -x / || exit 1" |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
Line 214 IFS=$as_save_IFS
|
Line 238 IFS=$as_save_IFS
|
|
|
|
|
if test "x$CONFIG_SHELL" != x; then : |
if test "x$CONFIG_SHELL" != x; then : |
# We cannot yet assume a decent shell, so we have to provide a | export CONFIG_SHELL |
# neutralization value for shells without unset; and this also | # We cannot yet assume a decent shell, so we have to provide a |
# works around shells that cannot unset nonexistent variables. | # neutralization value for shells without unset; and this also |
# Preserve -v and -x to the replacement shell. | # works around shells that cannot unset nonexistent variables. |
BASH_ENV=/dev/null | # Preserve -v and -x to the replacement shell. |
ENV=/dev/null | BASH_ENV=/dev/null |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ENV=/dev/null |
export CONFIG_SHELL | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
case $- in # (((( | case $- in # (((( |
*v*x* | *x*v* ) as_opts=-vx ;; | *v*x* | *x*v* ) as_opts=-vx ;; |
*v* ) as_opts=-v ;; | *v* ) as_opts=-v ;; |
*x* ) as_opts=-x ;; | *x* ) as_opts=-x ;; |
* ) as_opts= ;; | * ) as_opts= ;; |
esac | esac |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| # Admittedly, this is quite paranoid, since all the known shells bail |
| # out after a failed `exec'. |
| $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| exit 255 |
fi |
fi |
|
|
if test x$as_have_required = xno; then : |
if test x$as_have_required = xno; then : |
Line 331 $as_echo X"$as_dir" |
|
Line 359 $as_echo X"$as_dir" |
|
|
|
|
|
} # as_fn_mkdir_p |
} # as_fn_mkdir_p |
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
# as_fn_append VAR VALUE |
# as_fn_append VAR VALUE |
# ---------------------- |
# ---------------------- |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
Line 452 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
Line 488 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
chmod +x "$as_me.lineno" || |
chmod +x "$as_me.lineno" || |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
|
|
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
# already done that, so ensure we don't try to do so again and fall |
|
# in an infinite loop. This has already happened in practice. |
|
_as_can_reexec=no; export _as_can_reexec |
# Don't try to exec as it changes $[0], causing all sort of problems |
# Don't try to exec as it changes $[0], causing all sort of problems |
# (the dirname of $[0] is not the place where we might find the |
# (the dirname of $[0] is not the place where we might find the |
# original and so on. Autoconf is especially sensitive to this). |
# original and so on. Autoconf is especially sensitive to this). |
Line 486 if (echo >conf$$.file) 2>/dev/null; then
|
Line 526 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 507 else
|
Line 547 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then | as_test_x='test -x' |
as_test_x='test -x' | as_executable_p=as_fn_executable_p |
else | |
if ls -dL / >/dev/null 2>&1; then | |
as_ls_L_option=L | |
else | |
as_ls_L_option= | |
fi | |
as_test_x=' | |
eval sh -c '\'' | |
if test -d "$1"; then | |
test -d "$1/."; | |
else | |
case $1 in #( | |
-*)set "./$1";; | |
esac; | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
???[sx]*):;;*)false;;esac;fi | |
'\'' sh | |
' | |
fi | |
as_executable_p=$as_test_x | |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
Line 560 MAKEFLAGS=
|
Line 580 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='smartmontools' |
PACKAGE_NAME='smartmontools' |
PACKAGE_TARNAME='smartmontools' |
PACKAGE_TARNAME='smartmontools' |
PACKAGE_VERSION='5.43' | PACKAGE_VERSION='6.2' |
PACKAGE_STRING='smartmontools 5.43' | PACKAGE_STRING='smartmontools 6.2' |
PACKAGE_BUGREPORT='smartmontools-support@lists.sourceforge.net' |
PACKAGE_BUGREPORT='smartmontools-support@lists.sourceforge.net' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 608 LTLIBOBJS
|
Line 628 LTLIBOBJS
|
LIBOBJS |
LIBOBJS |
OS_WIN64_FALSE |
OS_WIN64_FALSE |
OS_WIN64_TRUE |
OS_WIN64_TRUE |
OS_WIN32_WINDMC_FALSE |
|
OS_WIN32_WINDMC_TRUE |
|
OS_WIN32_NSIS_FALSE |
OS_WIN32_NSIS_FALSE |
OS_WIN32_NSIS_TRUE |
OS_WIN32_NSIS_TRUE |
OS_WIN32_MINGW_FALSE |
OS_WIN32_MINGW_FALSE |
Line 622 OS_DARWIN_FALSE
|
Line 640 OS_DARWIN_FALSE
|
OS_DARWIN_TRUE |
OS_DARWIN_TRUE |
DRIVEDB_BRANCH |
DRIVEDB_BRANCH |
os_man_filter |
os_man_filter |
|
os_nisdomainname |
|
os_dnsdomainname |
|
os_hostname |
|
os_mailer |
os_dltools |
os_dltools |
os_libs |
os_libs |
os_deps |
os_deps |
Line 1266 target=$target_alias
|
Line 1288 target=$target_alias
|
if test "x$host_alias" != x; then |
if test "x$host_alias" != x; then |
if test "x$build_alias" = x; then |
if test "x$build_alias" = x; then |
cross_compiling=maybe |
cross_compiling=maybe |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
If a cross compiler is detected then cross compile mode will be used" >&2 |
|
elif test "x$build_alias" != "x$host_alias"; then |
elif test "x$build_alias" != "x$host_alias"; then |
cross_compiling=yes |
cross_compiling=yes |
fi |
fi |
Line 1353 if test "$ac_init_help" = "long"; then
|
Line 1373 if test "$ac_init_help" = "long"; then
|
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
# This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
cat <<_ACEOF |
cat <<_ACEOF |
\`configure' configures smartmontools 5.43 to adapt to many kinds of systems. | \`configure' configures smartmontools 6.2 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1423 fi
|
Line 1443 fi
|
|
|
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
case $ac_init_help in |
case $ac_init_help in |
short | recursive ) echo "Configuration of smartmontools 5.43:";; | short | recursive ) echo "Configuration of smartmontools 6.2:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1431 Optional Features:
|
Line 1451 Optional Features:
|
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-maintainer-mode enable make rules and dependencies not useful | --enable-maintainer-mode |
(and sometimes confusing) to the casual installer | enable make rules and dependencies not useful (and |
--disable-dependency-tracking speeds up one-time build | sometimes confusing) to the casual installer |
--enable-dependency-tracking do not reject slow dependency extractors | --enable-dependency-tracking |
| do not reject slow dependency extractors |
| --disable-dependency-tracking |
| speeds up one-time build |
--disable-drivedb Disables drive database file |
--disable-drivedb Disables drive database file |
--enable-savestates Enables default smartd state files |
--enable-savestates Enables default smartd state files |
--enable-attributelog Enables default smartd attribute log files |
--enable-attributelog Enables default smartd attribute log files |
Line 1555 fi
|
Line 1578 fi
|
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
smartmontools configure 5.43 | smartmontools configure 6.2 |
generated by GNU Autoconf 2.68 | generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
_ACEOF |
_ACEOF |
Line 1645 fi
|
Line 1668 fi
|
|
|
} # ac_fn_c_try_compile |
} # ac_fn_c_try_compile |
|
|
# ac_fn_cxx_try_link LINENO |
|
# ------------------------- |
|
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
ac_fn_cxx_try_link () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { { ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_link") 2>conftest.err |
|
ac_status=$? |
|
if test -s conftest.err; then |
|
grep -v '^ *+' conftest.err >conftest.er1 |
|
cat conftest.er1 >&5 |
|
mv -f conftest.er1 conftest.err |
|
fi |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } && { |
|
test -z "$ac_cxx_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then : |
|
ac_retval=0 |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_retval=1 |
|
fi |
|
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
# interfere with the next link command; also delete a directory that is |
|
# left behind by Apple's compiler. We do this before executing the actions. |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
as_fn_set_status $ac_retval |
|
|
|
} # ac_fn_cxx_try_link |
|
|
|
# ac_fn_cxx_try_cpp LINENO |
# ac_fn_cxx_try_cpp LINENO |
# ------------------------ |
# ------------------------ |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
Line 1946 $as_echo "$ac_res" >&6; }
|
Line 1923 $as_echo "$ac_res" >&6; }
|
|
|
} # ac_fn_cxx_check_type |
} # ac_fn_cxx_check_type |
|
|
|
# ac_fn_cxx_try_link LINENO |
|
# ------------------------- |
|
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
ac_fn_cxx_try_link () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { { ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_link") 2>conftest.err |
|
ac_status=$? |
|
if test -s conftest.err; then |
|
grep -v '^ *+' conftest.err >conftest.er1 |
|
cat conftest.er1 >&5 |
|
mv -f conftest.er1 conftest.err |
|
fi |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } && { |
|
test -z "$ac_cxx_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
test -x conftest$ac_exeext |
|
}; then : |
|
ac_retval=0 |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_retval=1 |
|
fi |
|
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
# interfere with the next link command; also delete a directory that is |
|
# left behind by Apple's compiler. We do this before executing the actions. |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
as_fn_set_status $ac_retval |
|
|
|
} # ac_fn_cxx_try_link |
|
|
# ac_fn_cxx_check_func LINENO FUNC VAR |
# ac_fn_cxx_check_func LINENO FUNC VAR |
# ------------------------------------ |
# ------------------------------------ |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
Line 2016 cat >config.log <<_ACEOF
|
Line 2039 cat >config.log <<_ACEOF
|
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by smartmontools $as_me 5.43, which was | It was created by smartmontools $as_me 6.2, which was |
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
Line 2275 $as_echo "$as_me: loading site script $ac_site_file" >
|
Line 2298 $as_echo "$as_me: loading site script $ac_site_file" >
|
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error $? "failed to load site script $ac_site_file |
as_fn_error $? "failed to load site script $ac_site_file |
See \`config.log' for more details" "$LINENO" 5 ; } | See \`config.log' for more details" "$LINENO" 5; } |
fi |
fi |
done |
done |
|
|
Line 2368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 2391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
smartmontools_configure_date=`date -u +'%Y-%m-%d %T %Z'` |
smartmontools_configure_date=`date -u +'%Y-%m-%d %T %Z'` |
smartmontools_cvs_tag=`echo '$Id$'` |
smartmontools_cvs_tag=`echo '$Id$'` |
smartmontools_release_date=2012-06-30 | smartmontools_release_date=2013-07-26 |
smartmontools_release_time="14:03:01 UTC" | smartmontools_release_time="17:38:20 UTC" |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 2405 _ACEOF
|
Line 2428 _ACEOF
|
ac_config_headers="$ac_config_headers config.h" |
ac_config_headers="$ac_config_headers config.h" |
|
|
|
|
am__api_version='1.11' | am__api_version='1.12' |
|
|
ac_aux_dir= |
ac_aux_dir= |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
Line 2473 case $as_dir/ in #((
|
Line 2496 case $as_dir/ in #((
|
# by default. |
# by default. |
for ac_prog in ginstall scoinst install; do |
for ac_prog in ginstall scoinst install; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
if test $ac_prog = install && |
if test $ac_prog = install && |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
Line 2531 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
|
Line 2554 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
$as_echo_n "checking whether build environment is sane... " >&6; } |
# Just in case |
|
sleep 1 |
|
echo timestamp > conftest.file |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
# Reject unsafe characters in $srcdir or the absolute working directory |
# name. Accept space and tab only in the latter. |
# name. Accept space and tab only in the latter. |
am_lf=' |
am_lf=' |
' |
' |
case `pwd` in |
case `pwd` in |
*[\\\"\#\$\&\'\`$am_lf]*) |
*[\\\"\#\$\&\'\`$am_lf]*) |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
esac |
esac |
case $srcdir in |
case $srcdir in |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
esac |
esac |
|
|
# Do `set' in a subshell so we don't clobber the current shell's | # Do 'set' in a subshell so we don't clobber the current shell's |
# arguments. Must try -L first in case configure is actually a |
# arguments. Must try -L first in case configure is actually a |
# symlink; some systems play weird games with the mod time of symlinks |
# symlink; some systems play weird games with the mod time of symlinks |
# (eg FreeBSD returns the mod time of the symlink's containing |
# (eg FreeBSD returns the mod time of the symlink's containing |
# directory). |
# directory). |
if ( |
if ( |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | am_has_slept=no |
if test "$*" = "X"; then | for am_try in 1 2; do |
# -L didn't work. | echo "timestamp, slept: $am_has_slept" > conftest.file |
set X `ls -t "$srcdir/configure" conftest.file` | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
fi | if test "$*" = "X"; then |
rm -f conftest.file | # -L didn't work. |
if test "$*" != "X $srcdir/configure conftest.file" \ | set X `ls -t "$srcdir/configure" conftest.file` |
&& test "$*" != "X conftest.file $srcdir/configure"; then | fi |
| if test "$*" != "X $srcdir/configure conftest.file" \ |
| && test "$*" != "X conftest.file $srcdir/configure"; then |
|
|
# If neither matched, then we have a broken ls. This can happen | # If neither matched, then we have a broken ls. This can happen |
# if, for instance, CONFIG_SHELL is bash and it inherits a | # if, for instance, CONFIG_SHELL is bash and it inherits a |
# broken ls alias from the environment. This has actually | # broken ls alias from the environment. This has actually |
# happened. Such a system could not be considered "sane". | # happened. Such a system could not be considered "sane". |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
alias in your environment" "$LINENO" 5 | alias in your environment" "$LINENO" 5 |
fi | fi |
| if test "$2" = conftest.file || test $am_try -eq 2; then |
| break |
| fi |
| # Just in case. |
| sleep 1 |
| am_has_slept=yes |
| done |
test "$2" = conftest.file |
test "$2" = conftest.file |
) |
) |
then |
then |
Line 2581 Check your system clock" "$LINENO" 5
|
Line 2609 Check your system clock" "$LINENO" 5
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
$as_echo "yes" >&6; } |
$as_echo "yes" >&6; } |
|
# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
# generated files are strictly newer. |
|
am_sleep_pid= |
|
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
( sleep 1 ) & |
|
am_sleep_pid=$! |
|
fi |
|
|
|
rm -f conftest.file |
|
|
test "$program_prefix" != NONE && |
test "$program_prefix" != NONE && |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
# Use a double $ so make ignores it. |
# Use a double $ so make ignores it. |
Line 2607 if eval "$MISSING --run true"; then
|
Line 2645 if eval "$MISSING --run true"; then
|
am_missing_run="$MISSING --run " |
am_missing_run="$MISSING --run " |
else |
else |
am_missing_run= |
am_missing_run= |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
fi |
fi |
|
|
if test x"${install_sh}" != xset; then |
if test x"${install_sh}" != xset; then |
Line 2620 if test x"${install_sh}" != xset; then
|
Line 2658 if test x"${install_sh}" != xset; then
|
esac |
esac |
fi |
fi |
|
|
# Installed binaries are usually stripped using `strip' when the user | # Installed binaries are usually stripped using 'strip' when the user |
# run `make install-strip'. However `strip' might not be the right | # run "make install-strip". However 'strip' might not be the right |
# tool to use in cross-compilation environments, therefore Automake |
# tool to use in cross-compilation environments, therefore Automake |
# will honor the `STRIP' environment variable to overrule this program. | # will honor the 'STRIP' environment variable to overrule this program. |
if test "$cross_compiling" != no; then |
if test "$cross_compiling" != no; then |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
Line 2642 do
|
Line 2680 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 2682 do
|
Line 2720 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_STRIP="strip" |
ac_cv_prog_ac_ct_STRIP="strip" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 2733 do
|
Line 2771 do
|
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_prog in mkdir gmkdir; do |
for ac_prog in mkdir gmkdir; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
'mkdir (GNU coreutils) '* | \ |
'mkdir (GNU coreutils) '* | \ |
'mkdir (coreutils) '* | \ |
'mkdir (coreutils) '* | \ |
Line 2762 fi
|
Line 2800 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
$as_echo "$MKDIR_P" >&6; } |
$as_echo "$MKDIR_P" >&6; } |
|
|
mkdir_p="$MKDIR_P" |
|
case $mkdir_p in |
|
[\\/$]* | ?:[\\/]*) ;; |
|
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
esac |
|
|
|
for ac_prog in gawk mawk nawk awk |
for ac_prog in gawk mawk nawk awk |
do |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
Line 2786 do
|
Line 2818 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_AWK="$ac_prog" |
ac_cv_prog_AWK="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 2872 fi
|
Line 2904 fi
|
|
|
# Define the identity of the package. |
# Define the identity of the package. |
PACKAGE='smartmontools' |
PACKAGE='smartmontools' |
VERSION='5.43' | VERSION='6.2' |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 2900 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
Line 2932 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
|
# For better backward compatibility. To be removed once Automake 1.9.x |
|
# dies out for good. For more background, see: |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
mkdir_p='$(MKDIR_P)' |
|
|
# We need awk for the "check" target. The system "awk" is bad on |
# We need awk for the "check" target. The system "awk" is bad on |
# some platforms. |
# some platforms. |
# Always define AMTAR for backward compatibility. Yes, it's still used |
# Always define AMTAR for backward compatibility. Yes, it's still used |
Line 2971 do
|
Line 3009 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3015 do
|
Line 3053 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3167 sed 's/^/| /' conftest.$ac_ext >&5
|
Line 3205 sed 's/^/| /' conftest.$ac_ext >&5
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error 77 "C++ compiler cannot create executables |
as_fn_error 77 "C++ compiler cannot create executables |
See \`config.log' for more details" "$LINENO" 5 ; } | See \`config.log' for more details" "$LINENO" 5; } |
else |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
$as_echo "yes" >&6; } |
$as_echo "yes" >&6; } |
Line 3210 else
|
Line 3248 else
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
See \`config.log' for more details" "$LINENO" 5 ; } | See \`config.log' for more details" "$LINENO" 5; } |
fi |
fi |
rm -f conftest conftest$ac_cv_exeext |
rm -f conftest conftest$ac_cv_exeext |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
Line 3269 $as_echo "$ac_try_echo"; } >&5
|
Line 3307 $as_echo "$ac_try_echo"; } >&5
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error $? "cannot run C++ compiled programs. |
as_fn_error $? "cannot run C++ compiled programs. |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
See \`config.log' for more details" "$LINENO" 5 ; } | See \`config.log' for more details" "$LINENO" 5; } |
fi |
fi |
fi |
fi |
fi |
fi |
Line 3321 sed 's/^/| /' conftest.$ac_ext >&5
|
Line 3359 sed 's/^/| /' conftest.$ac_ext >&5
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
See \`config.log' for more details" "$LINENO" 5 ; } | See \`config.log' for more details" "$LINENO" 5; } |
fi |
fi |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
fi |
fi |
Line 3468 am__quote=
|
Line 3506 am__quote=
|
_am_result=none |
_am_result=none |
# First try GNU make style include. |
# First try GNU make style include. |
echo "include confinc" > confmf |
echo "include confinc" > confmf |
# Ignore all kinds of additional output from `make'. | # Ignore all kinds of additional output from 'make'. |
case `$am_make -s -f confmf 2> /dev/null` in #( |
case `$am_make -s -f confmf 2> /dev/null` in #( |
*the\ am__doit\ target*) |
*the\ am__doit\ target*) |
am__include=include |
am__include=include |
Line 3524 else
|
Line 3562 else
|
# We make a subdir and do the tests there. Otherwise we can end up |
# We make a subdir and do the tests there. Otherwise we can end up |
# making bogus files that we don't know about and never remove. For |
# making bogus files that we don't know about and never remove. For |
# instance it was reported that on HP-UX the gcc test will end up |
# instance it was reported that on HP-UX the gcc test will end up |
# making a dummy file named `D' -- because `-MD' means `put the output | # making a dummy file named 'D' -- because '-MD' means "put the output |
# in D'. | # in D". |
rm -rf conftest.dir |
rm -rf conftest.dir |
mkdir conftest.dir |
mkdir conftest.dir |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# Copy depcomp to subdir because otherwise we won't find it if we're |
Line 3560 else
|
Line 3598 else
|
: > sub/conftest.c |
: > sub/conftest.c |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
# Solaris 8's {/usr,}/bin/sh. | # Solaris 10 /bin/sh. |
touch sub/conftst$i.h | echo '/* dummy */' > sub/conftst$i.h |
done |
done |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
# mode. It turns out that the SunPro C++ compiler does not properly |
# mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. Also, some Intel | # handle '-M -o', and we need to detect this. Also, some Intel |
# versions had trouble with output in subdirs | # versions had trouble with output in subdirs. |
am__obj=sub/conftest.${OBJEXT-o} |
am__obj=sub/conftest.${OBJEXT-o} |
am__minus_obj="-o $am__obj" |
am__minus_obj="-o $am__obj" |
case $depmode in |
case $depmode in |
Line 3578 else
|
Line 3616 else
|
test "$am__universal" = false || continue |
test "$am__universal" = false || continue |
;; |
;; |
nosideeffect) |
nosideeffect) |
# after this tag, mechanisms are not by side-effect, so they'll | # After this tag, mechanisms are not by side-effect, so they'll |
# only be used when explicitly requested | # only be used when explicitly requested. |
if test "x$enable_dependency_tracking" = xyes; then |
if test "x$enable_dependency_tracking" = xyes; then |
continue |
continue |
else |
else |
Line 3587 else
|
Line 3625 else
|
fi |
fi |
;; |
;; |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
# This compiler won't grok `-c -o', but also, the minuso test has | # This compiler won't grok '-c -o', but also, the minuso test has |
# not run yet. These depmodes are late enough in the game, and |
# not run yet. These depmodes are late enough in the game, and |
# so weak that their functioning should not be impacted. |
# so weak that their functioning should not be impacted. |
am__obj=conftest.${OBJEXT-o} |
am__obj=conftest.${OBJEXT-o} |
Line 3663 do
|
Line 3701 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3703 do
|
Line 3741 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_CC="gcc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3756 do
|
Line 3794 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3797 do
|
Line 3835 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
ac_prog_rejected=yes |
ac_prog_rejected=yes |
continue |
continue |
Line 3855 do
|
Line 3893 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3899 do
|
Line 3937 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3942 fi
|
Line 3980 fi
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error $? "no acceptable C compiler found in \$PATH |
as_fn_error $? "no acceptable C compiler found in \$PATH |
See \`config.log' for more details" "$LINENO" 5 ; } | See \`config.log' for more details" "$LINENO" 5; } |
|
|
# Provide some information about the compiler. |
# Provide some information about the compiler. |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
Line 4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <stdarg.h> |
#include <stdarg.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <sys/types.h> | struct stat; |
#include <sys/stat.h> | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
struct buf { int x; }; |
struct buf { int x; }; |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
Line 4192 else
|
Line 4229 else
|
# We make a subdir and do the tests there. Otherwise we can end up |
# We make a subdir and do the tests there. Otherwise we can end up |
# making bogus files that we don't know about and never remove. For |
# making bogus files that we don't know about and never remove. For |
# instance it was reported that on HP-UX the gcc test will end up |
# instance it was reported that on HP-UX the gcc test will end up |
# making a dummy file named `D' -- because `-MD' means `put the output | # making a dummy file named 'D' -- because '-MD' means "put the output |
# in D'. | # in D". |
rm -rf conftest.dir |
rm -rf conftest.dir |
mkdir conftest.dir |
mkdir conftest.dir |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# Copy depcomp to subdir because otherwise we won't find it if we're |
Line 4228 else
|
Line 4265 else
|
: > sub/conftest.c |
: > sub/conftest.c |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
# Solaris 8's {/usr,}/bin/sh. | # Solaris 10 /bin/sh. |
touch sub/conftst$i.h | echo '/* dummy */' > sub/conftst$i.h |
done |
done |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
# mode. It turns out that the SunPro C++ compiler does not properly |
# mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. Also, some Intel | # handle '-M -o', and we need to detect this. Also, some Intel |
# versions had trouble with output in subdirs | # versions had trouble with output in subdirs. |
am__obj=sub/conftest.${OBJEXT-o} |
am__obj=sub/conftest.${OBJEXT-o} |
am__minus_obj="-o $am__obj" |
am__minus_obj="-o $am__obj" |
case $depmode in |
case $depmode in |
Line 4246 else
|
Line 4283 else
|
test "$am__universal" = false || continue |
test "$am__universal" = false || continue |
;; |
;; |
nosideeffect) |
nosideeffect) |
# after this tag, mechanisms are not by side-effect, so they'll | # After this tag, mechanisms are not by side-effect, so they'll |
# only be used when explicitly requested | # only be used when explicitly requested. |
if test "x$enable_dependency_tracking" = xyes; then |
if test "x$enable_dependency_tracking" = xyes; then |
continue |
continue |
else |
else |
Line 4255 else
|
Line 4292 else
|
fi |
fi |
;; |
;; |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
# This compiler won't grok `-c -o', but also, the minuso test has | # This compiler won't grok '-c -o', but also, the minuso test has |
# not run yet. These depmodes are late enough in the game, and |
# not run yet. These depmodes are late enough in the game, and |
# so weak that their functioning should not be impacted. |
# so weak that their functioning should not be impacted. |
am__obj=conftest.${OBJEXT-o} |
am__obj=conftest.${OBJEXT-o} |
Line 4327 else
|
Line 4364 else
|
# We make a subdir and do the tests there. Otherwise we can end up |
# We make a subdir and do the tests there. Otherwise we can end up |
# making bogus files that we don't know about and never remove. For |
# making bogus files that we don't know about and never remove. For |
# instance it was reported that on HP-UX the gcc test will end up |
# instance it was reported that on HP-UX the gcc test will end up |
# making a dummy file named `D' -- because `-MD' means `put the output | # making a dummy file named 'D' -- because '-MD' means "put the output |
# in D'. | # in D". |
rm -rf conftest.dir |
rm -rf conftest.dir |
mkdir conftest.dir |
mkdir conftest.dir |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# Copy depcomp to subdir because otherwise we won't find it if we're |
Line 4361 else
|
Line 4398 else
|
: > sub/conftest.c |
: > sub/conftest.c |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
# Solaris 8's {/usr,}/bin/sh. | # Solaris 10 /bin/sh. |
touch sub/conftst$i.h | echo '/* dummy */' > sub/conftst$i.h |
done |
done |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
# mode. It turns out that the SunPro C++ compiler does not properly |
# mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. Also, some Intel | # handle '-M -o', and we need to detect this. Also, some Intel |
# versions had trouble with output in subdirs | # versions had trouble with output in subdirs. |
am__obj=sub/conftest.${OBJEXT-o} |
am__obj=sub/conftest.${OBJEXT-o} |
am__minus_obj="-o $am__obj" |
am__minus_obj="-o $am__obj" |
case $depmode in |
case $depmode in |
Line 4379 else
|
Line 4416 else
|
test "$am__universal" = false || continue |
test "$am__universal" = false || continue |
;; |
;; |
nosideeffect) |
nosideeffect) |
# after this tag, mechanisms are not by side-effect, so they'll | # After this tag, mechanisms are not by side-effect, so they'll |
# only be used when explicitly requested | # only be used when explicitly requested. |
if test "x$enable_dependency_tracking" = xyes; then |
if test "x$enable_dependency_tracking" = xyes; then |
continue |
continue |
else |
else |
Line 4388 else
|
Line 4425 else
|
fi |
fi |
;; |
;; |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
# This compiler won't grok `-c -o', but also, the minuso test has | # This compiler won't grok '-c -o', but also, the minuso test has |
# not run yet. These depmodes are late enough in the game, and |
# not run yet. These depmodes are late enough in the game, and |
# so weak that their functioning should not be impacted. |
# so weak that their functioning should not be impacted. |
am__obj=conftest.${OBJEXT-o} |
am__obj=conftest.${OBJEXT-o} |
Line 4472 do
|
Line 4509 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 4515 do
|
Line 4552 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 4594 fi
|
Line 4631 fi
|
$as_echo "$ac_cv_build" >&6; } |
$as_echo "$ac_cv_build" >&6; } |
case $ac_cv_build in |
case $ac_cv_build in |
*-*-*) ;; |
*-*-*) ;; |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
esac |
esac |
build=$ac_cv_build |
build=$ac_cv_build |
ac_save_IFS=$IFS; IFS='-' |
ac_save_IFS=$IFS; IFS='-' |
Line 4627 fi
|
Line 4664 fi
|
$as_echo "$ac_cv_host" >&6; } |
$as_echo "$ac_cv_host" >&6; } |
case $ac_cv_host in |
case $ac_cv_host in |
*-*-*) ;; |
*-*-*) ;; |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
esac |
esac |
host=$ac_cv_host |
host=$ac_cv_host |
ac_save_IFS=$IFS; IFS='-' |
ac_save_IFS=$IFS; IFS='-' |
Line 4650 case "${host}" in
|
Line 4687 case "${host}" in
|
/usr/bin/uname | grep -i '^CYGWIN' >/dev/null; then |
/usr/bin/uname | grep -i '^CYGWIN' >/dev/null; then |
as_fn_error $? "Build with MinGW on Cygwin requires cross-compilation, see INSTALL file." "$LINENO" 5 |
as_fn_error $? "Build with MinGW on Cygwin requires cross-compilation, see INSTALL file." "$LINENO" 5 |
fi |
fi |
for ac_prog in ${host}-windmc windmc | if test -n "$ac_tool_prefix"; then |
do | # Extract the first word of "${ac_tool_prefix}windmc", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. | set dummy ${ac_tool_prefix}windmc; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_WINDMC+:} false; then : |
if ${ac_cv_prog_WINDMC+:} false; then : |
Line 4668 do
|
Line 4704 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_WINDMC="$ac_prog" | ac_cv_prog_WINDMC="${ac_tool_prefix}windmc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
Line 4689 $as_echo "no" >&6; }
|
Line 4725 $as_echo "no" >&6; }
|
fi |
fi |
|
|
|
|
test -n "$WINDMC" && break | fi |
| if test -z "$ac_cv_prog_WINDMC"; then |
| ac_ct_WINDMC=$WINDMC |
| # Extract the first word of "windmc", so it can be a program name with args. |
| set dummy windmc; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_ac_ct_WINDMC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$ac_ct_WINDMC"; then |
| ac_cv_prog_ac_ct_WINDMC="$ac_ct_WINDMC" # Let the user override the test. |
| else |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| for as_dir in $PATH |
| do |
| IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
| if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_WINDMC="windmc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
| fi |
done |
done |
|
done |
|
IFS=$as_save_IFS |
|
|
for ac_prog in ${host}-windres windres | fi |
do | fi |
# Extract the first word of "$ac_prog", so it can be a program name with args. | ac_ct_WINDMC=$ac_cv_prog_ac_ct_WINDMC |
set dummy $ac_prog; ac_word=$2 | if test -n "$ac_ct_WINDMC"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDMC" >&5 |
| $as_echo "$ac_ct_WINDMC" >&6; } |
| else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
| fi |
| |
| if test "x$ac_ct_WINDMC" = x; then |
| WINDMC="" |
| else |
| case $cross_compiling:$ac_tool_warned in |
| yes:) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| ac_tool_warned=yes ;; |
| esac |
| WINDMC=$ac_ct_WINDMC |
| fi |
| else |
| WINDMC="$ac_cv_prog_WINDMC" |
| fi |
| |
| if test -n "$ac_tool_prefix"; then |
| # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. |
| set dummy ${ac_tool_prefix}windres; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_WINDRES+:} false; then : |
if ${ac_cv_prog_WINDRES+:} false; then : |
Line 4710 do
|
Line 4796 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_WINDRES="$ac_prog" | ac_cv_prog_WINDRES="${ac_tool_prefix}windres" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
Line 4731 $as_echo "no" >&6; }
|
Line 4817 $as_echo "no" >&6; }
|
fi |
fi |
|
|
|
|
test -n "$WINDRES" && break | fi |
| if test -z "$ac_cv_prog_WINDRES"; then |
| ac_ct_WINDRES=$WINDRES |
| # Extract the first word of "windres", so it can be a program name with args. |
| set dummy windres; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$ac_ct_WINDRES"; then |
| ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. |
| else |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| for as_dir in $PATH |
| do |
| IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
| if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_WINDRES="windres" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
| fi |
done |
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES |
|
if test -n "$ac_ct_WINDRES"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 |
|
$as_echo "$ac_ct_WINDRES" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_WINDRES" = x; then |
|
WINDRES="" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
WINDRES=$ac_ct_WINDRES |
|
fi |
|
else |
|
WINDRES="$ac_cv_prog_WINDRES" |
|
fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for makensis" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for makensis" >&5 |
$as_echo_n "checking checking for makensis... " >&6; } |
$as_echo_n "checking checking for makensis... " >&6; } |
if test -z "$MAKENSIS"; then |
if test -z "$MAKENSIS"; then |
Line 4754 esac
|
Line 4891 esac
|
$as_echo_n "checking whether this is a build from SVN... " >&6; } |
$as_echo_n "checking whether this is a build from SVN... " >&6; } |
is_svn_build=no |
is_svn_build=no |
svn_deps= |
svn_deps= |
if test -f "$srcdir/.svn/entries"; then | if test -f "$srcdir/.svn/wc.db"; then |
| # SVN 1.7, 1.8 working copy |
| svn_deps='${srcdir}/.svn/wc.db' |
| elif test -f "${srcdir}/.svn/entries"; then |
| # SVN <= 1.6 working copy (SVN 1.7 has empty entries file) |
| svn_deps='${srcdir}/.svn/entries' |
| fi |
| if test -n "$svn_deps"; then |
is_svn_build=unknown |
is_svn_build=unknown |
if (cd "$srcdir" && svn --version && svnversion && svn info) >/dev/null 2>&1; then |
if (cd "$srcdir" && svn --version && svnversion && svn info) >/dev/null 2>&1; then |
is_svn_build=yes |
is_svn_build=yes |
svn_deps='${srcdir}/.svn/entries' |
|
# SVN 1.7 working copy? |
|
test -f "$srcdir/.svn/wc.db" && svn_deps='${srcdir}/.svn/wc.db' |
|
fi |
fi |
fi |
fi |
|
|
Line 4775 fi
|
Line 4916 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $is_svn_build" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $is_svn_build" >&5 |
$as_echo "$is_svn_build" >&6; } |
$as_echo "$is_svn_build" >&6; } |
|
|
# AC_SEARCH_LIBS (FUNCTION, SEARCH-LIBS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [OTHER-LIBRARIES]) |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
|
if ${ac_cv_search_socket+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_func_search_save_LIBS=$LIBS |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char socket (); |
|
int |
|
main () |
|
{ |
|
return socket (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' socket; do |
|
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
if ac_fn_cxx_try_link "$LINENO"; then : |
|
ac_cv_search_socket=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_socket+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_socket+:} false; then : |
|
|
|
else |
|
ac_cv_search_socket=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
|
$as_echo "$ac_cv_search_socket" >&6; } |
|
ac_res=$ac_cv_search_socket |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
|
$as_echo_n "checking for library containing gethostbyname... " >&6; } |
|
if ${ac_cv_search_gethostbyname+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_func_search_save_LIBS=$LIBS |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char gethostbyname (); |
|
int |
|
main () |
|
{ |
|
return gethostbyname (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' nsl; do |
|
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
if ac_fn_cxx_try_link "$LINENO"; then : |
|
ac_cv_search_gethostbyname=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_gethostbyname+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_gethostbyname+:} false; then : |
|
|
|
else |
|
ac_cv_search_gethostbyname=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 |
|
$as_echo "$ac_cv_search_gethostbyname" >&6; } |
|
ac_res=$ac_cv_search_gethostbyname |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
|
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
|
if ${ac_cv_search_getaddrinfo+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_func_search_save_LIBS=$LIBS |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char getaddrinfo (); |
|
int |
|
main () |
|
{ |
|
return getaddrinfo (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' nsl; do |
|
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
if ac_fn_cxx_try_link "$LINENO"; then : |
|
ac_cv_search_getaddrinfo=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_getaddrinfo+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_getaddrinfo+:} false; then : |
|
|
|
else |
|
ac_cv_search_getaddrinfo=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
|
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
|
ac_res=$ac_cv_search_getaddrinfo |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getdomainname" >&5 |
|
$as_echo_n "checking for library containing getdomainname... " >&6; } |
|
if ${ac_cv_search_getdomainname+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_func_search_save_LIBS=$LIBS |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char getdomainname (); |
|
int |
|
main () |
|
{ |
|
return getdomainname (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' nsl; do |
|
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
if ac_fn_cxx_try_link "$LINENO"; then : |
|
ac_cv_search_getdomainname=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_getdomainname+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_getdomainname+:} false; then : |
|
|
|
else |
|
ac_cv_search_getdomainname=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getdomainname" >&5 |
|
$as_echo "$ac_cv_search_getdomainname" >&6; } |
|
ac_res=$ac_cv_search_getdomainname |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
fi |
|
|
|
|
|
# Note: On Linux, clock_gettime() requires -lrt which implies -lpthreads |
# Note: On Linux, clock_gettime() requires -lrt which implies -lpthreads |
# Check ommitted for now, gettimeofday() provides reasonable precision |
# Check ommitted for now, gettimeofday() provides reasonable precision |
# AC_SEARCH_LIBS(clock_gettime, rt) |
# AC_SEARCH_LIBS(clock_gettime, rt) |
|
|
|
|
ac_ext=cpp |
ac_ext=cpp |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Line 5130 else
|
Line 5045 else
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
See \`config.log' for more details" "$LINENO" 5 ; } | See \`config.log' for more details" "$LINENO" 5; } |
fi |
fi |
|
|
ac_ext=cpp |
ac_ext=cpp |
Line 5156 do
|
Line 5071 do
|
for ac_prog in grep ggrep; do |
for ac_prog in grep ggrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | as_fn_executable_p "$ac_path_GREP" || continue |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU $ac_path_GREP |
# Check for GNU $ac_path_GREP |
case `"$ac_path_GREP" --version 2>&1` in |
case `"$ac_path_GREP" --version 2>&1` in |
Line 5222 do
|
Line 5137 do
|
for ac_prog in egrep; do |
for ac_prog in egrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | as_fn_executable_p "$ac_path_EGREP" || continue |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU $ac_path_EGREP |
# Check for GNU $ac_path_EGREP |
case `"$ac_path_EGREP" --version 2>&1` in |
case `"$ac_path_EGREP" --version 2>&1` in |
Line 5655 else
|
Line 5570 else
|
fi |
fi |
|
|
|
|
for ac_func in getdomainname |
|
do : |
|
ac_fn_cxx_check_func "$LINENO" "getdomainname" "ac_cv_func_getdomainname" |
|
if test "x$ac_cv_func_getdomainname" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_GETDOMAINNAME 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
for ac_func in gethostname |
|
do : |
|
ac_fn_cxx_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" |
|
if test "x$ac_cv_func_gethostname" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_GETHOSTNAME 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
for ac_func in getaddrinfo |
|
do : |
|
ac_fn_cxx_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_GETADDRINFO 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
for ac_func in gethostbyname |
|
do : |
|
ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
|
if test "x$ac_cv_func_gethostbyname" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_GETHOSTBYNAME 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
for ac_func in sigset |
for ac_func in sigset |
do : |
do : |
ac_fn_cxx_check_func "$LINENO" "sigset" "ac_cv_func_sigset" |
ac_fn_cxx_check_func "$LINENO" "sigset" "ac_cv_func_sigset" |
Line 5967 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confde
|
Line 5838 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confde
|
;; #( |
;; #( |
*) |
*) |
as_fn_error $? "unknown endianness |
as_fn_error $? "unknown endianness |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
esac |
esac |
|
|
|
|
Line 6064 $as_echo_n "checking for systemdsystemunitdir... " >&6
|
Line 5935 $as_echo_n "checking for systemdsystemunitdir... " >&6
|
$as_echo "${systemdsystemunitdir:-no}" >&6; } |
$as_echo "${systemdsystemunitdir:-no}" >&6; } |
fi |
fi |
case "$with_systemdsystemunitdir:$sysconfdir:$systemdsystemunitdir" in |
case "$with_systemdsystemunitdir:$sysconfdir:$systemdsystemunitdir" in |
yes:*:) as_fn_error $? "Location of systemd service files not found" "$LINENO" 5 ;; | yes:*:) as_fn_error $? "Location of systemd service files not found" "$LINENO" 5 ;; |
yes:*:*|auto:*:|auto:/etc:*) ;; |
yes:*:*|auto:*:|auto:/etc:*) ;; |
*) systemdsystemunitdir='${prefix}'$systemdsystemunitdir ;; |
*) systemdsystemunitdir='${prefix}'$systemdsystemunitdir ;; |
esac ;; |
esac ;; |
Line 6104 $as_echo_n "checking for init (rc) directory... " >&6;
|
Line 5975 $as_echo_n "checking for init (rc) directory... " >&6;
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${initddir:-no}" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${initddir:-no}" >&5 |
$as_echo "${initddir:-no}" >&6; } |
$as_echo "${initddir:-no}" >&6; } |
case "$with_initscriptdir:$initddir" in |
case "$with_initscriptdir:$initddir" in |
yes:) as_fn_error $? "Location of init scripts not found" "$LINENO" 5 ;; | yes:) as_fn_error $? "Location of init scripts not found" "$LINENO" 5 ;; |
esac ;; |
esac ;; |
auto:*|no:*) ;; |
auto:*|no:*) ;; |
*) initddir="$with_initscriptdir" ;; |
*) initddir="$with_initscriptdir" ;; |
Line 6247 if test "${with_os_deps+set}" = set; then :
|
Line 6118 if test "${with_os_deps+set}" = set; then :
|
withval=$with_os_deps; for x in $with_os_deps; do |
withval=$with_os_deps; for x in $with_os_deps; do |
case $x in |
case $x in |
*.o) ;; |
*.o) ;; |
*) as_fn_error $? "non-object file specified by --with-os-deps" "$LINENO" 5 ;; | *) as_fn_error $? "non-object file specified by --with-os-deps" "$LINENO" 5 ;; |
esac |
esac |
done |
done |
|
|
Line 6428 releaseversion='${PACKAGE}-${VERSION}'
|
Line 6299 releaseversion='${PACKAGE}-${VERSION}'
|
# Set platform-specific modules and symbols |
# Set platform-specific modules and symbols |
os_libs= |
os_libs= |
os_dltools='curl wget lynx' |
os_dltools='curl wget lynx' |
os_mailer= | os_mailer=mail |
| os_hostname="'hostname'" |
| os_dnsdomainname= |
| os_nisdomainname="'domainname'" |
os_darwin=no |
os_darwin=no |
os_solaris=no |
os_solaris=no |
os_win32=no |
os_win32=no |
Line 6437 os_win64=no
|
Line 6311 os_win64=no
|
os_man_filter= |
os_man_filter= |
case "${host}" in |
case "${host}" in |
*-*-linux*) |
*-*-linux*) |
os_deps='os_linux.o cciss.o' | os_deps='os_linux.o cciss.o dev_areca.o' |
| os_dnsdomainname="'dnsdomainname' 'hostname -d'" |
| os_nisdomainname="'nisdomainname' 'hostname -y' 'domainname'" |
os_man_filter=Linux |
os_man_filter=Linux |
;; |
;; |
*-*-freebsd*|*-*-dragonfly*|*-*-kfreebsd*-gnu*) |
*-*-freebsd*|*-*-dragonfly*|*-*-kfreebsd*-gnu*) |
os_deps='os_freebsd.o cciss.o' | os_deps='os_freebsd.o cciss.o dev_areca.o' |
os_libs='-lcam' |
os_libs='-lcam' |
os_dltools='curl wget lynx fetch' |
os_dltools='curl wget lynx fetch' |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb20_dev_get_device_desc in -lusb" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb20_dev_get_device_desc in -lusb" >&5 |
Line 6515 fi
|
Line 6391 fi
|
os_man_filter=OpenBSD |
os_man_filter=OpenBSD |
;; |
;; |
*-*-cygwin*) |
*-*-cygwin*) |
os_deps='os_win32.o' | os_deps='os_win32.o dev_areca.o' |
| os_hostname="'hostname' 'echo "'"${HOSTNAME?unset}"'"'" |
| os_dnsdomainname="'dnsdomainname' 'hostname -d' 'echo "'"${USERDNSDOMAIN?unset}"'"'" |
| os_nisdomainname= |
os_win32=yes |
os_win32=yes |
os_man_filter=Cygwin |
os_man_filter=Cygwin |
;; |
;; |
x86_64-*-mingw*) |
x86_64-*-mingw*) |
os_deps='os_win32.o' | os_deps='os_win32.o dev_areca.o' |
os_win32=yes |
os_win32=yes |
os_win32_mingw=yes |
os_win32_mingw=yes |
os_win64=yes |
os_win64=yes |
os_man_filter=Windows |
os_man_filter=Windows |
;; |
;; |
*-*-mingw*) |
*-*-mingw*) |
os_deps='os_win32.o' | os_deps='os_win32.o dev_areca.o' |
os_win32=yes |
os_win32=yes |
os_win32_mingw=yes |
os_win32_mingw=yes |
os_man_filter=Windows |
os_man_filter=Windows |
Line 6569 $as_echo "$os_new_interface" >&6; }
|
Line 6448 $as_echo "$os_new_interface" >&6; }
|
|
|
|
|
|
|
if test -n "$os_mailer"; then |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define DEFAULT_MAILER "$os_mailer" |
|
_ACEOF |
|
|
|
fi |
|
|
|
|
|
|
|
# Create drivedb.h update branch name from version: 5.41[.X] -> RELEASE_5_41_DRIVEDB |
# Create drivedb.h update branch name from version: 5.41[.X] -> RELEASE_5_41_DRIVEDB |
DRIVEDB_BRANCH=`echo $VERSION | sed 's,^\([0-9]*\.[0-9]*\)\..*$,\1,' \ |
DRIVEDB_BRANCH=`echo $VERSION | sed 's,^\([0-9]*\.[0-9]*\)\..*$,\1,' \ |
| sed -n 's,^\([0-9][0-9]*\)\.\([0-9][0-9]*\)$,RELEASE_\1_\2_DRIVEDB,p'` |
| sed -n 's,^\([0-9][0-9]*\)\.\([0-9][0-9]*\)$,RELEASE_\1_\2_DRIVEDB,p'` |
Line 6626 else
|
Line 6502 else
|
OS_WIN32_NSIS_FALSE= |
OS_WIN32_NSIS_FALSE= |
fi |
fi |
|
|
if test -n "$WINDMC" && test "$WINDMC" != "no" && test -n "$WINDRES"; then |
|
OS_WIN32_WINDMC_TRUE= |
|
OS_WIN32_WINDMC_FALSE='#' |
|
else |
|
OS_WIN32_WINDMC_TRUE='#' |
|
OS_WIN32_WINDMC_FALSE= |
|
fi |
|
|
|
if test "$os_win64" = "yes"; then |
if test "$os_win64" = "yes"; then |
OS_WIN64_TRUE= |
OS_WIN64_TRUE= |
OS_WIN64_FALSE='#' |
OS_WIN64_FALSE='#' |
Line 6789 LIBOBJS=$ac_libobjs
|
Line 6657 LIBOBJS=$ac_libobjs
|
LTLIBOBJS=$ac_ltlibobjs |
LTLIBOBJS=$ac_ltlibobjs |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
if test -n "$am_sleep_pid"; then |
|
# Hide warnings about reused PIDs. |
|
wait $am_sleep_pid 2>/dev/null |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
$as_echo "done" >&6; } |
if test -n "$EXEEXT"; then |
if test -n "$EXEEXT"; then |
am__EXEEXT_TRUE= |
am__EXEEXT_TRUE= |
am__EXEEXT_FALSE='#' |
am__EXEEXT_FALSE='#' |
Line 6874 if test -z "${OS_WIN32_NSIS_TRUE}" && test -z "${OS_WI
|
Line 6750 if test -z "${OS_WIN32_NSIS_TRUE}" && test -z "${OS_WI
|
as_fn_error $? "conditional \"OS_WIN32_NSIS\" was never defined. |
as_fn_error $? "conditional \"OS_WIN32_NSIS\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
fi |
if test -z "${OS_WIN32_WINDMC_TRUE}" && test -z "${OS_WIN32_WINDMC_FALSE}"; then |
|
as_fn_error $? "conditional \"OS_WIN32_WINDMC\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${OS_WIN64_TRUE}" && test -z "${OS_WIN64_FALSE}"; then |
if test -z "${OS_WIN64_TRUE}" && test -z "${OS_WIN64_FALSE}"; then |
as_fn_error $? "conditional \"OS_WIN64\" was never defined. |
as_fn_error $? "conditional \"OS_WIN64\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Line 7180 if (echo >conf$$.file) 2>/dev/null; then
|
Line 7052 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 7249 else
|
Line 7121 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then |
|
as_test_x='test -x' |
|
else |
|
if ls -dL / >/dev/null 2>&1; then |
|
as_ls_L_option=L |
|
else |
|
as_ls_L_option= |
|
fi |
|
as_test_x=' |
|
eval sh -c '\'' |
|
if test -d "$1"; then |
|
test -d "$1/."; |
|
else |
|
case $1 in #( |
|
-*)set "./$1";; |
|
esac; |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
???[sx]*):;;*)false;;esac;fi |
|
'\'' sh |
|
' |
|
fi |
|
as_executable_p=$as_test_x |
|
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
|
as_test_x='test -x' |
|
as_executable_p=as_fn_executable_p |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
Line 7291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 7151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by smartmontools $as_me 5.43, which was | This file was extended by smartmontools $as_me 6.2, which was |
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
Line 7357 _ACEOF
|
Line 7217 _ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
ac_cs_version="\\ |
smartmontools config.status 5.43 | smartmontools config.status 6.2 |
configured by $0, generated by GNU Autoconf 2.68, | configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
|
|
Line 7452 fi
|
Line 7312 fi
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
if \$ac_cs_recheck; then |
if \$ac_cs_recheck; then |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
shift |
shift |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
CONFIG_SHELL='$SHELL' |
CONFIG_SHELL='$SHELL' |
Line 7490 do
|
Line 7350 do
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
esac |
esac |
done |
done |
|
|
Line 7808 do
|
Line 7668 do
|
esac |
esac |
case $ac_mode$ac_tag in |
case $ac_mode$ac_tag in |
:[FHL]*:*);; |
:[FHL]*:*);; |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
:[FH]-) ac_tag=-:-;; |
:[FH]-) ac_tag=-:-;; |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
esac |
esac |
Line 7836 do
|
Line 7696 do
|
[\\/$]*) false;; |
[\\/$]*) false;; |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
esac || |
esac || |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
esac |
esac |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
as_fn_append ac_file_inputs " '$ac_f'" |
as_fn_append ac_file_inputs " '$ac_f'" |
Line 7863 $as_echo "$as_me: creating $ac_file" >&6;}
|
Line 7723 $as_echo "$as_me: creating $ac_file" >&6;}
|
|
|
case $ac_tag in |
case $ac_tag in |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
esac |
esac |
;; |
;; |
esac |
esac |
Line 8098 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 7958 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
# Strip MF so we end up with the name of the file. |
# Strip MF so we end up with the name of the file. |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
# Check whether this is an Automake generated Makefile or not. |
# Check whether this is an Automake generated Makefile or not. |
# We used to match only the files named `Makefile.in', but | # We used to match only the files named 'Makefile.in', but |
# some people rename them; so instead we look at the file content. |
# some people rename them; so instead we look at the file content. |
# Grep'ing the first line is not enough: some people post-process |
# Grep'ing the first line is not enough: some people post-process |
# each Makefile.in and add a new line on top of each file to say so. |
# each Makefile.in and add a new line on top of each file to say so. |
Line 8132 $as_echo X"$mf" |
|
Line 7992 $as_echo X"$mf" |
|
continue |
continue |
fi |
fi |
# Extract the definition of DEPDIR, am__include, and am__quote |
# Extract the definition of DEPDIR, am__include, and am__quote |
# from the Makefile without running `make'. | # from the Makefile without running 'make'. |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
test -z "$DEPDIR" && continue |
test -z "$DEPDIR" && continue |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
test -z "am__include" && continue |
test -z "am__include" && continue |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
U=`sed -n 's/^U = //p' < "$mf"` |
|
# Find all dependency output files, they are included files with |
# Find all dependency output files, they are included files with |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# expansion. |
# expansion. |
for file in `sed -n " |
for file in `sed -n " |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
# Make sure the directory exists. |
# Make sure the directory exists. |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
fdir=`$as_dirname -- "$file" || |
fdir=`$as_dirname -- "$file" || |
Line 8295 case "$host_os" in
|
Line 8153 case "$host_os" in
|
fi |
fi |
echo "local drive database: `eval eval eval echo $sysconfdir`/smart_drivedb.h" >&6 |
echo "local drive database: `eval eval eval echo $sysconfdir`/smart_drivedb.h" >&6 |
echo "smartd config file: `eval eval eval echo $sysconfdir`/smartd.conf${smartd_suffix}" >&6 |
echo "smartd config file: `eval eval eval echo $sysconfdir`/smartd.conf${smartd_suffix}" >&6 |
|
echo "smartd warning script: `eval eval eval echo $sysconfdir`/smartd_warning.sh" >&6 |
if test -n "$initddir"; then |
if test -n "$initddir"; then |
echo "smartd initd script: `eval eval eval echo $initddir`/smartd${smartd_suffix}" >&6 |
echo "smartd initd script: `eval eval eval echo $initddir`/smartd${smartd_suffix}" >&6 |
elif test -z "$systemdsystemunitdir"; then |
elif test -z "$systemdsystemunitdir"; then |