summaryrefslogtreecommitdiff
path: root/m4/open.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-08-10 23:54:09 +0200
committerBruno Haible <bruno@clisp.org>2009-08-10 23:54:09 +0200
commit5578f81fadb4a41139718c79d321ccd6b52a4237 (patch)
tree9d446b0c87f93c8cdb69399a43edf70e10a7941d /m4/open.m4
parent7f8441f9767253da8deb1f6c73a488220fcbcdd7 (diff)
downloadgnulib-5578f81fadb4a41139718c79d321ccd6b52a4237.tar.gz
Don't optimize AC_LIBOBJs, as they may appear in different contexts.
Diffstat (limited to 'm4/open.m4')
-rw-r--r--m4/open.m48
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/open.m4 b/m4/open.m4
index 3202886aa0..c0eb8e8623 100644
--- a/m4/open.m4
+++ b/m4/open.m4
@@ -1,4 +1,4 @@
-# open.m4 serial 6
+# open.m4 serial 7
dnl Copyright (C) 2007-2009 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -51,11 +51,9 @@ changequote([,])dnl
AC_DEFUN([gl_REPLACE_OPEN],
[
AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
- if test $REPLACE_OPEN != 1; then
- AC_LIBOBJ([open])
- gl_PREREQ_OPEN
- fi
REPLACE_OPEN=1
+ AC_LIBOBJ([open])
+ gl_PREREQ_OPEN
])
# Prerequisites of lib/open.c.