mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
Nuke another AM_CONDITIONAL
This commit is contained in:
parent
df47dd31f1
commit
b69d527507
5 changed files with 8 additions and 16 deletions
|
@ -329,6 +329,11 @@ QF_PROCESS_NEED_FUNC(tools,[bsp2img carne pak qfbsp qfcc qflight qflmp qfmodelge
|
|||
if test "$ENABLE_tools_qfcc" = "yes" -a "$ENABLE_tools_pak" = "yes"; then
|
||||
QF_NEED(top, [ruamoko])
|
||||
fi
|
||||
progs_gz=
|
||||
if test "$HAVE_ZLIB" = "yes"; then
|
||||
progs_gz=".gz"
|
||||
fi
|
||||
QF_SUBST(progs_gz)
|
||||
|
||||
QF_PROCESS_NEED_DIRS(top, [libs hw nq qtv qw tools ruamoko])
|
||||
|
||||
|
|
|
@ -78,7 +78,6 @@ if test "x$enable_zlib" != "xno"; then
|
|||
fi
|
||||
fi
|
||||
AC_SUBST(Z_LIBS)
|
||||
AM_CONDITIONAL(HAVE_ZLIB, test "$HAVE_ZLIB" = "yes")
|
||||
|
||||
AC_ARG_ENABLE(png,
|
||||
[ --disable-png disable png support],
|
||||
|
|
|
@ -8,11 +8,7 @@ QFCC=$(QFCC_DEP)
|
|||
QCFLAGS=-qq -g -Wall -Werror -Wno-integer-divide --no-default-paths
|
||||
QCPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/ruamoko/include -I$(top_srcdir)/ruamoko/include -I$(top_builddir)/include -I$(top_srcdir)/include
|
||||
GZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
|
||||
if HAVE_ZLIB
|
||||
GZ=.gz
|
||||
else
|
||||
GZ=
|
||||
endif
|
||||
GZ=@progs_gz@
|
||||
# BSD make can't handle $(shell foo) directives, and GNU make can't handle |=
|
||||
# so we have to bite the bullet and pass this to the shell every time.
|
||||
STRIP=`echo -n $(srcdir)/ | sed -e 's/[^/]//g' | wc -c`
|
||||
|
|
|
@ -10,11 +10,7 @@ QFCC=$(QFCC_DEP)
|
|||
QCFLAGS=-qq -g -Werror -Wall -Wno-integer-divide --no-default-paths
|
||||
QCPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/ruamoko/include -I$(top_srcdir)/ruamoko/include
|
||||
GZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
|
||||
if HAVE_ZLIB
|
||||
GZ=.gz
|
||||
else
|
||||
GZ=
|
||||
endif
|
||||
GZ=@progs_gz@
|
||||
# BSD make can't handle $(shell foo) directives, and GNU make can't handle |=
|
||||
# so we have to bite the bullet and pass this to the shell every time.
|
||||
STRIP=`echo -n $(srcdir)/ | sed -e 's/[^/]//g' | wc -c`
|
||||
|
|
|
@ -8,11 +8,7 @@ QCFLAGS=-qq -g -Werror -Wall -Wno-integer-divide --no-default-paths
|
|||
QCPPFLAGS=$(INCLUDES)
|
||||
PAK=$(top_builddir)/tools/pak/pak$(EXEEXT)
|
||||
GZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
|
||||
if HAVE_ZLIB
|
||||
GZ=.gz
|
||||
else
|
||||
GZ=
|
||||
endif
|
||||
GZ=@progs_gz@
|
||||
# BSD make can't handle $(shell foo) directives, and GNU make can't handle |=
|
||||
# so we have to bite the bullet and pass this to the shell every time.
|
||||
STRIP=`echo -n $(srcdir)/ | sed -e 's/[^/]//g' | wc -c`
|
||||
|
|
Loading…
Reference in a new issue