Changeset 4017

Show
Ignore:
Timestamp:
04/02/06 17:37:16 (3 years ago)
Author:
morris
Message:

Remove glibc check

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trackerd/trunk/config.h.in

    r4013 r4017  
    33/* Define to 1 if you have the <CoreServices/CoreServices.h> header file. */ 
    44#undef HAVE_CORESERVICES_CORESERVICES_H 
    5  
    6 /* Define to 1 if you have glibc. */ 
    7 #undef HAVE_GLIBC 
    85 
    96/* Define to 1 if you have the <inttypes.h> header file. */ 
     
    8582#undef _FILE_OFFSET_BITS 
    8683 
    87 /* Define to 1 if you have glibc. */ 
    88 #undef _GNU_SOURCE 
    89  
    9084/* Define for large files, on AIX-style hosts. */ 
    9185#undef _LARGE_FILES 
  • trackerd/trunk/configure

    r4013 r4017  
    30963096 
    30973097fi 
    3098  
    3099  
    3100 # Check for glibc (Linux) 
    3101 echo "$as_me:$LINENO: checking for glibc" >&5 
    3102 echo $ECHO_N "checking for glibc... $ECHO_C" >&6 
    3103 cat >conftest.$ac_ext <<_ACEOF 
    3104  
    3105     #include <features.h> 
    3106     #ifndef __GLIBC__ 
    3107     chokeme 
    3108     #endif 
    3109  
    3110 _ACEOF 
    3111 rm -f conftest.$ac_objext 
    3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    3113   (eval $ac_compile) 2>conftest.er1 
    3114   ac_status=$? 
    3115   grep -v '^ *+' conftest.er1 >conftest.err 
    3116   rm -f conftest.er1 
    3117   cat conftest.err >&5 
    3118   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3119   (exit $ac_status); } && 
    3120          { ac_try='test -z "$ac_c_werror_flag" 
    3121                          || test ! -s conftest.err' 
    3122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3123   (eval $ac_try) 2>&5 
    3124   ac_status=$? 
    3125   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3126   (exit $ac_status); }; } && 
    3127          { ac_try='test -s conftest.$ac_objext' 
    3128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3129   (eval $ac_try) 2>&5 
    3130   ac_status=$? 
    3131   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3132   (exit $ac_status); }; }; then 
    3133  
    3134  
    3135 cat >>confdefs.h <<\_ACEOF 
    3136 #define HAVE_GLIBC 1 
    3137 _ACEOF 
    3138  
    3139  
    3140 cat >>confdefs.h <<\_ACEOF 
    3141 #define _GNU_SOURCE 1 
    3142 _ACEOF 
    3143  
    3144         echo "$as_me:$LINENO: result: yes" >&5 
    3145 echo "${ECHO_T}yes" >&6 
    3146  
    3147 else 
    3148   echo "$as_me: failed program was:" >&5 
    3149 sed 's/^/| /' conftest.$ac_ext >&5 
    3150  
    3151  
    3152         echo "$as_me:$LINENO: result: no" >&5 
    3153 echo "${ECHO_T}no" >&6 
    3154  
    3155 fi 
    3156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    31573098 
    31583099 
  • trackerd/trunk/configure.in

    r4013 r4017  
    198198        WT_MSG_LIBWIRED_ERROR 
    199199fi 
    200  
    201  
    202 # Check for glibc (Linux) 
    203 AC_MSG_CHECKING([for glibc]) 
    204 AC_COMPILE_IFELSE([ 
    205     #include <features.h> 
    206     #ifndef __GLIBC__ 
    207     chokeme 
    208     #endif 
    209 ], [ 
    210     AC_DEFINE([HAVE_GLIBC], [1], [Define to 1 if you have glibc.]) 
    211     AC_DEFINE([_GNU_SOURCE], [1], [Define to 1 if you have glibc.]) 
    212         AC_MSG_RESULT([yes]) 
    213 ], [ 
    214         AC_MSG_RESULT([no]) 
    215 ]) 
    216200 
    217201