Check-in [0febd33a2d]
Overview
Comment: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
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | 0.1.15
Files: files | file ages | folders
SHA1: 0febd33a2d43ab758a8f48a4fd7b34674386f96e
User & Date: rkeene on 2004-12-25 19:45:14
Other Links: manifest | tags
Context
2004-12-25
20:00
Fixed last fix for Mac OS X shared libraries, oops. libconfig 0.1.16 check-in: 4d7bd96b4e user: rkeene tags: trunk, 0.1.16
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
Changes

Modified aclocal.m4 from [3372e960c9] to [ee1f9b6916].

    65     65         DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-shared], [
    66     66   	DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-shared -rdynamic -mimpure-text], [
    67     67   	  DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-shared -mimpure-text], [
    68     68   	    DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-shared -rdynamic -Wl,-G,-z,textoff], [
    69     69   	      DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-shared -Wl,-G,-z,textoff], [
    70     70   		DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-shared -dynamiclib -flat_namespace -undefined suppress -bind_at_load], [
    71     71   		  DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-dynamiclib -flat_namespace -undefined suppress -bind_at_load], [
    72         -		    AC_MSG_RESULT(cant)
    73         -		    AC_MSG_ERROR([We are unable to make shared objects.])
           72  +		    DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-Wl,-dynamiclib -Wl,-flat_namespace -Wl,-undefined,suppress -Wl,-bind_at_load], [
           73  +		      DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-dynamic -flat_namespace -undefined suppress], [
           74  +		        DC_TEST_SHOBJFLAGS([-fPIC -DPIC], [-dynamic], [
           75  +		          AC_MSG_RESULT(cant)
           76  +		          AC_MSG_ERROR([We are unable to make shared objects.])
           77  +                        ])
           78  +		      ])
           79  +		    ])
    74     80   		  ])
    75     81   		])
    76     82   	      ])
    77     83   	    ])
    78     84   	  ])
    79     85   	])
    80     86         ])
................................................................................
   180    186   		    if test -n "$7"; then
   181    187   		      AC_DEFINE($7, [1], [Define to 1 if you have the <$3> header file.])
   182    188   		    fi
   183    189   		    if test -n "$6"; then
   184    190   		      AC_DEFINE($6, [1], [Define to 1 if you have $2 from $5])
   185    191   		    fi
   186    192   		    LDFLAGS="$LDFLAGS $LIBSPECFLAGS"
   187         -		    LIBS="$LIBS -l$1"
          193  +		    LIBS="-l$1 $LIBS"
   188    194   		  ], [
   189    195   		    CFLAGS="$OLDCFLAGS"
   190    196   		    CPPFLAGS="$OLDCPPFLAGS"
   191    197   		    AC_MSG_ERROR(Could not find $3)
   192    198   		  ])
   193    199   		], [
   194    200   		  AC_MSG_ERROR(Could not find $5)
   195    201   		], $LIBSPECFLAGS)
   196    202     		;;
   197    203     esac
   198    204   ])
          205  +
          206  +AC_DEFUN(DC_ASK_SMALL, [
          207  +	SMALL=0
          208  +	AC_ARG_ENABLE(small, AC_HELP_STRING([--enable-small], [Enable small build of libconfig. (disabled)]), [
          209  +		case $enableval in
          210  +			yes)            
          211  +				SMALL=1
          212  +				;;      
          213  +		esac    
          214  +	])
          215  +
          216  +	if test $SMALL = 0; then
          217  +		dnl Use opennet if it's available AND not small
          218  +		DC_ASK_OPTLIB(opennet, fopen_net, opennet.h, [      Enable opennet support (auto)], libopennet, HAVE_LIBOPENNET, HAVE_OPENNET_H)
          219  +	else
          220  +		AC_DEFINE(ENABLE_SMALL, [1], [Define to 1 if you want to produce a minimalistic build.])
          221  +	fi
          222  +])

Modified build/build_win32.sh from [7d910d6991] to [3cdf4bc8d5].

     1      1   #! /bin/sh
     2      2   
     3      3   if [ ! -x configure ]; then cd ../; fi
     4      4   WIN32="${HOME}/root/windows-i386"
     5         -CFLAGS="-I${WIN32}/include"
            5  +CFLAGS="-I${WIN32}/include -march=i386"
     6      6   CPPFLAGS="${CFLAGS}"
     7      7   LDFLAGS="-L${WIN32}/lib"
     8      8   DATE="`date +%Y%m%d%H%M`"
     9      9   CROSS=i586-mingw32msvc
    10     10   if [ ! -z "${CROSS}" ]; then
    11     11   	CROSSCMD="${CROSS}-"
    12     12   fi
    13     13   export CFLAGS LDFLAGS CPPFLAGS
    14     14   make distclean
    15     15   ./configure --host=${CROSS} --prefix=${HOME}/root/windows-i386/ --with-libopennet=${HOME}/root/windows-i386/ && \
    16     16   make || exit 1

Modified config.h.in from [105e0ec8a5] to [003ec03eae].

     1      1   /* config.h.in.  Generated from configure.ac by autoheader.  */
            2  +
            3  +/* Define to 1 if you want to produce a minimalistic build. */
            4  +#undef ENABLE_SMALL
     2      5   
     3      6   /* Define to 1 if you have the <ctype.h> header file. */
     4      7   #undef HAVE_CTYPE_H
     5      8   
     6      9   /* Define to 1 if you have the <dirent.h> header file. */
     7     10   #undef HAVE_DIRENT_H
     8     11   

Modified configure from [6843199f78] to [b1456b5c41].

     1      1   #! /bin/sh
     2      2   # From configure.ac Revision .
     3      3   # Guess values for system-dependent variables and create Makefiles.
     4         -# Generated by GNU Autoconf 2.59 for libconfig 0.1.14.
            4  +# Generated by GNU Autoconf 2.59 for libconfig 0.1.15.
     5      5   #
     6      6   # Copyright (C) 2003 Free Software Foundation, Inc.
     7      7   # This configure script is free software; the Free Software Foundation
     8      8   # gives unlimited permission to copy, distribute and modify it.
     9      9   ## --------------------- ##
    10     10   ## M4sh Initialization.  ##
    11     11   ## --------------------- ##
................................................................................
   264    264   # This variable seems obsolete.  It should probably be removed, and
   265    265   # only ac_max_sed_lines should be used.
   266    266   : ${ac_max_here_lines=38}
   267    267   
   268    268   # Identity of this package.
   269    269   PACKAGE_NAME='libconfig'
   270    270   PACKAGE_TARNAME='libconfig'
   271         -PACKAGE_VERSION='0.1.14'
   272         -PACKAGE_STRING='libconfig 0.1.14'
          271  +PACKAGE_VERSION='0.1.15'
          272  +PACKAGE_STRING='libconfig 0.1.15'
   273    273   PACKAGE_BUGREPORT=''
   274    274   
   275    275   # Factoring default headers for most tests.
   276    276   ac_includes_default="\
   277    277   #include <stdio.h>
   278    278   #if HAVE_SYS_TYPES_H
   279    279   # include <sys/types.h>
................................................................................
   774    774   #
   775    775   # Report the --help message.
   776    776   #
   777    777   if test "$ac_init_help" = "long"; then
   778    778     # Omit some internal or obsolete options to make the list less imposing.
   779    779     # This message is too long to be a string in the A/UX 3.1 sh.
   780    780     cat <<_ACEOF
   781         -\`configure' configures libconfig 0.1.14 to adapt to many kinds of systems.
          781  +\`configure' configures libconfig 0.1.15 to adapt to many kinds of systems.
   782    782   
   783    783   Usage: $0 [OPTION]... [VAR=VALUE]...
   784    784   
   785    785   To assign environment variables (e.g., CC, CFLAGS...), specify them as
   786    786   VAR=VALUE.  See below for descriptions of some of the useful variables.
   787    787   
   788    788   Defaults for the options are specified in brackets.
................................................................................
   835    835     --build=BUILD     configure for building on BUILD [guessed]
   836    836     --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   837    837   _ACEOF
   838    838   fi
   839    839   
   840    840   if test -n "$ac_init_help"; then
   841    841     case $ac_init_help in
   842         -     short | recursive ) echo "Configuration of libconfig 0.1.14:";;
          842  +     short | recursive ) echo "Configuration of libconfig 0.1.15:";;
   843    843      esac
   844    844     cat <<\_ACEOF
   845    845   
          846  +Optional Features:
          847  +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
          848  +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
          849  +  --enable-small          Enable small build of libconfig. (disabled)
          850  +
   846    851   Optional Packages:
   847    852     --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   848    853     --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   849         -  --with-libopennet       Enable opennet support
          854  +  --with-libopennet       Enable opennet support (auto)
   850    855   
   851    856   Some influential environment variables:
   852    857     CC          C compiler command
   853    858     CFLAGS      C compiler flags
   854    859     LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   855    860                 nonstandard directory <lib dir>
   856    861     CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
................................................................................
   951    956       cd $ac_popdir
   952    957     done
   953    958   fi
   954    959   
   955    960   test -n "$ac_init_help" && exit 0
   956    961   if $ac_init_version; then
   957    962     cat <<\_ACEOF
   958         -libconfig configure 0.1.14
          963  +libconfig configure 0.1.15
   959    964   generated by GNU Autoconf 2.59
   960    965   
   961    966   Copyright (C) 2003 Free Software Foundation, Inc.
   962    967   This configure script is free software; the Free Software Foundation
   963    968   gives unlimited permission to copy, distribute and modify it.
   964    969   _ACEOF
   965    970     exit 0
   966    971   fi
   967    972   exec 5>config.log
   968    973   cat >&5 <<_ACEOF
   969    974   This file contains any messages produced by compilers while
   970    975   running configure, to aid debugging if configure makes a mistake.
   971    976   
   972         -It was created by libconfig $as_me 0.1.14, which was
          977  +It was created by libconfig $as_me 0.1.15, which was
   973    978   generated by GNU Autoconf 2.59.  Invocation command line was
   974    979   
   975    980     $ $0 $@
   976    981   
   977    982   _ACEOF
   978    983   {
   979    984   cat <<_ASUNAME
................................................................................
 15226  15231   			FOUND=1
 15227  15232   			break
 15228  15233   		fi
 15229  15234   	done
 15230  15235   
 15231  15236   
 15232  15237   
        15238  +	SMALL=0
        15239  +	# Check whether --enable-small or --disable-small was given.
        15240  +if test "${enable_small+set}" = set; then
        15241  +  enableval="$enable_small"
        15242  +
        15243  +		case $enableval in
        15244  +			yes)
        15245  +				SMALL=1
        15246  +				;;
        15247  +		esac
        15248  +
        15249  +fi;
        15250  +
        15251  +	if test $SMALL = 0; then
        15252  +
 15233  15253   
 15234  15254   # Check whether --with-libopennet or --without-libopennet was given.
 15235  15255   if test "${with_libopennet+set}" = set; then
 15236  15256     withval="$with_libopennet"
 15237  15257   
 15238  15258   # Specified
 15239  15259       LIBSPEC=$withval
................................................................................
 15706  15726   
 15707  15727   cat >>confdefs.h <<\_ACEOF
 15708  15728   #define HAVE_LIBOPENNET 1
 15709  15729   _ACEOF
 15710  15730   
 15711  15731   		    fi
 15712  15732   		    LDFLAGS="$LDFLAGS $LIBSPECFLAGS"
 15713         -		    LIBS="$LIBS -lopennet"
        15733  +		    LIBS="-lopennet $LIBS"
 15714  15734   
 15715  15735   else
 15716  15736   
 15717  15737   		    CFLAGS="$OLDCFLAGS"
 15718  15738   		    CPPFLAGS="$OLDCPPFLAGS"
 15719  15739   		    { { echo "$as_me:$LINENO: error: Could not find opennet.h" >&5
 15720  15740   echo "$as_me: error: Could not find opennet.h" >&2;}
................................................................................
 15730  15750   echo "$as_me: error: Could not find libopennet" >&2;}
 15731  15751      { (exit 1); exit 1; }; }
 15732  15752   
 15733  15753   fi
 15734  15754   
 15735  15755     		;;
 15736  15756     esac
        15757  +
        15758  +	else
        15759  +
        15760  +cat >>confdefs.h <<\_ACEOF
        15761  +#define ENABLE_SMALL 1
        15762  +_ACEOF
        15763  +
        15764  +	fi
 15737  15765   
 15738  15766   
 15739  15767   
 15740  15768   
 15741  15769   
 15742  15770   for ac_header in windows.h windowsx.h
 15743  15771   do
................................................................................
 16334  16362   else
 16335  16363     echo "$as_me: failed program was:" >&5
 16336  16364   sed 's/^/| /' conftest.$ac_ext >&5
 16337  16365   
 16338  16366   
 16339  16367     LDFLAGS="$OLD_LDFLAGS"
 16340  16368   
 16341         -		    echo "$as_me:$LINENO: result: cant" >&5
        16369  +
        16370  +
        16371  +
        16372  +
        16373  +  OLD_LDFLAGS="$LDFLAGS"
        16374  +  SHOBJFLAGS=""
        16375  +
        16376  +  LDFLAGS="$OLD_LDFLAGS -fPIC -DPIC -Wl,-dynamiclib -Wl,-flat_namespace -Wl,-undefined,suppress -Wl,-bind_at_load"
        16377  +
        16378  +  cat >conftest.$ac_ext <<_ACEOF
        16379  +/* confdefs.h.  */
        16380  +_ACEOF
        16381  +cat confdefs.h >>conftest.$ac_ext
        16382  +cat >>conftest.$ac_ext <<_ACEOF
        16383  +/* end confdefs.h.  */
        16384  +#include <stdio.h>
        16385  +int unrestst(void);
        16386  +int
        16387  +main ()
        16388  +{
        16389  + printf("okay\n"); unrestst(); return(0);
        16390  +  ;
        16391  +  return 0;
        16392  +}
        16393  +_ACEOF
        16394  +rm -f conftest.$ac_objext conftest$ac_exeext
        16395  +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        16396  +  (eval $ac_link) 2>conftest.er1
        16397  +  ac_status=$?
        16398  +  grep -v '^ *+' conftest.er1 >conftest.err
        16399  +  rm -f conftest.er1
        16400  +  cat conftest.err >&5
        16401  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16402  +  (exit $ac_status); } &&
        16403  +	 { ac_try='test -z "$ac_c_werror_flag"
        16404  +			 || test ! -s conftest.err'
        16405  +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        16406  +  (eval $ac_try) 2>&5
        16407  +  ac_status=$?
        16408  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16409  +  (exit $ac_status); }; } &&
        16410  +	 { ac_try='test -s conftest$ac_exeext'
        16411  +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        16412  +  (eval $ac_try) 2>&5
        16413  +  ac_status=$?
        16414  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16415  +  (exit $ac_status); }; }; then
        16416  +   SHOBJFLAGS="-fPIC -DPIC"; SHOBJLDFLAGS="-Wl,-dynamiclib -Wl,-flat_namespace -Wl,-undefined,suppress -Wl,-bind_at_load"
        16417  +else
        16418  +  echo "$as_me: failed program was:" >&5
        16419  +sed 's/^/| /' conftest.$ac_ext >&5
        16420  +
        16421  +
        16422  +  LDFLAGS="$OLD_LDFLAGS"
        16423  +
        16424  +
        16425  +
        16426  +
        16427  +
        16428  +  OLD_LDFLAGS="$LDFLAGS"
        16429  +  SHOBJFLAGS=""
        16430  +
        16431  +  LDFLAGS="$OLD_LDFLAGS -fPIC -DPIC -dynamic -flat_namespace -undefined suppress"
        16432  +
        16433  +  cat >conftest.$ac_ext <<_ACEOF
        16434  +/* confdefs.h.  */
        16435  +_ACEOF
        16436  +cat confdefs.h >>conftest.$ac_ext
        16437  +cat >>conftest.$ac_ext <<_ACEOF
        16438  +/* end confdefs.h.  */
        16439  +#include <stdio.h>
        16440  +int unrestst(void);
        16441  +int
        16442  +main ()
        16443  +{
        16444  + printf("okay\n"); unrestst(); return(0);
        16445  +  ;
        16446  +  return 0;
        16447  +}
        16448  +_ACEOF
        16449  +rm -f conftest.$ac_objext conftest$ac_exeext
        16450  +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        16451  +  (eval $ac_link) 2>conftest.er1
        16452  +  ac_status=$?
        16453  +  grep -v '^ *+' conftest.er1 >conftest.err
        16454  +  rm -f conftest.er1
        16455  +  cat conftest.err >&5
        16456  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16457  +  (exit $ac_status); } &&
        16458  +	 { ac_try='test -z "$ac_c_werror_flag"
        16459  +			 || test ! -s conftest.err'
        16460  +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        16461  +  (eval $ac_try) 2>&5
        16462  +  ac_status=$?
        16463  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16464  +  (exit $ac_status); }; } &&
        16465  +	 { ac_try='test -s conftest$ac_exeext'
        16466  +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        16467  +  (eval $ac_try) 2>&5
        16468  +  ac_status=$?
        16469  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16470  +  (exit $ac_status); }; }; then
        16471  +   SHOBJFLAGS="-fPIC -DPIC"; SHOBJLDFLAGS="-dynamic -flat_namespace -undefined suppress"
        16472  +else
        16473  +  echo "$as_me: failed program was:" >&5
        16474  +sed 's/^/| /' conftest.$ac_ext >&5
        16475  +
        16476  +
        16477  +  LDFLAGS="$OLD_LDFLAGS"
        16478  +
        16479  +
        16480  +
        16481  +
        16482  +
        16483  +  OLD_LDFLAGS="$LDFLAGS"
        16484  +  SHOBJFLAGS=""
        16485  +
        16486  +  LDFLAGS="$OLD_LDFLAGS -fPIC -DPIC -dynamic"
        16487  +
        16488  +  cat >conftest.$ac_ext <<_ACEOF
        16489  +/* confdefs.h.  */
        16490  +_ACEOF
        16491  +cat confdefs.h >>conftest.$ac_ext
        16492  +cat >>conftest.$ac_ext <<_ACEOF
        16493  +/* end confdefs.h.  */
        16494  +#include <stdio.h>
        16495  +int unrestst(void);
        16496  +int
        16497  +main ()
        16498  +{
        16499  + printf("okay\n"); unrestst(); return(0);
        16500  +  ;
        16501  +  return 0;
        16502  +}
        16503  +_ACEOF
        16504  +rm -f conftest.$ac_objext conftest$ac_exeext
        16505  +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        16506  +  (eval $ac_link) 2>conftest.er1
        16507  +  ac_status=$?
        16508  +  grep -v '^ *+' conftest.er1 >conftest.err
        16509  +  rm -f conftest.er1
        16510  +  cat conftest.err >&5
        16511  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16512  +  (exit $ac_status); } &&
        16513  +	 { ac_try='test -z "$ac_c_werror_flag"
        16514  +			 || test ! -s conftest.err'
        16515  +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        16516  +  (eval $ac_try) 2>&5
        16517  +  ac_status=$?
        16518  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16519  +  (exit $ac_status); }; } &&
        16520  +	 { ac_try='test -s conftest$ac_exeext'
        16521  +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        16522  +  (eval $ac_try) 2>&5
        16523  +  ac_status=$?
        16524  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        16525  +  (exit $ac_status); }; }; then
        16526  +   SHOBJFLAGS="-fPIC -DPIC"; SHOBJLDFLAGS="-dynamic"
        16527  +else
        16528  +  echo "$as_me: failed program was:" >&5
        16529  +sed 's/^/| /' conftest.$ac_ext >&5
        16530  +
        16531  +
        16532  +  LDFLAGS="$OLD_LDFLAGS"
        16533  +
        16534  +		          echo "$as_me:$LINENO: result: cant" >&5
 16342  16535   echo "${ECHO_T}cant" >&6
 16343         -		    { { echo "$as_me:$LINENO: error: We are unable to make shared objects." >&5
        16536  +		          { { echo "$as_me:$LINENO: error: We are unable to make shared objects." >&5
 16344  16537   echo "$as_me: error: We are unable to make shared objects." >&2;}
 16345  16538      { (exit 1); exit 1; }; }
        16539  +
        16540  +
        16541  +fi
        16542  +rm -f conftest.err conftest.$ac_objext \
        16543  +      conftest$ac_exeext conftest.$ac_ext
        16544  +
        16545  +  LDFLAGS="$OLD_LDFLAGS"
        16546  +
        16547  +
        16548  +
        16549  +fi
        16550  +rm -f conftest.err conftest.$ac_objext \
        16551  +      conftest$ac_exeext conftest.$ac_ext
        16552  +
        16553  +  LDFLAGS="$OLD_LDFLAGS"
        16554  +
        16555  +
        16556  +
        16557  +fi
        16558  +rm -f conftest.err conftest.$ac_objext \
        16559  +      conftest$ac_exeext conftest.$ac_ext
        16560  +
        16561  +  LDFLAGS="$OLD_LDFLAGS"
        16562  +
 16346  16563   
 16347  16564   
 16348  16565   fi
 16349  16566   rm -f conftest.err conftest.$ac_objext \
 16350  16567         conftest$ac_exeext conftest.$ac_ext
 16351  16568   
 16352  16569     LDFLAGS="$OLD_LDFLAGS"
................................................................................
 17231  17448     echo
 17232  17449     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 17233  17450   ## Running $as_me. ##
 17234  17451   _ASBOX
 17235  17452   } >&5
 17236  17453   cat >&5 <<_CSEOF
 17237  17454   
 17238         -This file was extended by libconfig $as_me 0.1.14, which was
        17455  +This file was extended by libconfig $as_me 0.1.15, which was
 17239  17456   generated by GNU Autoconf 2.59.  Invocation command line was
 17240  17457   
 17241  17458     CONFIG_FILES    = $CONFIG_FILES
 17242  17459     CONFIG_HEADERS  = $CONFIG_HEADERS
 17243  17460     CONFIG_LINKS    = $CONFIG_LINKS
 17244  17461     CONFIG_COMMANDS = $CONFIG_COMMANDS
 17245  17462     $ $0 $@
................................................................................
 17291  17508   $config_headers
 17292  17509   
 17293  17510   Report bugs to <bug-autoconf@gnu.org>."
 17294  17511   _ACEOF
 17295  17512   
 17296  17513   cat >>$CONFIG_STATUS <<_ACEOF
 17297  17514   ac_cs_version="\\
 17298         -libconfig config.status 0.1.14
        17515  +libconfig config.status 0.1.15
 17299  17516   configured by $0, generated by GNU Autoconf 2.59,
 17300  17517     with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 17301  17518   
 17302  17519   Copyright (C) 2003 Free Software Foundation, Inc.
 17303  17520   This config.status script is free software; the Free Software Foundation
 17304  17521   gives unlimited permission to copy, distribute and modify it."
 17305  17522   srcdir=$srcdir

Modified configure.ac from [bc16092498] to [ba3548887a].

     1      1   AC_REVISION($Revision $)
     2         -AC_INIT(libconfig, 0.1.14)
            2  +AC_INIT(libconfig, 0.1.15)
     3      3   AC_CONFIG_HEADER(config.h)
     4      4   
     5      5   dnl Find out about the host OS
     6      6   DC_CHK_OS_INFO
     7      7   
     8      8   dnl Checks for programs.
     9      9   AC_PROG_CC
................................................................................
    17     17   DC_DO_TYPE(uint64_t, unsigned, 8)
    18     18   DC_DO_TYPE(int64_t, signed, 8)
    19     19   DC_DO_TYPE(uint32_t, unsigned, 4)
    20     20   DC_DO_TYPE(int32_t, signed, 4)
    21     21   DC_DO_TYPE(uint16_t, unsigned, 2)
    22     22   DC_DO_TYPE(int16_t, signed, 2)
    23     23   
    24         -dnl Use opennet if it's available
    25         -DC_ASK_OPTLIB(opennet, fopen_net, opennet.h, [      Enable opennet support], libopennet, HAVE_LIBOPENNET, HAVE_OPENNET_H)
           24  +dnl This will cause optional libraries to be disabled even if they're
           25  +dnl available and specified.
           26  +DC_ASK_SMALL
    26     27   
    27     28   dnl Checks for Win32 specific things.
    28     29   DC_DO_WIN32
    29     30   
    30     31   dnl Get shared objects flags, calls DC_SYNC_SHLIBOBJS but if libobjs is
    31     32   dnl changed later (by AC_REPLACE_FUNCS, for example) you must call
    32     33   dnl DC_SYNC_SHLIBOBJS again.

Modified libconfig.c from [0b1fdcb0d0] to [787b35b6d1].

   333    333   			break;
   334    334   	}
   335    335   
   336    336   	return(-1);
   337    337   }
   338    338   
   339    339   static int lc_process_environment(const char *appname) {
          340  +#ifndef ENABLE_SMALL
   340    341   	struct lc_varhandler_st *handler = NULL;
   341    342   	size_t appnamelen = 0;
   342    343   	char varnamebuf[128] = {0};
   343    344   	char **currvar;
   344    345   	char *sep = NULL, *value = NULL, *cmd = NULL;
   345    346   	char *ucase_appname = NULL, *ucase_appname_itr = NULL;
   346    347   	char *lastcomponent_handler = NULL;
................................................................................
   448    449   
   449    450   			break;
   450    451   		}
   451    452   	}
   452    453   
   453    454   	free(ucase_appname);
   454    455   
          456  +#endif
   455    457   	return(0);
   456    458   }
   457    459   
   458    460   static int lc_process_cmdline(int argc, char **argv) {
   459    461   	struct lc_varhandler_st *handler = NULL;
   460    462   	char *cmdarg = NULL, *cmdoptarg = NULL;
   461    463   	char *lastcomponent_handler = NULL;

Modified libconfig.spec from [d5be6e85a0] to [70e507a039].

    10     10   Vendor: Keene Enterprises
    11     11   Packager: Roy Keene <libconfig@rkeene.org>
    12     12   
    13     13   %description
    14     14   libconfig is common configuration file parsing library.
    15     15   
    16     16   %prep
    17         -%setup
           17  +%setup -q
    18     18   
    19     19   %build
    20     20   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || exit 1
    21     21   make
    22     22   
    23     23   %install
    24     24   make install