dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] treecc ChangeLog auto_gen.sh configure.ac confi...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] treecc ChangeLog auto_gen.sh configure.ac confi...
Date: Wed, 01 Oct 2008 16:23:07 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    treecc
Changes by:     Klaus Treichel <ktreichel>      08/10/01 16:23:07

Modified files:
        .              : ChangeLog auto_gen.sh 
Added files:
        .              : configure.ac 
Removed files:
        .              : configure.in 

Log message:
        Update build system.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/treecc/ChangeLog?cvsroot=dotgnu-pnet&r1=1.131&r2=1.132
http://cvs.savannah.gnu.org/viewcvs/treecc/auto_gen.sh?cvsroot=dotgnu-pnet&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/treecc/configure.ac?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/treecc/configure.in?cvsroot=dotgnu-pnet&r1=1.52&r2=0

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/treecc/ChangeLog,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -b -r1.131 -r1.132
--- ChangeLog   29 Sep 2008 16:21:48 -0000      1.131
+++ ChangeLog   1 Oct 2008 16:23:05 -0000       1.132
@@ -1,3 +1,11 @@
+2008-10-01  Klaus Treichel  <address@hidden>
+
+       * auto_gen.sh: Simply call autoreconf -fi now.
+
+       * configure.in: Remove and replace by configure.ac.
+
+       * configure.ac: Add updated version of configure.in.
+
 2008-09-29  Andreas Färber  <address@hidden>
 
        * Makefile.am: Fix VPATH support for building skels.c. (patch #6415)

Index: auto_gen.sh
===================================================================
RCS file: /cvsroot/dotgnu-pnet/treecc/auto_gen.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- auto_gen.sh 15 Aug 2002 23:27:39 -0000      1.5
+++ auto_gen.sh 1 Oct 2008 16:23:06 -0000       1.6
@@ -2,7 +2,7 @@
 #
 # auto_gen.sh - Make the Makefile.in and configure files.
 #
-# Copyright (C) 2001, 2002  Southern Storm Software, Pty Ltd.
+# Copyright (C) 2001, 2002, 2008  Southern Storm Software, Pty Ltd.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -18,20 +18,9 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-# Run aclocal to update the macros.
-aclocal
+# This script exists only for convenience purposes.
 
-# Run autoheader to create the config.h.in file.
-autoheader
+# Run autoreconf
+autoreconf -fi
 
-# Get extra options to use depending upon the automake version.
-AM_VERSION=`automake --version`
-case "$AM_VERSION" in
-    automake*1.4*) AM_FLAGS="" ;;
-                *) AM_FLAGS="--ignore-deps" ;;
-esac
-
-# Run automake and autoconf.
-automake --add-missing --copy $AM_FLAGS
-autoconf
 exit 0

Index: configure.ac
===================================================================
RCS file: configure.ac
diff -N configure.ac
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ configure.ac        1 Oct 2008 16:23:06 -0000       1.1
@@ -0,0 +1,94 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT([GNU Treecc], [0.3.11], address@hidden)
+AC_CONFIG_SRCDIR([input.h])
+AC_CANONICAL_TARGET
+AM_INIT_AUTOMAKE
+AC_CONFIG_HEADERS([config.h])
+AM_MAINTAINER_MODE
+
+dnl Turn off the cygwin library if building for Win32.
+AC_MSG_CHECKING([if building for some Win32 platform])
+case "$host" in
+       *-*-mingw*|*-*-cygwin*)
+               platform_win32=yes
+               CC="gcc -mno-cygwin"
+               ;;
+       *-*-mingw*)
+               platform_win32=yes
+               ;;
+       *)
+               platform_win32=no
+               ;;
+esac
+AC_MSG_RESULT($platform_win32)
+
+AC_MSG_CHECKING([if building for BeOS platform])
+case "$host" in
+       *-*-beos*)
+               platform_beos=yes
+               LDADD=""
+               ;;
+       *)
+               platform_beos=no
+               LDADD="-lm"
+               ;;
+esac
+AC_MSG_RESULT($platform_beos)
+AC_SUBST(LDADD)
+
+dnl Checks for programs.
+AC_PROG_AWK
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+AC_PROG_RANLIB
+AC_PROG_YACC
+AM_PROG_LEX
+
+dnl Check for file extensions.
+AC_EXEEXT
+AC_OBJEXT
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS(string.h strings.h stdlib.h stdarg.h varargs.h)
+AC_CHECK_HEADERS(unistd.h sys/types.h sys/stat.h)
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+
+dnl Check to see if we are using gcc or not.
+if test x$GCC = xyes ; then
+       CFLAGS="$CFLAGS -Wall"
+fi
+
+dnl Checks for library functions.
+AC_CHECK_FUNCS(vfprintf strchr qsort vsnprintf _vsnprintf vsprintf)
+AC_CHECK_FUNCS(memcmp memcpy access stat)
+
+dnl Determine if we can compile the C++ example, which
+dnl uses bison-specific yacc features.
+AC_SUBST(EXPR_CPP)
+if test "x$YACC" = "xbison -y" ; then
+       EXPR_CPP=expr_cpp
+fi
+
+dnl Check for building on a multi os system
+if test x$GCC = xyes ; then
+       multi_os_directory=`$CC -print-multi-os-directory`
+       case $multi_os_directory in
+         .) ;; # Avoid trailing /.
+         *) libdir=$libdir/$multi_os_directory ;;
+       esac
+fi
+AC_SUBST(libdir)
+
+AC_CONFIG_FILES([
+Makefile
+etc/Makefile
+doc/Makefile
+tests/Makefile
+examples/Makefile
+treecc.spec])
+AC_OUTPUT

Index: configure.in
===================================================================
RCS file: configure.in
diff -N configure.in
--- configure.in        4 Jun 2007 18:45:48 -0000       1.52
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,92 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT(input.h)
-AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(treecc, 0.3.11)
-AM_CONFIG_HEADER(config.h)
-AM_MAINTAINER_MODE
-
-dnl Turn off the cygwin library if building for Win32.
-AC_MSG_CHECKING([if building for some Win32 platform])
-case "$host" in
-       *-*-mingw*|*-*-cygwin*)
-               platform_win32=yes
-               CC="gcc -mno-cygwin"
-               ;;
-       *-*-mingw*)
-               platform_win32=yes
-               ;;
-       *)
-               platform_win32=no
-               ;;
-esac
-AC_MSG_RESULT($platform_win32)
-
-AC_MSG_CHECKING([if building for BeOS platform])
-case "$host" in
-       *-*-beos*)
-               platform_beos=yes
-               LDADD=""
-               ;;
-       *)
-               platform_beos=no
-               LDADD="-lm"
-               ;;
-esac
-AC_MSG_RESULT($platform_beos)
-AC_SUBST(LDADD)
-
-dnl Checks for programs.
-AC_PROG_AWK
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-AC_PROG_RANLIB
-AC_PROG_YACC
-AM_PROG_LEX
-
-dnl Check for file extensions.
-AC_EXEEXT
-AC_OBJEXT
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS(string.h strings.h stdlib.h stdarg.h varargs.h)
-AC_CHECK_HEADERS(unistd.h sys/types.h sys/stat.h)
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-
-dnl Check to see if we are using gcc or not.
-if test x$GCC = xyes ; then
-       CFLAGS="$CFLAGS -Wall"
-fi
-
-dnl Checks for library functions.
-AC_CHECK_FUNCS(vfprintf strchr qsort vsnprintf _vsnprintf vsprintf)
-AC_CHECK_FUNCS(memcmp memcpy access stat)
-
-dnl Determine if we can compile the C++ example, which
-dnl uses bison-specific yacc features.
-AC_SUBST(EXPR_CPP)
-if test "x$YACC" = "xbison -y" ; then
-       EXPR_CPP=expr_cpp
-fi
-
-dnl Check for building on a multi os system
-if test x$GCC = xyes ; then
-       multi_os_directory=`$CC -print-multi-os-directory`
-       case $multi_os_directory in
-         .) ;; # Avoid trailing /.
-         *) libdir=$libdir/$multi_os_directory ;;
-       esac
-fi
-AC_SUBST(libdir)
-
-AC_OUTPUT([
-Makefile
-etc/Makefile
-doc/Makefile
-tests/Makefile
-examples/Makefile
-treecc.spec])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]