Fix strerror module on Solaris 7.
[gnulib.git] / m4 / setenv.m4
index 0d54a96..d6901de 100644 (file)
@@ -1,4 +1,4 @@
-# setenv.m4 serial 7
+# setenv.m4 serial 8
 dnl Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -13,6 +13,13 @@ AC_DEFUN([gl_FUNC_SETENV],
   fi
 ])
 
+# Like gl_FUNC_SETENV, except prepare for separate compilation (no AC_LIBOBJ).
+AC_DEFUN([gl_FUNC_SETENV_SEPARATE],
+[
+  AC_CHECK_FUNCS_ONCE([setenv])
+  gl_PREREQ_SETENV
+])
+
 AC_DEFUN([gl_FUNC_UNSETENV],
 [
   AC_CHECK_FUNCS([unsetenv])