If GD library is available, define HAVE_GD as 1 or
[m17n/m17n-lib.git] / configure.ac
index 0384285..143e6fe 100644 (file)
@@ -282,7 +282,7 @@ if test "x$with_gd" != "xno"; then
              [Define to 1 or 2 if you have gd library and header file.])
     M17N_EXT_LIBS="$M17N_EXT_LIBS gdlib"
     GD_LD_FLAGS=-lgd
-    CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_GD"
+    CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_GD=$HAVE_GD"
   fi
   LIBS="$save_LIBS"
 fi