|
|
|
@ -8116,6 +8116,81 @@ fi
|
|
|
|
|
|
|
|
|
|
# Checks for libraries.
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for mysql_init in -lmysqlclient" >&5
|
|
|
|
|
echo $ECHO_N "checking for mysql_init in -lmysqlclient... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_lib_mysqlclient_mysql_init+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lmysqlclient $LIBS"
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* 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 mysql_init ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
return mysql_init ();
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
_ACEOF
|
|
|
|
|
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
|
(eval "$ac_link") 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && {
|
|
|
|
|
test -z "$ac_cxx_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest$ac_exeext &&
|
|
|
|
|
$as_test_x conftest$ac_exeext; then
|
|
|
|
|
ac_cv_lib_mysqlclient_mysql_init=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_mysqlclient_mysql_init=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
|
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_mysql_init" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_mysqlclient_mysql_init" >&6; }
|
|
|
|
|
if test $ac_cv_lib_mysqlclient_mysql_init = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define HAVE_LIBMYSQLCLIENT 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
LIBS="-lmysqlclient $LIBS"
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: zm requires libmysqlclient.a" >&5
|
|
|
|
|
echo "$as_me: error: zm requires libmysqlclient.a" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
|
|
|
|
|
echo $ECHO_N "checking for jpeg_start_compress in -ljpeg... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_lib_jpeg_jpeg_start_compress+set}" = set; then
|
|
|
|
@ -8191,156 +8266,6 @@ echo "$as_me: error: zm requires libjpeg.a" >&2;}
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for compress in -lz" >&5
|
|
|
|
|
echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_lib_z_compress+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lz $LIBS"
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* 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 compress ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
return compress ();
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
_ACEOF
|
|
|
|
|
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
|
(eval "$ac_link") 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && {
|
|
|
|
|
test -z "$ac_cxx_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest$ac_exeext &&
|
|
|
|
|
$as_test_x conftest$ac_exeext; then
|
|
|
|
|
ac_cv_lib_z_compress=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_z_compress=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
|
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
|
|
|
|
|
if test $ac_cv_lib_z_compress = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define HAVE_LIBZ 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
LIBS="-lz $LIBS"
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: zm requires libz.a" >&5
|
|
|
|
|
echo "$as_me: error: zm requires libz.a" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
|
|
|
|
|
echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_lib_dl_dlsym+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-ldl $LIBS"
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* 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 dlsym ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
return dlsym ();
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
_ACEOF
|
|
|
|
|
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
|
(eval "$ac_link") 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && {
|
|
|
|
|
test -z "$ac_cxx_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest$ac_exeext &&
|
|
|
|
|
$as_test_x conftest$ac_exeext; then
|
|
|
|
|
ac_cv_lib_dl_dlsym=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_dl_dlsym=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
|
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; }
|
|
|
|
|
if test $ac_cv_lib_dl_dlsym = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define HAVE_LIBDL 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
LIBS="-ldl $LIBS"
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: zm requires libdl.a" >&5
|
|
|
|
|
echo "$as_me: error: zm requires libdl.a" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
|
|
|
|
|
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
|
|
|
|
@ -8416,13 +8341,13 @@ echo "$as_me: error: zm requires libpthread.a" >&2;}
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for mysql_init in -lmysqlclient" >&5
|
|
|
|
|
echo $ECHO_N "checking for mysql_init in -lmysqlclient... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_lib_mysqlclient_mysql_init+set}" = set; then
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
|
|
|
|
|
echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_lib_dl_dlsym+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lmysqlclient $LIBS"
|
|
|
|
|
LIBS="-ldl $LIBS"
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
@ -8436,11 +8361,11 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C"
|
|
|
|
|
#endif
|
|
|
|
|
char mysql_init ();
|
|
|
|
|
char dlsym ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
return mysql_init ();
|
|
|
|
|
return dlsym ();
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
@ -8463,30 +8388,30 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest$ac_exeext &&
|
|
|
|
|
$as_test_x conftest$ac_exeext; then
|
|
|
|
|
ac_cv_lib_mysqlclient_mysql_init=yes
|
|
|
|
|
ac_cv_lib_dl_dlsym=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_mysqlclient_mysql_init=no
|
|
|
|
|
ac_cv_lib_dl_dlsym=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
|
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_mysql_init" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_mysqlclient_mysql_init" >&6; }
|
|
|
|
|
if test $ac_cv_lib_mysqlclient_mysql_init = yes; then
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; }
|
|
|
|
|
if test $ac_cv_lib_dl_dlsym = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define HAVE_LIBMYSQLCLIENT 1
|
|
|
|
|
#define HAVE_LIBDL 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
LIBS="-lmysqlclient $LIBS"
|
|
|
|
|
LIBS="-ldl $LIBS"
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: zm requires libmysqlclient.a" >&5
|
|
|
|
|
echo "$as_me: error: zm requires libmysqlclient.a" >&2;}
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: zm requires libdl.a" >&5
|
|
|
|
|
echo "$as_me: error: zm requires libdl.a" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
@ -9083,6 +9008,77 @@ echo "$as_me: WARNING: zm requires libbz2.a for recent versions of ffmpeg" >&2;}
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for compress in -lz" >&5
|
|
|
|
|
echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_lib_z_compress+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lz $LIBS"
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* 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 compress ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
return compress ();
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
_ACEOF
|
|
|
|
|
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
|
(eval "$ac_link") 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && {
|
|
|
|
|
test -z "$ac_cxx_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest$ac_exeext &&
|
|
|
|
|
$as_test_x conftest$ac_exeext; then
|
|
|
|
|
ac_cv_lib_z_compress=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_z_compress=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
|
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
|
|
|
|
|
if test $ac_cv_lib_z_compress = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define HAVE_LIBZ 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
LIBS="-lz $LIBS"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Checks for header files.
|
|
|
|
|
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
|
|
|
|
# for constant arguments. Useless!
|
|
|
|
@ -12260,6 +12256,151 @@ done
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
for ac_header in zlib.h
|
|
|
|
|
do
|
|
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
|
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
fi
|
|
|
|
|
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
|
|
else
|
|
|
|
|
# Is the header compilable?
|
|
|
|
|
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
$ac_includes_default
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
rm -f conftest.$ac_objext
|
|
|
|
|
if { (ac_try="$ac_compile"
|
|
|
|
|
case "(($ac_try" in
|
|
|
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
|
|
*) ac_try_echo=$ac_try;;
|
|
|
|
|
esac
|
|
|
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && {
|
|
|
|
|
test -z "$ac_cxx_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest.$ac_objext; then
|
|
|
|
|
ac_header_compiler=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_compiler=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
|
|
|
|
|
|
|
|
|
# Is the header present?
|
|
|
|
|
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
|
|
|
case "(($ac_try" in
|
|
|
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
|
|
*) ac_try_echo=$ac_try;;
|
|
|
|
|
esac
|
|
|
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } >/dev/null && {
|
|
|
|
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
}; then
|
|
|
|
|
ac_header_preproc=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_preproc=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f conftest.err conftest.$ac_ext
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
|
|
|
|
|
|
|
|
|
# So? What about this header?
|
|
|
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
|
|
|
|
|
yes:no: )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
|
|
|
ac_header_preproc=yes
|
|
|
|
|
;;
|
|
|
|
|
no:yes:* )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
|
|
( cat <<\_ASBOX
|
|
|
|
|
## ------------------------------------- ##
|
|
|
|
|
## Report this to support@zoneminder.com ##
|
|
|
|
|
## ------------------------------------- ##
|
|
|
|
|
_ASBOX
|
|
|
|
|
) | sed "s/^/$as_me: WARNING: /" >&2
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
|
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
eval "$as_ac_Header=\$ac_header_preproc"
|
|
|
|
|
fi
|
|
|
|
|
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking whether round is declared" >&5
|
|
|
|
|
echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_have_decl_round+set}" = set; then
|
|
|
|
|