[gs-cvs] rev 8075 - trunk/gs/src
giles at ghostscript.com
giles at ghostscript.com
Mon Jun 25 16:56:30 PDT 2007
Author: giles
Date: 2007-06-25 16:56:29 -0700 (Mon, 25 Jun 2007)
New Revision: 8075
Modified:
trunk/gs/src/configure.ac
Log:
Report the result of the GTK-2.0 configure test. Normalize indentation
in this section.
Modified: trunk/gs/src/configure.ac
===================================================================
--- trunk/gs/src/configure.ac 2007-06-23 02:43:31 UTC (rev 8074)
+++ trunk/gs/src/configure.ac 2007-06-25 23:56:29 UTC (rev 8075)
@@ -506,25 +506,28 @@
SOC_LIBS=""
SOC_LOADER="dxmainc.c"
if test "x$enable_gtk" != "xno"; then
- # Try GTK+ 2.x first...
- if test "x$PKGCONFIG" != x; then
- AC_MSG_CHECKING(for GTK+ 2.x)
- if $PKGCONFIG --exists gtk+-2.0; then
- SOC_LOADER="dxmain.c"
- SOC_CFLAGS="`$PKGCONFIG gtk+-2.0 --cflags`"
- SOC_LIBS="`$PKGCONFIG gtk+-2.0 --libs`"
- fi
+ # Try GTK+ 2.x first...
+ if test "x$PKGCONFIG" != x; then
+ AC_MSG_CHECKING(for GTK+ 2.x)
+ if $PKGCONFIG --exists gtk+-2.0; then
+ SOC_LOADER="dxmain.c"
+ SOC_CFLAGS="`$PKGCONFIG gtk+-2.0 --cflags`"
+ SOC_LIBS="`$PKGCONFIG gtk+-2.0 --libs`"
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
fi
+ fi
- # Then fall back on GTK+ 1.x...
- if test "x$SOC_LOADER" = x; then
- AC_PATH_PROG(GTKCONFIG, gtk-config)
- if test "x$GTKCONFIG" != x; then
- SOC_LOADER="dxmain.c"
- SOC_CFLAGS="`$GTKCONFIG --cflags`"
- SOC_LIBS="`$GTKCONFIG --libs`"
- fi
+ # Then fall back on GTK+ 1.x...
+ if test "x$SOC_LOADER" = x; then
+ AC_PATH_PROG(GTKCONFIG, gtk-config)
+ if test "x$GTKCONFIG" != x; then
+ SOC_LOADER="dxmain.c"
+ SOC_CFLAGS="`$GTKCONFIG --cflags`"
+ SOC_LIBS="`$GTKCONFIG --libs`"
fi
+ fi
fi
AC_SUBST(SOC_CFLAGS)
AC_SUBST(SOC_LIBS)
More information about the gs-cvs
mailing list