Skip to content
Snippets Groups Projects
Commit f2328f97 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now passes CFLAGS along to the other configure scripts.

Special HP-flags now passed along to the other configure scripts.

Rev: src/configure.in:1.118
parent e1802992
No related branches found
No related tags found
No related merge requests found
AC_REVISION("$Id: configure.in,v 1.117 1997/09/16 01:56:29 grubba Exp $") AC_REVISION("$Id: configure.in,v 1.118 1997/09/17 04:03:28 grubba Exp $")
AC_INIT(interpret.c) AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h) AC_CONFIG_HEADER(machine.h)
...@@ -250,11 +250,15 @@ else ...@@ -250,11 +250,15 @@ else
AC_TRY_COMPILE([int foo(int bar);],[],[], AC_TRY_COMPILE([int foo(int bar);],[],[],
[ [
OLD_CC="${CC-cc}" OLD_CC="${CC-cc}"
OLD_CFLAGS="$CFLAGS"
if test "$CC" = "$BINDIR/smartlink cc" -a -x /usr/bin/cc ; then if test "$CC" = "$BINDIR/smartlink cc" -a -x /usr/bin/cc ; then
CC="$BINDIR/smartlink /usr/bin/cc" CC="$BINDIR/smartlink /usr/bin/cc"
fi fi
CC="$CC -Aa -D_HPUX_SOURCE +Olibcalls" CFLAGS="-Aa -D_HPUX_SOURCE +Olibcalls $CFLAGS"
AC_TRY_COMPILE([int foo(int bar);],[],[],[CC="$OLD_CC"]) AC_TRY_COMPILE([int foo(int bar);],[],[],[
CC="$OLD_CC"
CFLAGS="$OLD_CFLAGS"
])
]) ])
fi fi
fi fi
...@@ -1656,7 +1660,7 @@ fi ...@@ -1656,7 +1660,7 @@ fi
############################################################################# #############################################################################
export LDFLAGS CPPFLAGS LIBS export LDFLAGS CFLAGS CPPFLAGS LIBS
AC_CONFIG_SUBDIRS(modules) AC_CONFIG_SUBDIRS(modules)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment