1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/gracer/files/patch-aa
Satoshi Taoka 91f8566078 A 3D motor sports simulator
PR:		12924
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de>
1999-09-28 02:57:19 +00:00

51 lines
1.4 KiB
Plaintext

Index: configure.in
@@ -209,8 +209,8 @@
tcl_prefix=$with_tcl)
for tcl_prefix in $tcl_prefix $exec_prefix /usr/local /usr NONE; do
- if test -r $tcl_prefix/lib/tclConfig.sh; then
- AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
+ if test -r $tcl_prefix/lib/tcl8.0/tclConfig.sh; then
+ AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.0])
break;
fi
done
@@ -219,29 +219,31 @@
AC_MSG_ERROR([could't find tclConfig.sh])
fi
-file=${tcl_prefix}/lib/tclConfig.sh
+file=${tcl_prefix}/lib/tcl8.0/tclConfig.sh
if test ! -r ${file}; then
AC_MSG_ERROR(tclConfig.sh doesn't exist)
fi
-AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
+AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.0])
. $file
-TCL_CFLAGS="-I$tcl_prefix/include"
+TCL_CFLAGS="-I$tcl_prefix/include/tcl8.0"
TCL_LDFLAGS="$TCL_LIB_SPEC $TCL_LIBS"
AC_SUBST(TCL_CFLAGS)
AC_SUBST(TCL_LDFLAGS)
####################################################### Check Graphics library
+x_suffix="$X_LIBS $X_PRE_LIBS -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm"
+
AC_SUBST(GIF_LIBS)
AC_CHECK_HEADER(gif_lib.h,
AC_CHECK_LIB(ungif, DGifOpenFileHandle,
- GIF_LIBS="-lungif"
+ GIF_LIBS="-lungif",
AC_CHECK_LIB(gif, DGifOpenFileHandle,
GIF_LIBS="-lgif",
AC_MSG_ERROR([GIF library file not found]),
- $GX_LIBS),
- $GX_LIBS),
+ $x_suffix),
+ $x_suffix),
AC_MSG_ERROR([GIF header not found]))
AC_SUBST(JPEG_LIBS)