fix shell compatibility (bash)
robs [Wed, 21 Nov 2001 16:32:55 +0000 (16:32 +0000)]
configure.in

index 881dcd4..ec47136 100755 (executable)
@@ -1,4 +1,4 @@
-dnl     $Id: configure.in,v 1.17 2001/11/21 15:32:31 robs Exp $
+dnl     $Id: configure.in,v 1.18 2001/11/21 16:32:55 robs Exp $
 dnl
 dnl     This file is an input file used by the GNU "autoconf" program to
 dnl     generate the file "configure", which is run during the build
@@ -20,13 +20,14 @@ dnl autoconf defaults CXX to 'g++', so its unclear whether it exists/works
 AC_MSG_CHECKING([whether $CXX works])
 AC_LANG_CPLUSPLUS
 AC_TRY_COMPILE([#include <iostream.h>], [istream is(NULL);], 
-               [CXX_WORKS=1] [AC_MSG_RESULT(yes)], 
+               [CXX_WORKS=1]
+               [AC_MSG_RESULT(yes)], 
                [AC_MSG_RESULT(no)])
 AC_LANG_C
 
-if test -n "$CXX_WORKS"; then
-       LIBFCGIXX='libfcgi++.la'
-       ECHO_CPP='echo-cpp$(EXEEXT)'
+if test -n "${CXX_WORKS}"; then
+       LIBFCGIXX=libfcgi++.la
+       ECHO_CPP=echo-cpp${EXEEXT}
 fi
 AC_SUBST(LIBFCGIXX)
 AC_SUBST(ECHO_CPP)