diff options
author | Olivier Andrieu <oandrieu@gmail.com> | 2012-06-28 20:57:24 +0200 |
---|---|---|
committer | Olivier Andrieu <oandrieu@gmail.com> | 2012-06-28 20:57:24 +0200 |
commit | bee407d37fa79053647e4fb8bc259fc20859a5c8 (patch) | |
tree | 9958eb04c2f5ae0df58545d3e617ac9e35e3c777 | |
parent | 08b401929750e18e835af6d035b0ba0f44050726 (diff) |
fixes for LablGTK detection with autoconf
-rw-r--r-- | config.make.in | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config.make.in b/config.make.in index 0b4af37..f1c118e 100644 --- a/config.make.in +++ b/config.make.in @@ -11,7 +11,7 @@ OCAMLDEP = @OCAMLDEP@ INSTALLDIR = $(OCAMLLIB)/cairo LABLGTKDIR = @LABLGTKDIR@ -C_LABLGTKDIR = $(subst +,$(OCAMLLIB)/,$(LABLGTKDIR)) +C_LABLGTKDIR = $(patsubst +%,$(OCAMLLIB)/%,$(LABLGTKDIR)) # stop ocamlmklib moaning FILT = -Wl,--export-dynamic diff --git a/configure.ac b/configure.ac index d156ec5..9c04e98 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,7 @@ AC_ARG_VAR(LABLGTKDIR,[Location of the LablGTK library]) if test $use_gtk = yes ; then # Check for LablGTK - AC_CHECK_OCAML_MODULE(lablgtk, LABLGTKDIR, Gobject, +lablgtk2 +lablgtk) + AC_CHECK_OCAML_MODULE(lablgtk, LABLGTKDIR, Gobject, +lablgtk2 +site-lib/lablgtk2 +lablgtk) if test "$lablgtk" != no ; then # Check for gdk-pixbuf |