Be careful of empty vars
authorwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 8 Apr 2004 19:48:17 +0000 (19:48 +0000)
committerwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 8 Apr 2004 19:48:17 +0000 (19:48 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@967 cb58f699-b61c-0410-a6fe-9272a202ed29

configure.ac

index 89579ce..bf80d8a 100644 (file)
@@ -96,7 +96,7 @@ AC_PATH_PROG(LOG4CPP_CONFIG,log4cpp-config)
 AC_ARG_WITH(log4cpp,
             AC_HELP_STRING([--with-log4cpp=PATH], [where log4cpp is installed]),
             [LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"])
-if test -f ${LOG4CPP_CONFIG}; then
+if test -f "${LOG4CPP_CONFIG}"; then
     LDFLAGS="`${LOG4CPP_CONFIG} --libs` $LDFLAGS"
     CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
 else