/[svn]/hopm/trunk/configure
ViewVC logotype

Diff of /hopm/trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5061 by michael, Mon Dec 22 14:00:18 2014 UTC revision 5062 by michael, Mon Dec 22 14:07:15 2014 UTC
# Line 12929  if test "$LEX" = :; then Line 12929  if test "$LEX" = :; then
12929    LEX=${am_missing_run}flex    LEX=${am_missing_run}flex
12930  fi  fi
12931    
12932  ETR_SOCKET_NSL  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12933    $as_echo_n "checking for library containing socket... " >&6; }
12934    if ${ac_cv_search_socket+:} false; then :
12935      $as_echo_n "(cached) " >&6
12936    else
12937      ac_func_search_save_LIBS=$LIBS
12938    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939    /* end confdefs.h.  */
12940    
12941    /* Override any GCC internal prototype to avoid an error.
12942       Use char because int might match the return type of a GCC
12943       builtin and then its argument prototype would still apply.  */
12944    #ifdef __cplusplus
12945    extern "C"
12946    #endif
12947    char socket ();
12948    int
12949    main ()
12950    {
12951    return socket ();
12952      ;
12953      return 0;
12954    }
12955    _ACEOF
12956    for ac_lib in '' socket; do
12957      if test -z "$ac_lib"; then
12958        ac_res="none required"
12959      else
12960        ac_res=-l$ac_lib
12961        LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12962      fi
12963      if ac_fn_c_try_link "$LINENO"; then :
12964      ac_cv_search_socket=$ac_res
12965    fi
12966    rm -f core conftest.err conftest.$ac_objext \
12967        conftest$ac_exeext
12968      if ${ac_cv_search_socket+:} false; then :
12969      break
12970    fi
12971    done
12972    if ${ac_cv_search_socket+:} false; then :
12973    
12974    else
12975      ac_cv_search_socket=no
12976    fi
12977    rm conftest.$ac_ext
12978    LIBS=$ac_func_search_save_LIBS
12979    fi
12980    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12981    $as_echo "$ac_cv_search_socket" >&6; }
12982    ac_res=$ac_cv_search_socket
12983    if test "$ac_res" != no; then :
12984      test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12985    
12986    else
12987      as_fn_error $? "socket library not found" "$LINENO" 5
12988    fi
12989    
12990    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12991    if test "x$ac_cv_func_getaddrinfo" = xyes; then :
12992    
12993    else
12994      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
12995    $as_echo_n "checking for library containing getaddrinfo... " >&6; }
12996    if ${ac_cv_search_getaddrinfo+:} false; then :
12997      $as_echo_n "(cached) " >&6
12998    else
12999      ac_func_search_save_LIBS=$LIBS
13000    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001    /* end confdefs.h.  */
13002    
13003    /* Override any GCC internal prototype to avoid an error.
13004       Use char because int might match the return type of a GCC
13005       builtin and then its argument prototype would still apply.  */
13006    #ifdef __cplusplus
13007    extern "C"
13008    #endif
13009    char getaddrinfo ();
13010    int
13011    main ()
13012    {
13013    return getaddrinfo ();
13014      ;
13015      return 0;
13016    }
13017    _ACEOF
13018    for ac_lib in '' nsl; do
13019      if test -z "$ac_lib"; then
13020        ac_res="none required"
13021      else
13022        ac_res=-l$ac_lib
13023        LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13024      fi
13025      if ac_fn_c_try_link "$LINENO"; then :
13026      ac_cv_search_getaddrinfo=$ac_res
13027    fi
13028    rm -f core conftest.err conftest.$ac_objext \
13029        conftest$ac_exeext
13030      if ${ac_cv_search_getaddrinfo+:} false; then :
13031      break
13032    fi
13033    done
13034    if ${ac_cv_search_getaddrinfo+:} false; then :
13035    
13036    else
13037      ac_cv_search_getaddrinfo=no
13038    fi
13039    rm conftest.$ac_ext
13040    LIBS=$ac_func_search_save_LIBS
13041    fi
13042    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13043    $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13044    ac_res=$ac_cv_search_getaddrinfo
13045    if test "$ac_res" != no; then :
13046      test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13047    
13048    fi
13049    
13050    fi
13051    
13052    ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13053    if test "x$ac_cv_func_getnameinfo" = xyes; then :
13054    
13055    else
13056      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13057    $as_echo_n "checking for library containing getnameinfo... " >&6; }
13058    if ${ac_cv_search_getnameinfo+:} false; then :
13059      $as_echo_n "(cached) " >&6
13060    else
13061      ac_func_search_save_LIBS=$LIBS
13062    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063    /* end confdefs.h.  */
13064    
13065    /* Override any GCC internal prototype to avoid an error.
13066       Use char because int might match the return type of a GCC
13067       builtin and then its argument prototype would still apply.  */
13068    #ifdef __cplusplus
13069    extern "C"
13070    #endif
13071    char getnameinfo ();
13072    int
13073    main ()
13074    {
13075    return getnameinfo ();
13076      ;
13077      return 0;
13078    }
13079    _ACEOF
13080    for ac_lib in '' nsl; do
13081      if test -z "$ac_lib"; then
13082        ac_res="none required"
13083      else
13084        ac_res=-l$ac_lib
13085        LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13086      fi
13087      if ac_fn_c_try_link "$LINENO"; then :
13088      ac_cv_search_getnameinfo=$ac_res
13089    fi
13090    rm -f core conftest.err conftest.$ac_objext \
13091        conftest$ac_exeext
13092      if ${ac_cv_search_getnameinfo+:} false; then :
13093      break
13094    fi
13095    done
13096    if ${ac_cv_search_getnameinfo+:} false; then :
13097    
13098    else
13099      ac_cv_search_getnameinfo=no
13100    fi
13101    rm conftest.$ac_ext
13102    LIBS=$ac_func_search_save_LIBS
13103    fi
13104    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13105    $as_echo "$ac_cv_search_getnameinfo" >&6; }
13106    ac_res=$ac_cv_search_getnameinfo
13107    if test "$ac_res" != no; then :
13108      test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13109    
13110    fi
13111    
13112    fi
13113    
13114    
13115  for ac_func in inet_aton inet_pton socket strdup strstr  for ac_func in inet_aton inet_pton socket strdup strstr
13116  do :  do :

Legend:
Removed from v.5061  
changed lines
  Added in v.5062

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26