Commit f0558a7e authored by Manish Singh's avatar Manish Singh

rework to do gcg by ourselves

* autogen.sh: rework to do gcg by ourselves

gcg:
        * autogen.sh: call configure again

        * gcg.c
        * Makefile.am: use CPP_SEARCH for finding stuff

-Yosh
parent 4e151aa8
Sat Jan 9 21:24:20 PST 1999 Manish Singh <yosh@gimp.org>
* autogen.sh: rework to do gcg by ourselves
Sun Jan 10 01:43:06 EST 1999 Peter Teichman <pat4@acpub.duke.edu>
* plug-ins/MapObject/mapobject_ui.c: didn't realize that there
......
......@@ -79,21 +79,25 @@ echo "Running gettextize... Ignore non-fatal messages."
# while making dist.
echo "no" | gettextize --copy --force
aclocal $ACLOCAL_FLAGS
autogen_dirs="."
if test -z "$NO_GCG"; then
autogen_dirs="$autogen_dirs tools/gcg"
fi
# optionally feature autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
for i in $autogen_dirs; do
echo "Processing $i..."
automake $am_opt
autoconf
cd $ORIGDIR
cd $i
aclocal $ACLOCAL_FLAGS
if test -z "$NO_GCG"; then
echo "Running autogen.sh under tools/gcg..."
cd tools/gcg
./autogen.sh
cd $ORIGDIR
fi
# optionally feature autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
automake --add-missing $am_opt
autoconf
done
cd $ORIGDIR
$srcdir/configure --enable-maintainer-mode "$@"
......
Sat Jan 9 22:44:03 PST 1999 Manish Singh <yosh@gimp.org>
* autogen.sh: call configure again
* gcg.c
* Makefile.am: use CPP_SEARCH for finding stuff
Sat Jan 9 16:00:22 PST 1999 Manish Singh <yosh@gimp.org>
* configure.in: pass -x c to gcc so it doesn't try to
......
......@@ -10,7 +10,7 @@ echo processing...
aclocal $ACLOCAL_FLAGS &&
automake -a --foreign &&
autoconf &&
# ./configure "$@"
./configure "$@"
if [ $? -eq 0 ];then
echo "Now run './configure', then 'make' to compile GCG."
......
......@@ -11,6 +11,10 @@
#define CPP_PROGRAM "cpp"
#endif
#ifndef CPP_SEARCH
#define CPP_SEARCH
#endif
Id header_root = NULL;
Id source_name = NULL;
......@@ -93,7 +97,7 @@ int main(int argc, char* argv[]){
FILE* f;
init_db();
cpp_cmd = g_string_new(CPP_PROGRAM);
cpp_cmd = g_string_new(CPP_PROGRAM CPP_SEARCH);
yydebug=0;
get_options(argc, argv);
g_string_append(cpp_cmd, " ");
......
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