changeset 15951:cf6263b60cda

popen: Fix dependency conditions. * modules/popen (Depends-on, configure.ac): Fix shell syntax error.
author Daniel Richard G <skunk@iskunk.org>
date Sat, 15 Oct 2011 01:37:24 +0200
parents 8e43c0655192
children 10da83926c24
files ChangeLog modules/popen
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
--- a/modules/popen
+++ b/modules/popen
@@ -7,11 +7,11 @@
 
 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