test -f requires a full path, so use AC_PATH_PROG to find the -config app
authorwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 1 Apr 2004 22:20:09 +0000 (22:20 +0000)
committerwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 1 Apr 2004 22:20:09 +0000 (22:20 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@928 cb58f699-b61c-0410-a6fe-9272a202ed29

configure.ac

index 18a3c6e..ad6087d 100644 (file)
@@ -92,7 +92,7 @@ AC_TRY_LINK_FUNC([SSL_library_init],,
 AC_MSG_RESULT(yes)
 
 # log4cpp settings
-LOG4CPP_CONFIG="log4cpp-config"
+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"])