Commit 16c7951c authored by erg's avatar erg

Update old configure files, in particular, copying rather than

moving template files.
Update iffe.
parent cb7860b1
......@@ -4,7 +4,7 @@
ARCH=linux.i386
# specify root directory for installation
INSTALLROOT=/home/erg/src/gviz/build/linux.i386
INSTALLROOT=/usr/local/graphviz
# specify where to find tcl >= 8.0
TCLDIR=/usr/common/tcl8.3.3
......@@ -55,10 +55,4 @@ TK_LIBDIR=$(TKDIR)/lib
# location of tk.h
TK_INCDIR=$(TKDIR)/include
VERSION=2.5
VERSION=2.5
VERSION=2.5
VERSION=2.5
VERSION=2.5
VERSION=2.5
VERSION=2.5
VERSION=2.7
/* : : generated from configdata by iffe version 2004-08-11 : : */
/* : : generated from config.iffe by iffe version 2004-08-11 : : */
#ifndef _GVIZ_CONFIG_H
#define _GVIZ_CONFIG_H 1
#define HAVE_SYS_TYPES_H 1 /* #include <sys/types.h> ok */
......
......@@ -12,10 +12,10 @@ for i in `find . -name Makefile.old`; do cp $i ${i%%.old}; done
# do the same for config.h plus insert VERSION and BUILDDATE
V=$(grep 'AC_INIT(graphviz' configure.ac | m4 '-DAC_INIT=$2')
D=$(date)
./iffe - set cc cc : run configdata | sed "s/VVVV/$V/" | sed "s/DDDD/$D/" > config.h
./iffe - set cc cc : run config.iffe | sed "s/VVVV/$V/" | sed "s/DDDD/$D/" > config.h
# Append VERSION to Config.mk
mv Config.mk.old Config.mk
cp Config.mk.old Config.mk
echo "VERSION=$V" >> Config.mk
# Remove cdt/ast_common.h if it came with the distribution
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment