Run configure if needed

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@8646 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-01-17 11:20:29 +00:00
parent 4ca0cfd8b6
commit 04751fc2ab
2 changed files with 6 additions and 3 deletions

View file

@ -11,8 +11,9 @@
if [ -z "$GNUSTEP_SYSTEM_ROOT" ]; then
. %{gs_root}/Makefiles/GNUstep.sh
fi
# Argh - this doesn't work
CFLAGS=$RPM_OPT_FLAGS
if [ "%{gs_configure}" = "YES" ]; then
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{gs_root}
fi
make debug=yes
#

View file

@ -12,7 +12,9 @@ if [ -z "$GNUSTEP_SYSTEM_ROOT" ]; then
. %{gs_root}/Makefiles/GNUstep.sh
fi
# Argh - this doesn't work
CFLAGS=$RPM_OPT_FLAGS
if [ "%{gs_configure}" = "YES" ]; then
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{gs_root}
fi
make
#