]> granicus.if.org Git - php/commitdiff
Introduce the good practise of using [] around output messages.
authorfoobar <sniper@php.net>
Thu, 6 Sep 2001 21:05:57 +0000 (21:05 +0000)
committerfoobar <sniper@php.net>
Thu, 6 Sep 2001 21:05:57 +0000 (21:05 +0000)
ext/ext_skel

index 18c32daf41a3f187d20964748ab8c900df05ef9c..c3be97c7083306a03a6a22963ba724e54d2a47f3 100755 (executable)
@@ -123,7 +123,7 @@ if test "\$PHP_$EXTNAME" != "no"; then
   dnl if test -r \$PHP_$EXTNAME/$SEARCH_FOR; then # path given as parameter
   dnl   ${EXTNAME}_DIR=\$PHP_$EXTNAME
   dnl else # search default path list
-  dnl   AC_MSG_CHECKING(for $extname files in default path)
+  dnl   AC_MSG_CHECKING([for $extname files in default path])
   dnl   for i in \$SEARCH_PATH ; do
   dnl     if test -r \$i/\$SEARCH_FOR; then
   dnl       ${EXTNAME}_DIR=\$i
@@ -133,8 +133,8 @@ if test "\$PHP_$EXTNAME" != "no"; then
   dnl fi
   dnl
   dnl if test -z "\$${EXTNAME}_DIR"; then
-  dnl   AC_MSG_RESULT(not found)
-  dnl   AC_MSG_ERROR(Please reinstall the $extname distribution)
+  dnl   AC_MSG_RESULT([not found])
+  dnl   AC_MSG_ERROR([Please reinstall the $extname distribution])
   dnl fi
 
   dnl # --with-$extname -> add include path
@@ -146,7 +146,7 @@ if test "\$PHP_$EXTNAME" != "no"; then
   dnl old_LIBS=\$LIBS
   dnl LIBS="\$LIBS -L\$${EXTNAME}_DIR/lib -lm -ldl"
   dnl AC_CHECK_LIB(\$LIBNAME, \$LIBSYMBOL, [AC_DEFINE(HAVE_${EXTNAME}LIB,1,[ ])],
-       dnl                     [AC_MSG_ERROR(wrong $extname lib version or lib not found)])
+       dnl                     [AC_MSG_ERROR([wrong $extname lib version or lib not found])])
   dnl LIBS=\$old_LIBS
   dnl
   dnl PHP_SUBST(${EXTNAME}_SHARED_LIBADD)