1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

work around that solaris bug

This commit is contained in:
Sascha Schumann
1999-06-28 13:37:59 +00:00
parent bd031b0422
commit 650986c8d1

View File

@@ -8,7 +8,7 @@ dnl
dnl execute code, if variable is not set in namespace
dnl
AC_DEFUN(AC_PHP_ONCE,[
unique=`echo $ac_n "$2$ac_c" | tr -c a-zA-Z0-9 x`
unique=`echo $ac_n "$2$ac_c" | tr -c -d a-zA-Z0-9`
cmd="echo $ac_n \"\$$1$unique$ac_c\""
if test -n "$unique" && test "`eval $cmd`" = "" ; then
eval "$1$unique=set"