popen: Fix dependency conditions.
authorDaniel Richard G <skunk@iskunk.org>
Fri, 14 Oct 2011 23:37:24 +0000 (01:37 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 14 Oct 2011 23:37:24 +0000 (01:37 +0200)
* modules/popen (Depends-on, configure.ac): Fix shell syntax error.

ChangeLog
modules/popen

index e7de3ad..7530b73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-10-14  Daniel Richard G.  <skunk@iskunk.org>  (tiny change)
 
+       popen: Fix dependency conditions.
+       * modules/popen (Depends-on, configure.ac): Fix shell syntax error.
+
+2011-10-14  Daniel Richard G.  <skunk@iskunk.org>  (tiny change)
+
        perror: Fix autoconf test.
        * m4/perror.m4 (gl_FUNC_PERROR): In the test program, include
        <stdlib.h> and <string.h>.
index 426589a..eb41029 100644 (file)
@@ -7,11 +7,11 @@ m4/popen.m4
 
 Depends-on:
 stdio
-open            [test $HAVE_POPEN = 0 || $REPLACE_POPEN = 1]
+open            [test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1]
 
 configure.ac:
 gl_FUNC_POPEN
-if test $HAVE_POPEN = 0 || $REPLACE_POPEN = 1; then
+if test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1; then
   AC_LIBOBJ([popen])
   gl_PREREQ_POPEN
 fi