mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2025-05-06 07:00:50 +00:00
- really fix the --with arguments
This commit is contained in:
parent
b6ec2e0a95
commit
df33938bbf
1 changed files with 4 additions and 4 deletions
|
@ -97,7 +97,7 @@ if test "x${ac_with_svgalib}" != xno ; then
|
||||||
|
|
||||||
# --with-svgalib was explicitly given, then, so
|
# --with-svgalib was explicitly given, then, so
|
||||||
# look in that directory
|
# look in that directory
|
||||||
if test "x${ac_with_svgalib}" = xyes; then
|
if test "x${withval}" != xyes; then
|
||||||
SVGALIB_CFLAGS="$SVGALIB_CFLAGS -I$withval/include"
|
SVGALIB_CFLAGS="$SVGALIB_CFLAGS -I$withval/include"
|
||||||
SVGALIB_LIBS="$SVGALIB_LIBS -L$withval/lib"
|
SVGALIB_LIBS="$SVGALIB_LIBS -L$withval/lib"
|
||||||
fi
|
fi
|
||||||
|
@ -219,7 +219,7 @@ AC_ARG_WITH(opengl,
|
||||||
|
|
||||||
if test "x${ac_with_opengl}" != xno ; then
|
if test "x${ac_with_opengl}" != xno ; then
|
||||||
# --with-opengl was explicitly given, so look in that directory
|
# --with-opengl was explicitly given, so look in that directory
|
||||||
if test "x${ac_with_opengl}" = xyes ; then
|
if test "x${withval}" != xyes ; then
|
||||||
OPENGL_CFLAGS="$OPENGL_CFLAGS -I$withval/include"
|
OPENGL_CFLAGS="$OPENGL_CFLAGS -I$withval/include"
|
||||||
OPENGL_LIBS="$OPENGL_CFLAGS -L$withval/lib"
|
OPENGL_LIBS="$OPENGL_CFLAGS -L$withval/lib"
|
||||||
fi
|
fi
|
||||||
|
@ -378,7 +378,7 @@ AC_ARG_WITH(ao,
|
||||||
)
|
)
|
||||||
if test "x${ac_with_ao}" != xno ; then
|
if test "x${ac_with_ao}" != xno ; then
|
||||||
dnl --with-ao was explicitly given, so look in the given dir
|
dnl --with-ao was explicitly given, so look in the given dir
|
||||||
if test "x${ac_with_ao}" = xyes ; then
|
if test "x${withval}" != xyes ; then
|
||||||
AO_CFLAGS="$AO_CFLAGS -I$withval/include"
|
AO_CFLAGS="$AO_CFLAGS -I$withval/include"
|
||||||
AO_LIBS="$AO_LIBS -L$withval/lib"
|
AO_LIBS="$AO_LIBS -L$withval/lib"
|
||||||
fi
|
fi
|
||||||
|
@ -439,7 +439,7 @@ AC_ARG_WITH(alsa,
|
||||||
)
|
)
|
||||||
if test "x${ac_with_alsa}" != xno ; then
|
if test "x${ac_with_alsa}" != xno ; then
|
||||||
dnl --with-alsa was explicitly given, so look in the given dir
|
dnl --with-alsa was explicitly given, so look in the given dir
|
||||||
if test "x${ac_with_alsa}" = xyes ; then
|
if test "x${withval}" != xyes ; then
|
||||||
ALSA_CFLAGS="$ALSA_CFLAGS -I$withval/include"
|
ALSA_CFLAGS="$ALSA_CFLAGS -I$withval/include"
|
||||||
ALSA_LIBS="$ALSA_LIBS -L$withval/lib"
|
ALSA_LIBS="$ALSA_LIBS -L$withval/lib"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue