mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
Minor cleanups.
This commit is contained in:
parent
ccea0d5d5d
commit
0cd6fb397a
3 changed files with 15 additions and 11 deletions
9
tools/texpaint/.gitignore
vendored
Normal file
9
tools/texpaint/.gitignore
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
Makefile
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
config.h
|
||||
config.log
|
||||
config.status
|
||||
configure
|
||||
texturepaint
|
|
@ -1,6 +1,4 @@
|
|||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
#undef PACKAGE
|
||||
#undef VERSION
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
|
|
@ -13,29 +13,26 @@ AC_PATH_XTRA
|
|||
|
||||
dnl Check for libs.
|
||||
|
||||
dnl AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS"; LIBS="$LIBS $GTK_LIBS",
|
||||
dnl AC_MSG_ERROR(*** Can't find gtk))
|
||||
|
||||
AC_CHECK_LIB(GL, glXChooseVisual, LIBS="$LIBS -lGL",
|
||||
[AC_CHECK_LIB(MesaGL, glXChooseVisual, LIBS="$LIBS -lMesaGL",
|
||||
AC_MSG_ERROR(*** Can't find OpenGL),
|
||||
AC_MSG_ERROR(OpenGL not found),
|
||||
$X_PRE_LIBS $X_LIBS -lX11 -lXext -lm $X_EXTRA_LIBS)],
|
||||
$X_PRE_LIBS $X_LIBS -lX11 -lXext -lm $X_EXTRA_LIBS)
|
||||
|
||||
AC_CHECK_LIB(GLU, gluPerspective, LIBS="$LIBS -lGLU",
|
||||
[AC_CHECK_LIB(MesaGLU, gluPerspective, LIBS="$LIBS -lMesaGLU",
|
||||
AC_MSG_ERROR(*** Can't find libGLU),
|
||||
AC_MSG_ERROR(libGLU not found),
|
||||
$X_PRE_LIBS $X_LIBS -lX11 -lXext -lm $X_EXTRA_LIBS)],
|
||||
$X_PRE_LIBS $X_LIBS -lX11 -lXext -lm $X_EXTRA_LIBS)
|
||||
|
||||
AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS"; LIBS="$LIBS $GTK_LIBS",
|
||||
AC_MSG_ERROR(*** Can't find GTK))
|
||||
AC_MSG_ERROR(GTK+ not found))
|
||||
|
||||
AC_CHECK_LIB(gtkgl, gtk_gl_area_begingl, LIBS="$LIBS -lgtkgl",
|
||||
AC_MSG_ERROR(*** Can't find gtkglarea))
|
||||
AC_MSG_ERROR(gtkglarea not found))
|
||||
|
||||
AM_PATH_GIMP(1.0.0, CFLAGS="$CFLAGS $GIMP_CFLAGS"; LIBS="$LIBS $GIMP_LIBS",
|
||||
AC_MSG_ERROR(*** Can't find GIMP))
|
||||
AC_MSG_ERROR(GIMP not found))
|
||||
|
||||
dnl Output stuff.
|
||||
AC_OUTPUT(Makefile)
|
||||
|
|
Loading…
Reference in a new issue