From 4625fdf7a5f2453c992a6d70177e8e08c07e41d8 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 25 Oct 2001 17:25:11 +0000 Subject: [PATCH] Only add x_includes to path if it is not empty. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configure.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 1f6f0bf15..cffd81a3a 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl -*- sh -*- dnl the "configure" script is made from this by running GNU "autoconf" dnl -dnl "$Id: configure.in,v 1.33.2.31.2.15 2001/10/25 17:13:26 easysw Exp $" +dnl "$Id: configure.in,v 1.33.2.31.2.16 2001/10/25 17:25:11 easysw Exp $" dnl dnl Configuration script for the Fast Light Tool Kit (FLTK). dnl @@ -222,7 +222,10 @@ fi LIBS="$LIBS$X_LIBS" CFLAGS="$CFLAGS$X_CFLAGS" CXXFLAGS="$CXXFLAGS$X_CFLAGS" -ac_cpp="$ac_cpp -I$x_includes" + +if test "x$x_includes" != x; then + ac_cpp="$ac_cpp -I$x_includes" +fi dnl Check for OpenGL unless disabled... GLLIB= @@ -488,5 +491,5 @@ AC_OUTPUT(makeinclude fltk-config) chmod +x fltk-config dnl -dnl End of "$Id: configure.in,v 1.33.2.31.2.15 2001/10/25 17:13:26 easysw Exp $". +dnl End of "$Id: configure.in,v 1.33.2.31.2.16 2001/10/25 17:25:11 easysw Exp $". dnl