Store up errno in a couple of spots.
[m6w6/libmemcached] / m4 / pandora_have_libreadline.m4
index 1f04cd4f9b9aa839bbc735b3a5cb2f5f7019cad5..b49e97dd3eed8c86672fe3a5d9be465d3932712d 100644 (file)
@@ -56,8 +56,8 @@
 #
 # COPYLEFT
 #
-#   Copyright (c) 2009 Monty Taylor
-#   Copyright (c) 2002 Ville Laurikari <vl@iki.fi>
+#   Copyright (C) 2009 Monty Taylor
+#   Copyright (C) 2002 Ville Laurikari <vl@iki.fi>
 #
 #   Copying and distribution of this file, with or without
 #   modification, are permitted in any medium without royalty provided
@@ -105,9 +105,9 @@ rl_compentry_func_t *func2= (rl_compentry_func_t*)0;
               [Does system provide rl_compentry_func_t])
   ])
 
-  AC_LANG_PUSH(C++)
   save_CXXFLAGS="${CXXFLAGS}"
   CXXFLAGS="${AM_CXXFLAGS} ${CXXFLAGS}"
+  AC_LANG_PUSH(C++)
   AC_CACHE_CHECK([rl_compentry_func_t works], [pandora_cv_rl_compentry_works],[
     AC_COMPILE_IFELSE([
       AC_LANG_PROGRAM([[