Diff for /parser3/Attic/configure.in between versions 1.76 and 1.87

version 1.76, 2004/04/05 08:14:22 version 1.87, 2005/11/24 14:44:34
Line 2  dnl Process this file with autoconf to p Line 2  dnl Process this file with autoconf to p
 AC_INIT(README)  AC_INIT(README)
 AC_PREREQ(2.57)  AC_PREREQ(2.57)
   
 AM_INIT_AUTOMAKE(parser, 3.1.3, nodefine)  AM_INIT_AUTOMAKE(parser, 3.2.0beta, nodefine)
   
 dnl expand srcdir  dnl expand srcdir
 P3S=`cd $srcdir/src ; pwd`  P3S=`cd $srcdir/src ; pwd`
 AC_SUBST(P3S)  AC_SUBST(P3S)
   
 PARSER_VERSION=$VERSION  dnl AC_CANONICAL_SYSTEM
   AC_CANONICAL_HOST
   
   PARSER_VERSION="$VERSION (compiled on $host)"
 echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new  echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
 echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new  echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
 echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new  echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
Line 22  fi Line 25  fi
   
   
   
 dnl AC_CANONICAL_SYSTEM  
 AC_CANONICAL_HOST  
 AC_SUBST(host_os)  AC_SUBST(host_os)
 case $host_os in  case $host_os in
   *cygwin* ) AC_DEFINE(CYGWIN,,using cygwin building environment);;    *cygwin* ) AC_DEFINE(CYGWIN,,using cygwin building environment);;
Line 106  for c in $CHARSETS_REQUESTED; do Line 107  for c in $CHARSETS_REQUESTED; do
 done  done
   
 # Switching on commentcharset_XXX='#'  # Switching on commentcharset_XXX='#'
 AC_DEFUN(PA_SUBSTCHARSET, [  AC_DEFUN([PA_SUBSTCHARSET], [
         commentcharset_$2='#'          commentcharset_$2='#'
         for c in $CHARSETS_REQUESTED; do          for c in $CHARSETS_REQUESTED; do
                 if test "$1" = "$c"; then                  if test "$1" = "$c"; then
Line 278  AC_ARG_WITH(shared-xml,[  --with-shared- Line 279  AC_ARG_WITH(shared-xml,[  --with-shared-
         if test -z "$GLIB_CONFIG"; then          if test -z "$GLIB_CONFIG"; then
                 GLIB_CONFIG=$XMLBIN/glib-config                  GLIB_CONFIG=$XMLBIN/glib-config
                 if test \! -x $GLIB_CONFIG; then                  if test \! -x $GLIB_CONFIG; then
                         GLIB_CONFIG=glib-config                          GLIB_CONFIG=$XMLBIN/glib2-config
                           if test \! -x $GLIB_CONFIG; then
                                   GLIB_CONFIG=glib-config
                           fi
                 fi                  fi
         fi          fi
         GLIB_CFLAGS=`$GLIB_CONFIG --cflags`          GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
Line 420  AC_SUBST(LIBADD_DL) Line 424  AC_SUBST(LIBADD_DL)
   
 dnl Checks for typedefs, structures, and compiler characteristics.  dnl Checks for typedefs, structures, and compiler characteristics.
   
   AC_C_BIGENDIAN(
           AC_DEFINE(PA_BIG_ENDIAN,,compile for sparc processor)
   ,
           AC_DEFINE(PA_LITTLE_ENDIAN,,compile for intel processor or compatible)
   ,
           AC_MSG_ERROR(word endianness not determined for some obscure reason)
   )
   
 AC_TYPE_SIZE_T  AC_TYPE_SIZE_T
 dnl gmime  dnl gmime
 AC_CHECK_TYPE(off_t, long)  AC_CHECK_TYPE(off_t, long)
Line 502  ftruncate \ Line 514  ftruncate \
 getrusage \  getrusage \
 gettimeofday \  gettimeofday \
 crypt \  crypt \
   sigsetjmp \
 siglongjmp  siglongjmp
 )  )
   

Removed from v.1.76  
changed lines
  Added in v.1.87


E-mail: