ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/configure (file contents):
Revision 8168 by michael, Sun Apr 9 16:10:57 2017 UTC vs.
Revision 8316 by michael, Wed Feb 28 17:48:39 2018 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 8037 2017-03-17 22:28:04Z michael .
2 > # From configure.ac Id: configure.ac 8313 2018-02-28 17:45:36Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.22.
5   #
# Line 814 | Line 814 | enable_debugging
814   enable_warnings
815   enable_openssl
816   enable_gnutls
817 enable_libgeoip
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 1472 | Line 1471 | Optional Features:
1471    --disable-openssl            Disable LibreSSL/OpenSSL support.
1472    --enable-gnutls             Enable GnuTLS support.
1473    --disable-gnutls             Disable GnuTLS support.
1475  --disable-libgeoip      Disable GeoIP support
1474  
1475   Optional Packages:
1476    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 16767 | Line 16765 | fi
16765   fi
16766  
16767  
16770  # Check whether --enable-libgeoip was given.
16771 if test "${enable_libgeoip+set}" = set; then :
16772  enableval=$enable_libgeoip;
16773 else
16774  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
16775 if test "x$ac_cv_header_GeoIP_h" = xyes; then :
16776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
16777 $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
16778 if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16779  $as_echo_n "(cached) " >&6
16780 else
16781  ac_func_search_save_LIBS=$LIBS
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h.  */
16784
16785 /* Override any GCC internal prototype to avoid an error.
16786   Use char because int might match the return type of a GCC
16787   builtin and then its argument prototype would still apply.  */
16788 #ifdef __cplusplus
16789 extern "C"
16790 #endif
16791 char GeoIP_id_by_ipnum_v6_gl ();
16792 int
16793 main ()
16794 {
16795 return GeoIP_id_by_ipnum_v6_gl ();
16796  ;
16797  return 0;
16798 }
16799 _ACEOF
16800 for ac_lib in '' GeoIP; do
16801  if test -z "$ac_lib"; then
16802    ac_res="none required"
16803  else
16804    ac_res=-l$ac_lib
16805    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16806  fi
16807  if ac_fn_c_try_link "$LINENO"; then :
16808  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
16809 fi
16810 rm -f core conftest.err conftest.$ac_objext \
16811    conftest$ac_exeext
16812  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16813  break
16814 fi
16815 done
16816 if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16817
16818 else
16819  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
16820 fi
16821 rm conftest.$ac_ext
16822 LIBS=$ac_func_search_save_LIBS
16823 fi
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
16825 $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
16826 ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
16827 if test "$ac_res" != no; then :
16828  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16829
16830 $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
16831
16832 fi
16833
16834 fi
16835
16836
16837 fi
16838
16839
16840
16768  
16769    prefix_NONE=
16770    exec_prefix_NONE=

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines