Simplify gl_LIBUNISTRING_VERSION_CMP expansion.
[pspp] / m4 / duplocale.m4
index 7e0a0714ca76a1bbcf5c7dad9f4bec743fba6568..a444bfc52222bdbf2b00449e7e77bf0a744891b3 100644 (file)
@@ -1,5 +1,5 @@
-# duplocale.m4 serial 1
-dnl Copyright (C) 2009 Free Software Foundation, Inc.
+# duplocale.m4 serial 2
+dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -41,6 +41,8 @@ int main ()
     case "$gl_cv_func_duplocale_works" in
       *no) REPLACE_DUPLOCALE=1 ;;
     esac
+  else
+    HAVE_DUPLOCALE=0
   fi
   if test $REPLACE_DUPLOCALE = 1; then
     gl_REPLACE_LOCALE_H