summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-10-25 17:25:11 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-10-25 17:25:11 +0000
commit4625fdf7a5f2453c992a6d70177e8e08c07e41d8 (patch)
treeb613e75e17ba7e10ca81e3ec4d1a4cad167868a0
parentd5e60a4f2bda1bdf80d4d7beabef1592f8d08b44 (diff)
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
-rw-r--r--configure.in9
1 files 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