Check-in [affd29c5ef]
Overview
Comment:Updated the way configure looks for how to build shared objects. libconfig version 0.0.4
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:affd29c5efcabbce56029bff78ed51f40ed3eff4
User & Date: rkeene on 2004-10-28 23:55:53
Other Links: manifest | tags
Context
2004-10-29
00:35
Fixed OBJLIBS to create a SHOBJLIBS variable that has the correct format. libconfig version 0.0.5 check-in: eacf820f19 user: rkeene tags: trunk
2004-10-28
23:55
Updated the way configure looks for how to build shared objects. libconfig version 0.0.4 check-in: affd29c5ef user: rkeene tags: trunk
23:18
Additional man pages created, and cleaned up check-in: 660883b103 user: rkeene tags: trunk
Changes

Modified Makefile.in from [af557eebf6] to [5329f3b8b0].

    25     25   exec_prefix = @exec_prefix@
    26     26   bindir = @bindir@
    27     27   libdir = @libdir@
    28     28   includedir = @includedir@
    29     29   
    30     30   LIBS = libconfig.$(AREXT) libconfig.$(SHOBJEXT)
    31     31   BINS =
           32  +# The following two lines need to be kept syncronised.
    32     33   OBJS = libconfig.o conf_space.o conf_section.o conf_apache.o conf_colon.o conf_equal.o conf_xml.o
           34  +SHOBJS = libconfig_shr.o conf_space_shr.o conf_section_shr.o conf_apache_shr.o conf_colon_shr.o conf_equal_shr.o conf_xml_shr.o
    33     35   
    34     36   all: $(LIBS) $(BINS)
    35         -libconfig.$(SHOBJEXT): $(OBJS) @LIBOBJS@
    36         -	@echo $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJFLAGS) $(SHOBJLDFLAGS) -o $@ $(^:.o=.c); \
    37         -	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJFLAGS) $(SHOBJLDFLAGS) -o $@ $(^:.o=.c)
           37  +libconfig.$(SHOBJEXT): $(SHOBJS) @LIBOBJS@
           38  +	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJFLAGS) $(SHOBJLDFLAGS) -o $@ $^
    38     39   
    39     40   libconfig.$(AREXT): $(OBJS) @LIBOBJS@
    40     41   	$(AR) rcu $@ $^
    41     42   	-$(RANLIB) $@
    42     43   
    43     44   libconfig.o: libconfig.c compat.h win32.h config.h libconfig.h
           45  +libconfig_shr.o: libconfig.c compat.h win32.h config.h libconfig.h
           46  +	$(CC) $(CPPFLAGS) $(CFLAGS) $(SHOBJFLAGS) -c -o $@ libconfig.c
           47  +
           48  +%_shr.o: %.c
           49  +	$(CC) $(CPPFLAGS) $(CFLAGS) $(SHOBJFLAGS) -c -o $@ $^
    44     50   
    45     51   libconfig.h: libconfig.h.in
    46     52   	cat $^ | $(CPP) $(CPPFLAGS) - | grep -v '^#' | grep -v '^ *$$' | sed 's/^!/#  /g;s/__BLANK_LINE__//' > $@
    47     53   
    48     54   test-lc: $(LIBS) test-lc.c
    49     55   	$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(filter %.c, $^) $(LDFLAGS) -Wl,-R -Wl,. -L. -lconfig
    50     56   

Modified aclocal.m4 from [bd1b160949] to [b683d44d9b].

    29     29   			fi
    30     30   			FOUND=1
    31     31   			break
    32     32   		fi
    33     33   	done
    34     34   ])
    35     35   
    36         -AC_DEFUN(DC_GET_SHOBJFLAGS, [
           36  +dnl Usage:
           37  +dnl    DC_TEST_SHOBJFLAGS(shobjflags, shobjldflags, action-if-not-found)
           38  +dnl
           39  +AC_DEFUN(DC_TEST_SHOBJFLAGS, [
    37     40     AC_SUBST(SHOBJFLAGS)
    38     41     AC_SUBST(SHOBJLDFLAGS)
    39     42   
    40         -  AC_MSG_CHECKING(how to create shared objects)
    41     43     OLD_LDFLAGS="$LDFLAGS"
    42     44     SHOBJFLAGS=""
    43         -  if test -z "$SHOBJFLAGS"; then
    44         -    LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic -fPIC"
    45         -    AC_TRY_LINK([#include <stdio.h>
    46         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-shared -Wl,-G,-z,textoff -fPIC"; SHOBJLDFLAGS="-rdynamic" ], SHOBJFLAGS="", SHOBJFLAGS="");
    47         -  fi
    48         -  if test -z "$SHOBJFLAGS"; then
    49         -    LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic"
    50         -    AC_TRY_LINK([#include <stdio.h>
    51         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-shared -Wl,-G,-z,textoff"; SHOBJLDFLAGS="-rdynamic" ], SHOBJFLAGS="", SHOBJFLAGS="");
    52         -  fi
    53         -  if test -z "$SHOBJFLAGS"; then
    54         -    LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -fPIC"
    55         -    AC_TRY_LINK([#include <stdio.h>
    56         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-shared -Wl,-G,-z,textoff -fPIC"; SHOBJLDFLAGS="" ], SHOBJFLAGS="", SHOBJFLAGS="");
    57         -  fi
    58         -  if test -z "$SHOBJFLAGS"; then
    59         -    LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff"
    60         -    AC_TRY_LINK([#include <stdio.h>
    61         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-shared -Wl,-G,-z,textoff"; SHOBJLDFLAGS="" ], SHOBJFLAGS="", SHOBJFLAGS="");
    62         -  fi
    63         -  if test -z "$SHOBJFLAGS"; then
    64         -    LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic -fPIC"
    65         -    AC_TRY_LINK([#include <stdio.h>
    66         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-Wl,-G,-z,textoff -fPIC"; SHOBJLDFLAGS="-rdynamic" ], SHOBJFLAGS="", SHOBJFLAGS="");
    67         -  fi
    68         -  if test -z "$SHOBJFLAGS"; then
    69         -    LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic"
    70         -    AC_TRY_LINK([#include <stdio.h>
    71         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-Wl,-G,-z,textoff"; SHOBJLDFLAGS="-rdynamic" ], SHOBJFLAGS="", SHOBJFLAGS="");
    72         -  fi
    73         -  if test -z "$SHOBJFLAGS"; then
    74         -    LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -fPIC"
    75         -    AC_TRY_LINK([#include <stdio.h>
    76         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-Wl,-G,-z,textoff -fPIC"; SHOBJLDFLAGS="" ], SHOBJFLAGS="", SHOBJFLAGS="");
    77         -  fi
    78         -  if test -z "$SHOBJFLAGS"; then
    79         -    LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff"
    80         -    AC_TRY_LINK([#include <stdio.h>
    81         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-Wl,-G,-z,textoff"; SHOBJLDFLAGS="" ], SHOBJFLAGS="", SHOBJFLAGS="");
    82         -  fi
    83         -  if test -z "$SHOBJFLAGS"; then
    84         -    LDFLAGS="$LDFLAGS -shared -rdynamic -fPIC"
    85         -    AC_TRY_LINK([#include <stdio.h>
    86         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-shared -fPIC"; SHOBJLDFLAGS="-rdynamic" ], SHOBJFLAGS="", SHOBJFLAGS="");
    87         -  fi
    88         -  if test -z "$SHOBJFLAGS"; then
    89         -    LDFLAGS="$OLD_LDFLAGS -shared -fPIC"
    90         -    AC_TRY_LINK([#include <stdio.h>
    91         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-shared -fPIC"; SHOBJLDFLAGS="" ], SHOBJFLAGS="", SHOBJFLAGS="");
    92         -  fi
    93         -  if test -z "$SHOBJFLAGS"; then
    94         -    LDFLAGS="$OLD_LDFLAGS -shared"
    95         -    AC_TRY_LINK([#include <stdio.h>
    96         -int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="-shared"; SHOBJLDFLAGS="" ], SHOBJFLAGS="", SHOBJFLAGS="");
    97         -  fi
           45  +
           46  +  LDFLAGS="$OLD_LDFLAGS $1 $2"
           47  +
           48  +  AC_TRY_LINK([#include <stdio.h>
           49  +int unrestst(void);], [ printf("okay\n"); unrestst(); return(0); ], [ SHOBJFLAGS="$1"; SHOBJLDFLAGS="$2" ], [
           50  +  LDFLAGS="$OLD_LDFLAGS"
           51  +  $3
           52  +])
           53  +
    98     54     LDFLAGS="$OLD_LDFLAGS"
           55  +])
           56  +
           57  +AC_DEFUN(DC_GET_SHOBJFLAGS, [
           58  +  AC_MSG_CHECKING(how to create shared objects)
           59  +
           60  +  DC_TEST_SHOBJFLAGS([-shared -fPIC], [-rdynamic], [
           61  +    DC_TEST_SHOBJFLAGS([-shared -fPIC], [], [
           62  +      DC_TEST_SHOBJFLAGS([-shared -fPIC], [-rdynamic -Wl,-G,-z,textoff], [
           63  +        DC_TEST_SHOBJFLAGS([-shared -fPIC], [-Wl,-G,-z,textoff], [
           64  +          AC_MSG_ERROR(cant)
           65  +        ])
           66  +      ])
           67  +    ])
           68  +  ])
           69  +
    99     70     AC_MSG_RESULT($SHOBJLDFLAGS $SHOBJFLAGS)
   100     71   ])

Modified configure from [b7be557787] to [7deba5fa62].

     1      1   #! /bin/sh
     2      2   # From configure.in Revision .
     3      3   # Guess values for system-dependent variables and create Makefiles.
     4         -# Generated by GNU Autoconf 2.59 for libconfig 0.0.2.
            4  +# Generated by GNU Autoconf 2.59 for libconfig 0.0.4.
     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.0.2'
   272         -PACKAGE_STRING='libconfig 0.0.2'
          271  +PACKAGE_VERSION='0.0.4'
          272  +PACKAGE_STRING='libconfig 0.0.4'
   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.0.2 to adapt to many kinds of systems.
          781  +\`configure' configures libconfig 0.0.4 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.
................................................................................
   831    831   
   832    832     cat <<\_ACEOF
   833    833   _ACEOF
   834    834   fi
   835    835   
   836    836   if test -n "$ac_init_help"; then
   837    837     case $ac_init_help in
   838         -     short | recursive ) echo "Configuration of libconfig 0.0.2:";;
          838  +     short | recursive ) echo "Configuration of libconfig 0.0.4:";;
   839    839      esac
   840    840     cat <<\_ACEOF
   841    841   
   842    842   Some influential environment variables:
   843    843     CC          C compiler command
   844    844     CFLAGS      C compiler flags
   845    845     LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
................................................................................
   942    942       cd $ac_popdir
   943    943     done
   944    944   fi
   945    945   
   946    946   test -n "$ac_init_help" && exit 0
   947    947   if $ac_init_version; then
   948    948     cat <<\_ACEOF
   949         -libconfig configure 0.0.2
          949  +libconfig configure 0.0.4
   950    950   generated by GNU Autoconf 2.59
   951    951   
   952    952   Copyright (C) 2003 Free Software Foundation, Inc.
   953    953   This configure script is free software; the Free Software Foundation
   954    954   gives unlimited permission to copy, distribute and modify it.
   955    955   _ACEOF
   956    956     exit 0
   957    957   fi
   958    958   exec 5>config.log
   959    959   cat >&5 <<_ACEOF
   960    960   This file contains any messages produced by compilers while
   961    961   running configure, to aid debugging if configure makes a mistake.
   962    962   
   963         -It was created by libconfig $as_me 0.0.2, which was
          963  +It was created by libconfig $as_me 0.0.4, which was
   964    964   generated by GNU Autoconf 2.59.  Invocation command line was
   965    965   
   966    966     $ $0 $@
   967    967   
   968    968   _ACEOF
   969    969   {
   970    970   cat <<_ASUNAME
................................................................................
 15723  15723   fi
 15724  15724   
 15725  15725   done
 15726  15726   
 15727  15727   
 15728  15728   
 15729  15729   
 15730         -
 15731         -
 15732         -
 15733  15730     echo "$as_me:$LINENO: checking how to create shared objects" >&5
 15734  15731   echo $ECHO_N "checking how to create shared objects... $ECHO_C" >&6
        15732  +
        15733  +
        15734  +
        15735  +
        15736  +
 15735  15737     OLD_LDFLAGS="$LDFLAGS"
 15736  15738     SHOBJFLAGS=""
 15737         -  if test -z "$SHOBJFLAGS"; then
 15738         -    LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic -fPIC"
 15739         -    cat >conftest.$ac_ext <<_ACEOF
 15740         -/* confdefs.h.  */
 15741         -_ACEOF
 15742         -cat confdefs.h >>conftest.$ac_ext
 15743         -cat >>conftest.$ac_ext <<_ACEOF
 15744         -/* end confdefs.h.  */
 15745         -#include <stdio.h>
 15746         -int unrestst(void);
 15747         -int
 15748         -main ()
 15749         -{
 15750         - printf("okay\n"); unrestst(); return(0);
 15751         -  ;
 15752         -  return 0;
 15753         -}
 15754         -_ACEOF
 15755         -rm -f conftest.$ac_objext conftest$ac_exeext
 15756         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 15757         -  (eval $ac_link) 2>conftest.er1
 15758         -  ac_status=$?
 15759         -  grep -v '^ *+' conftest.er1 >conftest.err
 15760         -  rm -f conftest.er1
 15761         -  cat conftest.err >&5
 15762         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15763         -  (exit $ac_status); } &&
 15764         -	 { ac_try='test -z "$ac_c_werror_flag"
 15765         -			 || test ! -s conftest.err'
 15766         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15767         -  (eval $ac_try) 2>&5
 15768         -  ac_status=$?
 15769         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15770         -  (exit $ac_status); }; } &&
 15771         -	 { ac_try='test -s conftest$ac_exeext'
 15772         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15773         -  (eval $ac_try) 2>&5
 15774         -  ac_status=$?
 15775         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15776         -  (exit $ac_status); }; }; then
 15777         -   SHOBJFLAGS="-shared -Wl,-G,-z,textoff -fPIC"; SHOBJLDFLAGS="-rdynamic"
 15778         -else
 15779         -  echo "$as_me: failed program was:" >&5
 15780         -sed 's/^/| /' conftest.$ac_ext >&5
 15781         -
 15782         -SHOBJFLAGS=""
 15783         -fi
 15784         -rm -f conftest.err conftest.$ac_objext \
 15785         -      conftest$ac_exeext conftest.$ac_ext;
 15786         -  fi
 15787         -  if test -z "$SHOBJFLAGS"; then
 15788         -    LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic"
 15789         -    cat >conftest.$ac_ext <<_ACEOF
 15790         -/* confdefs.h.  */
 15791         -_ACEOF
 15792         -cat confdefs.h >>conftest.$ac_ext
 15793         -cat >>conftest.$ac_ext <<_ACEOF
 15794         -/* end confdefs.h.  */
 15795         -#include <stdio.h>
 15796         -int unrestst(void);
 15797         -int
 15798         -main ()
 15799         -{
 15800         - printf("okay\n"); unrestst(); return(0);
 15801         -  ;
 15802         -  return 0;
 15803         -}
 15804         -_ACEOF
 15805         -rm -f conftest.$ac_objext conftest$ac_exeext
 15806         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 15807         -  (eval $ac_link) 2>conftest.er1
 15808         -  ac_status=$?
 15809         -  grep -v '^ *+' conftest.er1 >conftest.err
 15810         -  rm -f conftest.er1
 15811         -  cat conftest.err >&5
 15812         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15813         -  (exit $ac_status); } &&
 15814         -	 { ac_try='test -z "$ac_c_werror_flag"
 15815         -			 || test ! -s conftest.err'
 15816         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15817         -  (eval $ac_try) 2>&5
 15818         -  ac_status=$?
 15819         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15820         -  (exit $ac_status); }; } &&
 15821         -	 { ac_try='test -s conftest$ac_exeext'
 15822         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15823         -  (eval $ac_try) 2>&5
 15824         -  ac_status=$?
 15825         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15826         -  (exit $ac_status); }; }; then
 15827         -   SHOBJFLAGS="-shared -Wl,-G,-z,textoff"; SHOBJLDFLAGS="-rdynamic"
 15828         -else
 15829         -  echo "$as_me: failed program was:" >&5
 15830         -sed 's/^/| /' conftest.$ac_ext >&5
 15831         -
 15832         -SHOBJFLAGS=""
 15833         -fi
 15834         -rm -f conftest.err conftest.$ac_objext \
 15835         -      conftest$ac_exeext conftest.$ac_ext;
 15836         -  fi
 15837         -  if test -z "$SHOBJFLAGS"; then
 15838         -    LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -fPIC"
 15839         -    cat >conftest.$ac_ext <<_ACEOF
 15840         -/* confdefs.h.  */
 15841         -_ACEOF
 15842         -cat confdefs.h >>conftest.$ac_ext
 15843         -cat >>conftest.$ac_ext <<_ACEOF
 15844         -/* end confdefs.h.  */
 15845         -#include <stdio.h>
 15846         -int unrestst(void);
 15847         -int
 15848         -main ()
 15849         -{
 15850         - printf("okay\n"); unrestst(); return(0);
 15851         -  ;
 15852         -  return 0;
 15853         -}
 15854         -_ACEOF
 15855         -rm -f conftest.$ac_objext conftest$ac_exeext
 15856         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 15857         -  (eval $ac_link) 2>conftest.er1
 15858         -  ac_status=$?
 15859         -  grep -v '^ *+' conftest.er1 >conftest.err
 15860         -  rm -f conftest.er1
 15861         -  cat conftest.err >&5
 15862         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15863         -  (exit $ac_status); } &&
 15864         -	 { ac_try='test -z "$ac_c_werror_flag"
 15865         -			 || test ! -s conftest.err'
 15866         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15867         -  (eval $ac_try) 2>&5
 15868         -  ac_status=$?
 15869         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15870         -  (exit $ac_status); }; } &&
 15871         -	 { ac_try='test -s conftest$ac_exeext'
 15872         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15873         -  (eval $ac_try) 2>&5
 15874         -  ac_status=$?
 15875         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15876         -  (exit $ac_status); }; }; then
 15877         -   SHOBJFLAGS="-shared -Wl,-G,-z,textoff -fPIC"; SHOBJLDFLAGS=""
 15878         -else
 15879         -  echo "$as_me: failed program was:" >&5
 15880         -sed 's/^/| /' conftest.$ac_ext >&5
 15881         -
 15882         -SHOBJFLAGS=""
 15883         -fi
 15884         -rm -f conftest.err conftest.$ac_objext \
 15885         -      conftest$ac_exeext conftest.$ac_ext;
 15886         -  fi
 15887         -  if test -z "$SHOBJFLAGS"; then
 15888         -    LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff"
 15889         -    cat >conftest.$ac_ext <<_ACEOF
 15890         -/* confdefs.h.  */
 15891         -_ACEOF
 15892         -cat confdefs.h >>conftest.$ac_ext
 15893         -cat >>conftest.$ac_ext <<_ACEOF
 15894         -/* end confdefs.h.  */
 15895         -#include <stdio.h>
 15896         -int unrestst(void);
 15897         -int
 15898         -main ()
 15899         -{
 15900         - printf("okay\n"); unrestst(); return(0);
 15901         -  ;
 15902         -  return 0;
 15903         -}
 15904         -_ACEOF
 15905         -rm -f conftest.$ac_objext conftest$ac_exeext
 15906         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 15907         -  (eval $ac_link) 2>conftest.er1
 15908         -  ac_status=$?
 15909         -  grep -v '^ *+' conftest.er1 >conftest.err
 15910         -  rm -f conftest.er1
 15911         -  cat conftest.err >&5
 15912         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15913         -  (exit $ac_status); } &&
 15914         -	 { ac_try='test -z "$ac_c_werror_flag"
 15915         -			 || test ! -s conftest.err'
 15916         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15917         -  (eval $ac_try) 2>&5
 15918         -  ac_status=$?
 15919         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15920         -  (exit $ac_status); }; } &&
 15921         -	 { ac_try='test -s conftest$ac_exeext'
 15922         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15923         -  (eval $ac_try) 2>&5
 15924         -  ac_status=$?
 15925         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15926         -  (exit $ac_status); }; }; then
 15927         -   SHOBJFLAGS="-shared -Wl,-G,-z,textoff"; SHOBJLDFLAGS=""
 15928         -else
 15929         -  echo "$as_me: failed program was:" >&5
 15930         -sed 's/^/| /' conftest.$ac_ext >&5
 15931         -
 15932         -SHOBJFLAGS=""
 15933         -fi
 15934         -rm -f conftest.err conftest.$ac_objext \
 15935         -      conftest$ac_exeext conftest.$ac_ext;
 15936         -  fi
 15937         -  if test -z "$SHOBJFLAGS"; then
 15938         -    LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic -fPIC"
 15939         -    cat >conftest.$ac_ext <<_ACEOF
 15940         -/* confdefs.h.  */
 15941         -_ACEOF
 15942         -cat confdefs.h >>conftest.$ac_ext
 15943         -cat >>conftest.$ac_ext <<_ACEOF
 15944         -/* end confdefs.h.  */
 15945         -#include <stdio.h>
 15946         -int unrestst(void);
 15947         -int
 15948         -main ()
 15949         -{
 15950         - printf("okay\n"); unrestst(); return(0);
 15951         -  ;
 15952         -  return 0;
 15953         -}
 15954         -_ACEOF
 15955         -rm -f conftest.$ac_objext conftest$ac_exeext
 15956         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 15957         -  (eval $ac_link) 2>conftest.er1
 15958         -  ac_status=$?
 15959         -  grep -v '^ *+' conftest.er1 >conftest.err
 15960         -  rm -f conftest.er1
 15961         -  cat conftest.err >&5
 15962         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15963         -  (exit $ac_status); } &&
 15964         -	 { ac_try='test -z "$ac_c_werror_flag"
 15965         -			 || test ! -s conftest.err'
 15966         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15967         -  (eval $ac_try) 2>&5
 15968         -  ac_status=$?
 15969         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15970         -  (exit $ac_status); }; } &&
 15971         -	 { ac_try='test -s conftest$ac_exeext'
 15972         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15973         -  (eval $ac_try) 2>&5
 15974         -  ac_status=$?
 15975         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15976         -  (exit $ac_status); }; }; then
 15977         -   SHOBJFLAGS="-Wl,-G,-z,textoff -fPIC"; SHOBJLDFLAGS="-rdynamic"
 15978         -else
 15979         -  echo "$as_me: failed program was:" >&5
 15980         -sed 's/^/| /' conftest.$ac_ext >&5
 15981         -
 15982         -SHOBJFLAGS=""
 15983         -fi
 15984         -rm -f conftest.err conftest.$ac_objext \
 15985         -      conftest$ac_exeext conftest.$ac_ext;
 15986         -  fi
 15987         -  if test -z "$SHOBJFLAGS"; then
 15988         -    LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic"
 15989         -    cat >conftest.$ac_ext <<_ACEOF
 15990         -/* confdefs.h.  */
 15991         -_ACEOF
 15992         -cat confdefs.h >>conftest.$ac_ext
 15993         -cat >>conftest.$ac_ext <<_ACEOF
 15994         -/* end confdefs.h.  */
 15995         -#include <stdio.h>
 15996         -int unrestst(void);
 15997         -int
 15998         -main ()
 15999         -{
 16000         - printf("okay\n"); unrestst(); return(0);
 16001         -  ;
 16002         -  return 0;
 16003         -}
 16004         -_ACEOF
 16005         -rm -f conftest.$ac_objext conftest$ac_exeext
 16006         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 16007         -  (eval $ac_link) 2>conftest.er1
 16008         -  ac_status=$?
 16009         -  grep -v '^ *+' conftest.er1 >conftest.err
 16010         -  rm -f conftest.er1
 16011         -  cat conftest.err >&5
 16012         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16013         -  (exit $ac_status); } &&
 16014         -	 { ac_try='test -z "$ac_c_werror_flag"
 16015         -			 || test ! -s conftest.err'
 16016         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16017         -  (eval $ac_try) 2>&5
 16018         -  ac_status=$?
 16019         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16020         -  (exit $ac_status); }; } &&
 16021         -	 { ac_try='test -s conftest$ac_exeext'
 16022         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16023         -  (eval $ac_try) 2>&5
 16024         -  ac_status=$?
 16025         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16026         -  (exit $ac_status); }; }; then
 16027         -   SHOBJFLAGS="-Wl,-G,-z,textoff"; SHOBJLDFLAGS="-rdynamic"
 16028         -else
 16029         -  echo "$as_me: failed program was:" >&5
 16030         -sed 's/^/| /' conftest.$ac_ext >&5
 16031         -
 16032         -SHOBJFLAGS=""
 16033         -fi
 16034         -rm -f conftest.err conftest.$ac_objext \
 16035         -      conftest$ac_exeext conftest.$ac_ext;
 16036         -  fi
 16037         -  if test -z "$SHOBJFLAGS"; then
 16038         -    LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -fPIC"
 16039         -    cat >conftest.$ac_ext <<_ACEOF
 16040         -/* confdefs.h.  */
 16041         -_ACEOF
 16042         -cat confdefs.h >>conftest.$ac_ext
 16043         -cat >>conftest.$ac_ext <<_ACEOF
 16044         -/* end confdefs.h.  */
 16045         -#include <stdio.h>
 16046         -int unrestst(void);
 16047         -int
 16048         -main ()
 16049         -{
 16050         - printf("okay\n"); unrestst(); return(0);
 16051         -  ;
 16052         -  return 0;
 16053         -}
 16054         -_ACEOF
 16055         -rm -f conftest.$ac_objext conftest$ac_exeext
 16056         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 16057         -  (eval $ac_link) 2>conftest.er1
 16058         -  ac_status=$?
 16059         -  grep -v '^ *+' conftest.er1 >conftest.err
 16060         -  rm -f conftest.er1
 16061         -  cat conftest.err >&5
 16062         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16063         -  (exit $ac_status); } &&
 16064         -	 { ac_try='test -z "$ac_c_werror_flag"
 16065         -			 || test ! -s conftest.err'
 16066         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16067         -  (eval $ac_try) 2>&5
 16068         -  ac_status=$?
 16069         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16070         -  (exit $ac_status); }; } &&
 16071         -	 { ac_try='test -s conftest$ac_exeext'
 16072         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16073         -  (eval $ac_try) 2>&5
 16074         -  ac_status=$?
 16075         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16076         -  (exit $ac_status); }; }; then
 16077         -   SHOBJFLAGS="-Wl,-G,-z,textoff -fPIC"; SHOBJLDFLAGS=""
 16078         -else
 16079         -  echo "$as_me: failed program was:" >&5
 16080         -sed 's/^/| /' conftest.$ac_ext >&5
 16081         -
 16082         -SHOBJFLAGS=""
 16083         -fi
 16084         -rm -f conftest.err conftest.$ac_objext \
 16085         -      conftest$ac_exeext conftest.$ac_ext;
 16086         -  fi
 16087         -  if test -z "$SHOBJFLAGS"; then
 16088         -    LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff"
 16089         -    cat >conftest.$ac_ext <<_ACEOF
 16090         -/* confdefs.h.  */
 16091         -_ACEOF
 16092         -cat confdefs.h >>conftest.$ac_ext
 16093         -cat >>conftest.$ac_ext <<_ACEOF
 16094         -/* end confdefs.h.  */
 16095         -#include <stdio.h>
 16096         -int unrestst(void);
 16097         -int
 16098         -main ()
 16099         -{
 16100         - printf("okay\n"); unrestst(); return(0);
 16101         -  ;
 16102         -  return 0;
 16103         -}
 16104         -_ACEOF
 16105         -rm -f conftest.$ac_objext conftest$ac_exeext
 16106         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 16107         -  (eval $ac_link) 2>conftest.er1
 16108         -  ac_status=$?
 16109         -  grep -v '^ *+' conftest.er1 >conftest.err
 16110         -  rm -f conftest.er1
 16111         -  cat conftest.err >&5
 16112         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16113         -  (exit $ac_status); } &&
 16114         -	 { ac_try='test -z "$ac_c_werror_flag"
 16115         -			 || test ! -s conftest.err'
 16116         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16117         -  (eval $ac_try) 2>&5
 16118         -  ac_status=$?
 16119         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16120         -  (exit $ac_status); }; } &&
 16121         -	 { ac_try='test -s conftest$ac_exeext'
 16122         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16123         -  (eval $ac_try) 2>&5
 16124         -  ac_status=$?
 16125         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16126         -  (exit $ac_status); }; }; then
 16127         -   SHOBJFLAGS="-Wl,-G,-z,textoff"; SHOBJLDFLAGS=""
 16128         -else
 16129         -  echo "$as_me: failed program was:" >&5
 16130         -sed 's/^/| /' conftest.$ac_ext >&5
 16131         -
 16132         -SHOBJFLAGS=""
 16133         -fi
 16134         -rm -f conftest.err conftest.$ac_objext \
 16135         -      conftest$ac_exeext conftest.$ac_ext;
 16136         -  fi
 16137         -  if test -z "$SHOBJFLAGS"; then
 16138         -    LDFLAGS="$LDFLAGS -shared -rdynamic -fPIC"
 16139         -    cat >conftest.$ac_ext <<_ACEOF
        15739  +
        15740  +  LDFLAGS="$OLD_LDFLAGS -shared -fPIC -rdynamic"
        15741  +
        15742  +  cat >conftest.$ac_ext <<_ACEOF
 16140  15743   /* confdefs.h.  */
 16141  15744   _ACEOF
 16142  15745   cat confdefs.h >>conftest.$ac_ext
 16143  15746   cat >>conftest.$ac_ext <<_ACEOF
 16144  15747   /* end confdefs.h.  */
 16145  15748   #include <stdio.h>
 16146  15749   int unrestst(void);
................................................................................
 16175  15778     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16176  15779     (exit $ac_status); }; }; then
 16177  15780      SHOBJFLAGS="-shared -fPIC"; SHOBJLDFLAGS="-rdynamic"
 16178  15781   else
 16179  15782     echo "$as_me: failed program was:" >&5
 16180  15783   sed 's/^/| /' conftest.$ac_ext >&5
 16181  15784   
 16182         -SHOBJFLAGS=""
 16183         -fi
 16184         -rm -f conftest.err conftest.$ac_objext \
 16185         -      conftest$ac_exeext conftest.$ac_ext;
 16186         -  fi
 16187         -  if test -z "$SHOBJFLAGS"; then
 16188         -    LDFLAGS="$OLD_LDFLAGS -shared -fPIC"
 16189         -    cat >conftest.$ac_ext <<_ACEOF
        15785  +
        15786  +  LDFLAGS="$OLD_LDFLAGS"
        15787  +
        15788  +
        15789  +
        15790  +
        15791  +
        15792  +  OLD_LDFLAGS="$LDFLAGS"
        15793  +  SHOBJFLAGS=""
        15794  +
        15795  +  LDFLAGS="$OLD_LDFLAGS -shared -fPIC "
        15796  +
        15797  +  cat >conftest.$ac_ext <<_ACEOF
 16190  15798   /* confdefs.h.  */
 16191  15799   _ACEOF
 16192  15800   cat confdefs.h >>conftest.$ac_ext
 16193  15801   cat >>conftest.$ac_ext <<_ACEOF
 16194  15802   /* end confdefs.h.  */
 16195  15803   #include <stdio.h>
 16196  15804   int unrestst(void);
................................................................................
 16225  15833     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16226  15834     (exit $ac_status); }; }; then
 16227  15835      SHOBJFLAGS="-shared -fPIC"; SHOBJLDFLAGS=""
 16228  15836   else
 16229  15837     echo "$as_me: failed program was:" >&5
 16230  15838   sed 's/^/| /' conftest.$ac_ext >&5
 16231  15839   
 16232         -SHOBJFLAGS=""
 16233         -fi
 16234         -rm -f conftest.err conftest.$ac_objext \
 16235         -      conftest$ac_exeext conftest.$ac_ext;
 16236         -  fi
 16237         -  if test -z "$SHOBJFLAGS"; then
 16238         -    LDFLAGS="$OLD_LDFLAGS -shared"
 16239         -    cat >conftest.$ac_ext <<_ACEOF
        15840  +
        15841  +  LDFLAGS="$OLD_LDFLAGS"
        15842  +
        15843  +
        15844  +
        15845  +
        15846  +
        15847  +  OLD_LDFLAGS="$LDFLAGS"
        15848  +  SHOBJFLAGS=""
        15849  +
        15850  +  LDFLAGS="$OLD_LDFLAGS -shared -fPIC -rdynamic -Wl,-G,-z,textoff"
        15851  +
        15852  +  cat >conftest.$ac_ext <<_ACEOF
        15853  +/* confdefs.h.  */
        15854  +_ACEOF
        15855  +cat confdefs.h >>conftest.$ac_ext
        15856  +cat >>conftest.$ac_ext <<_ACEOF
        15857  +/* end confdefs.h.  */
        15858  +#include <stdio.h>
        15859  +int unrestst(void);
        15860  +int
        15861  +main ()
        15862  +{
        15863  + printf("okay\n"); unrestst(); return(0);
        15864  +  ;
        15865  +  return 0;
        15866  +}
        15867  +_ACEOF
        15868  +rm -f conftest.$ac_objext conftest$ac_exeext
        15869  +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        15870  +  (eval $ac_link) 2>conftest.er1
        15871  +  ac_status=$?
        15872  +  grep -v '^ *+' conftest.er1 >conftest.err
        15873  +  rm -f conftest.er1
        15874  +  cat conftest.err >&5
        15875  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        15876  +  (exit $ac_status); } &&
        15877  +	 { ac_try='test -z "$ac_c_werror_flag"
        15878  +			 || test ! -s conftest.err'
        15879  +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        15880  +  (eval $ac_try) 2>&5
        15881  +  ac_status=$?
        15882  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        15883  +  (exit $ac_status); }; } &&
        15884  +	 { ac_try='test -s conftest$ac_exeext'
        15885  +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        15886  +  (eval $ac_try) 2>&5
        15887  +  ac_status=$?
        15888  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
        15889  +  (exit $ac_status); }; }; then
        15890  +   SHOBJFLAGS="-shared -fPIC"; SHOBJLDFLAGS="-rdynamic -Wl,-G,-z,textoff"
        15891  +else
        15892  +  echo "$as_me: failed program was:" >&5
        15893  +sed 's/^/| /' conftest.$ac_ext >&5
        15894  +
        15895  +
        15896  +  LDFLAGS="$OLD_LDFLAGS"
        15897  +
        15898  +
        15899  +
        15900  +
        15901  +
        15902  +  OLD_LDFLAGS="$LDFLAGS"
        15903  +  SHOBJFLAGS=""
        15904  +
        15905  +  LDFLAGS="$OLD_LDFLAGS -shared -fPIC -Wl,-G,-z,textoff"
        15906  +
        15907  +  cat >conftest.$ac_ext <<_ACEOF
 16240  15908   /* confdefs.h.  */
 16241  15909   _ACEOF
 16242  15910   cat confdefs.h >>conftest.$ac_ext
 16243  15911   cat >>conftest.$ac_ext <<_ACEOF
 16244  15912   /* end confdefs.h.  */
 16245  15913   #include <stdio.h>
 16246  15914   int unrestst(void);
................................................................................
 16270  15938     (exit $ac_status); }; } &&
 16271  15939   	 { ac_try='test -s conftest$ac_exeext'
 16272  15940     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 16273  15941     (eval $ac_try) 2>&5
 16274  15942     ac_status=$?
 16275  15943     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16276  15944     (exit $ac_status); }; }; then
 16277         -   SHOBJFLAGS="-shared"; SHOBJLDFLAGS=""
        15945  +   SHOBJFLAGS="-shared -fPIC"; SHOBJLDFLAGS="-Wl,-G,-z,textoff"
 16278  15946   else
 16279  15947     echo "$as_me: failed program was:" >&5
 16280  15948   sed 's/^/| /' conftest.$ac_ext >&5
 16281  15949   
 16282         -SHOBJFLAGS=""
        15950  +
        15951  +  LDFLAGS="$OLD_LDFLAGS"
        15952  +
        15953  +          { { echo "$as_me:$LINENO: error: cant" >&5
        15954  +echo "$as_me: error: cant" >&2;}
        15955  +   { (exit 1); exit 1; }; }
        15956  +
        15957  +
        15958  +fi
        15959  +rm -f conftest.err conftest.$ac_objext \
        15960  +      conftest$ac_exeext conftest.$ac_ext
        15961  +
        15962  +  LDFLAGS="$OLD_LDFLAGS"
        15963  +
        15964  +
        15965  +
        15966  +fi
        15967  +rm -f conftest.err conftest.$ac_objext \
        15968  +      conftest$ac_exeext conftest.$ac_ext
        15969  +
        15970  +  LDFLAGS="$OLD_LDFLAGS"
        15971  +
        15972  +
        15973  +
        15974  +fi
        15975  +rm -f conftest.err conftest.$ac_objext \
        15976  +      conftest$ac_exeext conftest.$ac_ext
        15977  +
        15978  +  LDFLAGS="$OLD_LDFLAGS"
        15979  +
        15980  +
        15981  +
 16283  15982   fi
 16284  15983   rm -f conftest.err conftest.$ac_objext \
 16285         -      conftest$ac_exeext conftest.$ac_ext;
 16286         -  fi
        15984  +      conftest$ac_exeext conftest.$ac_ext
        15985  +
 16287  15986     LDFLAGS="$OLD_LDFLAGS"
        15987  +
        15988  +
 16288  15989     echo "$as_me:$LINENO: result: $SHOBJLDFLAGS $SHOBJFLAGS" >&5
 16289  15990   echo "${ECHO_T}$SHOBJLDFLAGS $SHOBJFLAGS" >&6
 16290  15991   
 16291  15992   
 16292  15993                                                               ac_config_files="$ac_config_files Makefile lc_geterrno.3 lc_process.3 lc_register_var.3 lc_geterrstr.3 lc_register_callback.3"
 16293  15994   cat >confcache <<\_ACEOF
 16294  15995   # This file is a shell script that caches the results of configure
................................................................................
 16648  16349     echo
 16649  16350     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 16650  16351   ## Running $as_me. ##
 16651  16352   _ASBOX
 16652  16353   } >&5
 16653  16354   cat >&5 <<_CSEOF
 16654  16355   
 16655         -This file was extended by libconfig $as_me 0.0.2, which was
        16356  +This file was extended by libconfig $as_me 0.0.4, which was
 16656  16357   generated by GNU Autoconf 2.59.  Invocation command line was
 16657  16358   
 16658  16359     CONFIG_FILES    = $CONFIG_FILES
 16659  16360     CONFIG_HEADERS  = $CONFIG_HEADERS
 16660  16361     CONFIG_LINKS    = $CONFIG_LINKS
 16661  16362     CONFIG_COMMANDS = $CONFIG_COMMANDS
 16662  16363     $ $0 $@
................................................................................
 16708  16409   $config_headers
 16709  16410   
 16710  16411   Report bugs to <bug-autoconf@gnu.org>."
 16711  16412   _ACEOF
 16712  16413   
 16713  16414   cat >>$CONFIG_STATUS <<_ACEOF
 16714  16415   ac_cs_version="\\
 16715         -libconfig config.status 0.0.2
        16416  +libconfig config.status 0.0.4
 16716  16417   configured by $0, generated by GNU Autoconf 2.59,
 16717  16418     with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 16718  16419   
 16719  16420   Copyright (C) 2003 Free Software Foundation, Inc.
 16720  16421   This config.status script is free software; the Free Software Foundation
 16721  16422   gives unlimited permission to copy, distribute and modify it."
 16722  16423   srcdir=$srcdir

Modified libconfig.h.in from [e147fc6e4e] to [27038f8b4f].

    11     11           LC_CONF_SPACE,
    12     12           LC_CONF_XML
    13     13   } lc_conf_type_t;
    14     14   
    15     15   __BLANK_LINE__
    16     16   
    17     17   typedef enum {
    18         -        LC_VAR_UNKNOWN,			/* Requires no arguments. */
    19         -        LC_VAR_NONE,			/* Requires no arguments. */
           18  +        LC_VAR_UNKNOWN,
           19  +        LC_VAR_NONE,
    20     20           LC_VAR_STRING,
    21     21           LC_VAR_LONG_LONG,
    22     22           LC_VAR_LONG,
    23     23           LC_VAR_INT,
    24     24           LC_VAR_SHORT,
    25     25           LC_VAR_BOOL,
    26     26           LC_VAR_FILENAME,
................................................................................
    30     30           LC_VAR_SIZE_INT,
    31     31           LC_VAR_SIZE_SHORT,
    32     32           LC_VAR_TIME,
    33     33           LC_VAR_DATE,
    34     34           LC_VAR_SECTION,
    35     35           LC_VAR_SECTIONSTART,
    36     36           LC_VAR_SECTIONEND,
    37         -	LC_VAR_BOOL_BY_EXISTANCE	/* Requires no arguments. */
           37  +        LC_VAR_BOOL_BY_EXISTANCE
    38     38   } lc_var_type_t;
    39     39   
    40     40   __BLANK_LINE__
    41     41   
    42     42   typedef enum {
    43     43           LC_FLAGS_VAR,
    44     44           LC_FLAGS_CMDLINE,
           45  +        LC_FLAGS_ENVIRON,
    45     46           LC_FLAGS_SECTIONSTART,
    46     47           LC_FLAGS_SECTIONEND
    47     48   } lc_flags_t;
    48     49   
    49     50   __BLANK_LINE__
    50     51   
    51     52   typedef enum {