fix to include the CFLAGS for extra libraries
authorHavoc Pennington <hp@redhat.com>
Thu, 21 Jun 2001 15:37:23 +0000 (15:37 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Thu, 21 Jun 2001 15:37:23 +0000 (15:37 +0000)
2001-06-20  Havoc Pennington  <hp@redhat.com>

* gnome.m4: fix to include the CFLAGS for extra libraries

svn path=/trunk/; revision=1797

macros/ChangeLog
macros/gnome.m4

index f8274d4..30a8943 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-20  Havoc Pennington  <hp@redhat.com>
+
+       * gnome.m4: fix to include the CFLAGS for extra libraries
+
 2001-06-13  Pavel Roskin  <proski@gnu.org>
 
        * gnome-fileutils.m4: Always explicitly declare main() with the
index 659c22c..2d23de8 100644 (file)
@@ -115,6 +115,8 @@ AC_DEFUN([GNOME_INIT_HOOK],[
              *)
                AC_MSG_RESULT(unknown library)
            esac
+            EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i`
+            GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR"
          done
        fi
 ])