From: Andrea Zagli Date: Sat, 26 Dec 2015 08:45:24 +0000 (+0100) Subject: Bugfix introduced from msys2. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=d72bd20a87e5270532194302891e471bd506d892;p=libgtkform Bugfix introduced from msys2. --- diff --git a/.gitignore b/.gitignore index 2efd53d..8b891ed 100644 --- a/.gitignore +++ b/.gitignore @@ -46,6 +46,8 @@ stamp-h1 test/test test/from_xml test/from_xml_with_db +test/double +test/gtkformfielddatetime_get_gdatetime_from_str libgtkformui/test/decoder libgtkformui/test/query_editor POTFILES diff --git a/configure.ac b/configure.ac index 9d49b1c..ffe3a97 100644 --- a/configure.ac +++ b/configure.ac @@ -50,9 +50,14 @@ if test "x$GLADEUI_FOUND" = "xyes"; then GLADE_CATALOG_DIR=`$PKG_CONFIG --variable=catalogdir gladeui-2.0` GLADE_MODULE_DIR=`$PKG_CONFIG --variable=moduledir gladeui-2.0` GLADE_ICONS_DIR=`$PKG_CONFIG --variable=pixmapdir gladeui-2.0` + +case "$host" in +*-mingw*) GLADE_CATALOG_DIR=`cygpath $GLADE_CATALOG_DIR` GLADE_MODULE_DIR=`cygpath $GLADE_MODULE_DIR` GLADE_ICONS_DIR=`cygpath $GLADE_ICONS_DIR` + ;; +esac AC_SUBST(GLADE_CATALOG_DIR) AC_SUBST(GLADE_MODULE_DIR) AC_SUBST(GLADE_ICONS_DIR)