Skip to content

Commit

Permalink
Introduce the good practise of using [] around output messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
foobar committed Sep 6, 2001
1 parent acb7d69 commit 14152e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/ext_skel
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 14152e7

Please sign in to comment.