summaryrefslogtreecommitdiff
path: root/fltk-config.in
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2004-09-06 11:20:53 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2004-09-06 11:20:53 +0000
commitd7fe9245b4f976d220469f321b100ffc217ccc59 (patch)
treee95f1b3a5c7020f3ffca79bf4af6428f41bafdce /fltk-config.in
parent98a0be39654892de753912045a36bd7f66eac31c (diff)
Install image header files in FL/images so that FLTK apps will use the
same headers as the image libraries FLTK uses. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fltk-config.in')
-rwxr-xr-xfltk-config.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/fltk-config.in b/fltk-config.in
index f7296c224..4b46e67b4 100755
--- a/fltk-config.in
+++ b/fltk-config.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# "$Id: fltk-config.in,v 1.12.2.25 2004/08/05 20:20:51 easysw Exp $"
+# "$Id: fltk-config.in,v 1.12.2.26 2004/09/06 11:20:52 easysw Exp $"
#
# FLTK configuration utility.
#
@@ -55,6 +55,11 @@ CXXFLAGS="@CXXFLAGS@"
LDFLAGS="@LDFLAGS@"
LDLIBS="@LIBS@"
+if test -d $includedir/FL/images; then
+ CFLAGS="-I$includedir/FL/images $CFLAGS"
+ CXXFLAGS="-I$includedir/FL/images $CXXFLAGS"
+fi
+
# libraries to link with:
LIBNAME="@LIBNAME@"
DSONAME="@DSONAME@"
@@ -266,5 +271,5 @@ if test "$echo_libs" = "yes"; then
fi
#
-# End of "$Id: fltk-config.in,v 1.12.2.25 2004/08/05 20:20:51 easysw Exp $".
+# End of "$Id: fltk-config.in,v 1.12.2.26 2004/09/06 11:20:52 easysw Exp $".
#