⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 bind 9.3结合mysql数据库
💻
📖 第 1 页 / 共 5 页
字号:
fiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5echo "${ECHO_T}$ac_cv_prog_cc_g" >&6if test "$ac_test_CFLAGS" = set; then  CFLAGS=$ac_save_CFLAGSelif test $ac_cv_prog_cc_g = yes; then  if test "$GCC" = yes; then    CFLAGS="-g -O2"  else    CFLAGS="-g"  fielse  if test "$GCC" = yes; then    CFLAGS="-O2"  else    CFLAGS=  fifi# Some people use a C++ compiler to compile C.  Since we use `exit',# in C++ we need to declare it.  In case someone uses the same compiler# for both compiling C and C++ we need to have the C++ compiler decide# the declaration of exit, since it's the most demanding environment.cat >conftest.$ac_ext <<_ACEOF#ifndef __cplusplus  choke me#endif_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  for ac_declaration in \   ''\   '#include <stdlib.h>' \   'extern "C" void std::exit (int) throw (); using std::exit;' \   'extern "C" void std::exit (int); using std::exit;' \   'extern "C" void exit (int) throw ();' \   'extern "C" void exit (int);' \   'void exit (int);'do  cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"#include <stdlib.h>$ac_declaration#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){exit (42);  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  :else  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5continuefirm -f conftest.$ac_objext conftest.$ac_ext  cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"$ac_declaration#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){exit (42);  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  breakelse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_extdonerm -f conftest*if test -n "$ac_declaration"; then  echo '#ifdef __cplusplus' >>confdefs.h  echo $ac_declaration      >>confdefs.h  echo '#endif'             >>confdefs.hfielse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_extac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuecho "$as_me:$LINENO: checking for library containing res_mkquery" >&5echo $ECHO_N "checking for library containing res_mkquery... $ECHO_C" >&6if test "${ac_cv_search_res_mkquery+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_func_search_save_LIBS=$LIBSac_cv_search_res_mkquery=nocat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still apply.  */char res_mkquery ();#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){res_mkquery ();  ;  return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  (eval $ac_link) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest$ac_exeext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  ac_cv_search_res_mkquery="none required"else  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extif test "$ac_cv_search_res_mkquery" = no; then  for ac_lib in resolv bind; do    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"    cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still apply.  */char res_mkquery ();#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){res_mkquery ();  ;  return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  (eval $ac_link) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest$ac_exeext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  ac_cv_search_res_mkquery="-l$ac_lib"breakelse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  donefiLIBS=$ac_func_search_save_LIBSfiecho "$as_me:$LINENO: result: $ac_cv_search_res_mkquery" >&5echo "${ECHO_T}$ac_cv_search_res_mkquery" >&6if test "$ac_cv_search_res_mkquery" != no; then  test "$ac_cv_search_res_mkquery" = "none required" || LIBS="$ac_cv_search_res_mkquery $LIBS"fiecho "$as_me:$LINENO: checking for socket in -lsocket" >&5echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6if test "${ac_cv_lib_socket_socket+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_check_lib_save_LIBS=$LIBSLIBS="-lsocket  $LIBS"cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still apply.  */char socket ();#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){socket ();  ;  return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  (eval $ac_link) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest$ac_exeext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  ac_cv_lib_socket_socket=yeselse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_socket_socket=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6if test $ac_cv_lib_socket_socket = yes; then  cat >>confdefs.h <<_ACEOF#define HAVE_LIBSOCKET 1_ACEOF  LIBS="-lsocket $LIBS"fiecho "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_check_lib_save_LIBS=$LIBSLIBS="-lnsl  $LIBS"cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still apply.  */char inet_ntoa ();#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){inet_ntoa ();  ;  return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  (eval $ac_link) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest$ac_exeext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  ac_cv_lib_nsl_inet_ntoa=yeselse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_nsl_inet_ntoa=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6if test $ac_cv_lib_nsl_inet_ntoa = yes; then  cat >>confdefs.h <<_ACEOF#define HAVE_LIBNSL 1_ACEOF  LIBS="-lnsl $LIBS"fifor ac_func in gethostbyname2doas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:$LINENO: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char $ac_func (); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still apply.  */char $ac_func ();char (*f) ();#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_$ac_func) || defined (__stub___$ac_func)choke me#elsef = $ac_func;#endif  ;  return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  (eval $ac_link) 2>&5  ac_status=$?  echo "

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -