propogate configure command line options into quakeforge.spec

This commit is contained in:
Bill Currie 2000-02-27 23:38:15 +00:00
parent 8dbf889466
commit c687c6917a
2 changed files with 2 additions and 5 deletions

View file

@ -808,6 +808,7 @@ AC_SUBST(HAVE_UDP)
AC_SUBST(NET_SOURCE)
AC_SUBST(VERSION)
AC_SUBST(QF_VERSION)
AC_SUBST(ac_configure_args)
dnl Output files
AC_CONFIG_HEADER(common/config.h)

View file

@ -110,11 +110,7 @@ Requires: quakeforge
%setup -q
%build
%if "%{SND_STYLE}"=="'ALSA'"
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --enable-alsa
%else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
%endif
CFLAGS="$RPM_OPT_FLAGS" ./configure @ac_configure_args@ --prefix=/usr
make
%install