Check-in [cb1b3fadc8]
Overview
Comment:Fixed typo where getpwuid was checked for twice.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cb1b3fadc8864b20a49d9baacabd59e5f35e1b94
User & Date: rkeene on 2004-12-20 00:49:44
Other Links: manifest | tags
Context
2004-12-25
19:45
Updated Mac OS X support (7.7.0 with gcc 3.3 now works) Added a --enable-small that disables a few options to make a smaller library. Updated win32 build to make an i386 object explicitly (this may have been the default) libconfig 0.1.15 check-in: 0febd33a2d user: rkeene tags: trunk, 0.1.15
2004-12-20
00:49
Fixed typo where getpwuid was checked for twice. check-in: cb1b3fadc8 user: rkeene tags: trunk
00:48
Updated win32 support slightly. check-in: c061ce704b user: rkeene tags: trunk
Changes

Modified configure from [748c63413f] to [6843199f78].

 16867  16867   
 16868  16868   
 16869  16869     SHLIBOBJS=""
 16870  16870     for obj in $LIBOBJS; do
 16871  16871       SHLIBOBJS="$SHLIBOBJS `echo $obj | sed 's/\.o$/_shr.o/g'`"
 16872  16872     done
 16873  16873   
 16874         -
 16875         -
 16876         -for ac_func in getpwuid
 16877         -do
 16878         -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 16879         -echo "$as_me:$LINENO: checking for $ac_func" >&5
 16880         -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 16881         -if eval "test \"\${$as_ac_var+set}\" = set"; then
 16882         -  echo $ECHO_N "(cached) $ECHO_C" >&6
 16883         -else
 16884         -  cat >conftest.$ac_ext <<_ACEOF
 16885         -/* confdefs.h.  */
 16886         -_ACEOF
 16887         -cat confdefs.h >>conftest.$ac_ext
 16888         -cat >>conftest.$ac_ext <<_ACEOF
 16889         -/* end confdefs.h.  */
 16890         -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 16891         -   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 16892         -#define $ac_func innocuous_$ac_func
 16893         -
 16894         -/* System header to define __stub macros and hopefully few prototypes,
 16895         -    which can conflict with char $ac_func (); below.
 16896         -    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 16897         -    <limits.h> exists even on freestanding compilers.  */
 16898         -
 16899         -#ifdef __STDC__
 16900         -# include <limits.h>
 16901         -#else
 16902         -# include <assert.h>
 16903         -#endif
 16904         -
 16905         -#undef $ac_func
 16906         -
 16907         -/* Override any gcc2 internal prototype to avoid an error.  */
 16908         -#ifdef __cplusplus
 16909         -extern "C"
 16910         -{
 16911         -#endif
 16912         -/* We use char because int might match the return type of a gcc2
 16913         -   builtin and then its argument prototype would still apply.  */
 16914         -char $ac_func ();
 16915         -/* The GNU C library defines this for functions which it implements
 16916         -    to always fail with ENOSYS.  Some functions are actually named
 16917         -    something starting with __ and the normal name is an alias.  */
 16918         -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 16919         -choke me
 16920         -#else
 16921         -char (*f) () = $ac_func;
 16922         -#endif
 16923         -#ifdef __cplusplus
 16924         -}
 16925         -#endif
 16926         -
 16927         -int
 16928         -main ()
 16929         -{
 16930         -return f != $ac_func;
 16931         -  ;
 16932         -  return 0;
 16933         -}
 16934         -_ACEOF
 16935         -rm -f conftest.$ac_objext conftest$ac_exeext
 16936         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 16937         -  (eval $ac_link) 2>conftest.er1
 16938         -  ac_status=$?
 16939         -  grep -v '^ *+' conftest.er1 >conftest.err
 16940         -  rm -f conftest.er1
 16941         -  cat conftest.err >&5
 16942         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16943         -  (exit $ac_status); } &&
 16944         -	 { ac_try='test -z "$ac_c_werror_flag"
 16945         -			 || test ! -s conftest.err'
 16946         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16947         -  (eval $ac_try) 2>&5
 16948         -  ac_status=$?
 16949         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16950         -  (exit $ac_status); }; } &&
 16951         -	 { ac_try='test -s conftest$ac_exeext'
 16952         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16953         -  (eval $ac_try) 2>&5
 16954         -  ac_status=$?
 16955         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16956         -  (exit $ac_status); }; }; then
 16957         -  eval "$as_ac_var=yes"
 16958         -else
 16959         -  echo "$as_me: failed program was:" >&5
 16960         -sed 's/^/| /' conftest.$ac_ext >&5
 16961         -
 16962         -eval "$as_ac_var=no"
 16963         -fi
 16964         -rm -f conftest.err conftest.$ac_objext \
 16965         -      conftest$ac_exeext conftest.$ac_ext
 16966         -fi
 16967         -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 16968         -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 16969         -if test `eval echo '${'$as_ac_var'}'` = yes; then
 16970         -  cat >>confdefs.h <<_ACEOF
 16971         -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 16972         -_ACEOF
 16973         -
 16974         -fi
 16975         -done
 16976         -
 16977  16874   
 16978  16875                                                                                             ac_config_files="$ac_config_files Makefile lc_geterrno.3 lc_process.3 lc_register_var.3 lc_geterrstr.3 lc_register_callback.3 lc_cleanup.3 lc_process_file.3 libconfig.3"
 16979  16876   cat >confcache <<\_ACEOF
 16980  16877   # This file is a shell script that caches the results of configure
 16981  16878   # tests run on this system so they can be shared between configure
 16982  16879   # scripts and configure runs, see configure's option --config-cache.
 16983  16880   # It is not useful on other systems.  If it contains results you don't

Modified configure.ac from [4331009ac9] to [bc16092498].

    38     38   
    39     39   AC_REPLACE_FUNCS(strsep strtoll getuid)
    40     40   AC_CHECK_FUNCS(getpwuid)
    41     41   
    42     42   dnl This MUST be last.
    43     43   DC_SYNC_SHLIBOBJS
    44     44   
    45         -AC_CHECK_FUNCS(getpwuid)
    46         -
    47     45   AC_OUTPUT(Makefile lc_geterrno.3 lc_process.3 lc_register_var.3 lc_geterrstr.3 lc_register_callback.3 lc_cleanup.3 lc_process_file.3 libconfig.3)