@@ -198,7 +198,7 @@ AC_DEFUN([CHECK_CPPUNIT],
198
198
[
199
199
AM_PATH_CPPUNIT(1.9,
200
200
[ ] ,
201
- [ AC_MSG_ERROR ( "cppunit headers not found" ) ]
201
+ [ SF_MISSING_DEP ("cppunit headers not found")]
202
202
)
203
203
] )
204
204
@@ -232,7 +232,7 @@ AC_DEFUN([CHECK_SSL],
232
232
fi
233
233
done
234
234
if test x_$found_ssl_inc != x_yes ; then
235
- AC_MSG_ERROR ( [ 'openssl/ssl.h' not found; tried ${tried_path}] )
235
+ SF_MISSING_DEP ([ 'openssl/ssl.h' not found; tried ${tried_path}] )
236
236
else
237
237
AC_MSG_RESULT ( $sslincdir )
238
238
HAVE_SSL=yes
@@ -273,7 +273,7 @@ AC_DEFUN([CHECK_SSL],
273
273
done
274
274
275
275
if test x_$found_ssl_lib != x_yes ; then
276
- AC_MSG_ERROR ( [ 'libssl.so' not found; tried $openssl_path, each with lib, lib/openssl, and lib/ssl] )
276
+ SF_MISSING_DEP ([ 'libssl.so' not found; tried $openssl_path, each with lib, lib/openssl, and lib/ssl] )
277
277
else
278
278
AC_MSG_RESULT ( $ssllibdir )
279
279
if test x_"`uname -s`" = x_SunOS ; then
@@ -303,7 +303,7 @@ AC_DEFUN([CHECK_SSL],
303
303
done
304
304
fi
305
305
if test x_$krb_found = x_no; then
306
- AC_MSG_RESULT ( [ 'kerberos krb5.h' not found - looked in /usr/include $openssl_path] )
306
+ SF_MISSING_DEP ([ 'kerberos krb5.h' not found - looked in /usr/include $openssl_path] )
307
307
fi
308
308
309
309
AC_SUBST ( SSL_CFLAGS ,"$SSL_CFLAGS" )
@@ -313,10 +313,10 @@ AC_DEFUN([CHECK_SSL],
313
313
# ============ P O C O =========================
314
314
AC_DEFUN ( [ CHECK_POCO] ,
315
315
[
316
- AC_CHECK_LIB ( PocoFoundation , main ,[ ] , [ AC_MSG_ERROR ( "Poco C++ Library not found" ) ] )
317
- AC_CHECK_LIB ( PocoXML , main ,[ ] , [ AC_MSG_ERROR ( "PocoXML C++ Library not found" ) ] )
318
- AC_CHECK_LIB ( PocoUtil , main ,[ ] , [ AC_MSG_ERROR ( "PocoUtil C++ Library not found" ) ] )
319
- AC_CHECK_LIB ( PocoNet , main ,[ ] , [ AC_MSG_ERROR ( "PocoNet C++ Library not found" ) ] )
316
+ AC_CHECK_LIB ( PocoFoundation , main ,[ ] , [ SF_MISSING_DEP ("Poco C++ Library not found")] )
317
+ AC_CHECK_LIB ( PocoXML , main ,[ ] , [ SF_MISSING_DEP ("PocoXML C++ Library not found")] )
318
+ AC_CHECK_LIB ( PocoUtil , main ,[ ] , [ SF_MISSING_DEP ("PocoUtil C++ Library not found")] )
319
+ AC_CHECK_LIB ( PocoNet , main ,[ ] , [ SF_MISSING_DEP ("PocoNet C++ Library not found")] )
320
320
AC_SUBST ( POCO_LIBS , "-lPocoNet - lPocoUtil - lPocoXML - lPocoFoundation" )
321
321
] )
322
322
@@ -408,7 +408,7 @@ AC_DEFUN([CHECK_XERCES],
408
408
done
409
409
410
410
if test x_$found_xerces != x_yes; then
411
- AC_MSG_ERROR ( [ Cannot find xerces - looked for include/xercesc/dom/DOMBuilder.hpp or /include/xercesc/dom/DOMBuilder.hpp in $xerces_path] )
411
+ SF_MISSING_DEP ([ Cannot find xerces - looked for include/xercesc/dom/DOMBuilder.hpp or /include/xercesc/dom/DOMBuilder.hpp in $xerces_path] )
412
412
else
413
413
AC_MSG_RESULT ( $xercesdirm )
414
414
AC_SUBST ( XERCES_CFLAGS ,"$XERCES_CFLAGS" )
@@ -451,7 +451,7 @@ AC_DEFUN([CHECK_APACHE2],
451
451
AC_MSG_RESULT ( $apache2_httpd )
452
452
AC_SUBST ( APACHE2_HTTPD , $apache2_httpd )
453
453
else
454
- AC_MSG_ERROR ( 'httpd' not found; tried: $apache2_bin_search_path )
454
+ SF_MISSING_DEP ('httpd' not found; tried: $apache2_bin_search_path)
455
455
fi
456
456
457
457
## APACHE2_VERSION is the Apache version number.
@@ -474,7 +474,7 @@ AC_DEFUN([CHECK_APACHE2],
474
474
*)
475
475
apache2_host_access="UNKNOWN"
476
476
apache2_mod_access="UNKNOWN"
477
- AC_MSG_ERROR ( Unknown apache version $apache2_version )
477
+ SF_MISSING_DEP (Unknown apache version $apache2_version)
478
478
;;
479
479
esac
480
480
AC_MSG_RESULT ( $apache2_host_access = $apache2_mod_access )
@@ -523,7 +523,7 @@ AC_DEFUN([CHECK_APACHE2],
523
523
AC_SUBST ( APACHE2_MOD , $apache2_mod_override )
524
524
AC_MSG_WARN ( '$apache2_mod_access' , 'mod_cgi.so' , and 'httpd.exp' not found; using explicit value: $tried_path )
525
525
else
526
- AC_MSG_ERROR ( '$apache2_mod_access' and 'httpd.exp' not found; tried: $tried_path )
526
+ SF_MISSING_DEP ('$apache2_mod_access' and 'httpd.exp' not found; tried: $tried_path)
527
527
fi
528
528
529
529
apache2_home=`dirname ${apache2_moddir}`
@@ -624,10 +624,10 @@ AC_DEFUN([CHECK_PCRE],
624
624
# Test that we've been able to find both directories, and set the various
625
625
# makefile variables.
626
626
if test x_$found_pcre_include != x_yes; then
627
- AC_MSG_ERROR ( Cannot find pcre.h - looked in $includeval )
627
+ SF_MISSING_DEP (Cannot find pcre.h - looked in $includeval)
628
628
else
629
629
if test x_$found_pcre_lib != x_yes; then
630
- AC_MSG_ERROR ( Cannot find libpcre.so or libpcre.a libraries - looked in $libval )
630
+ SF_MISSING_DEP (Cannot find libpcre.so or libpcre.a libraries - looked in $libval)
631
631
else
632
632
## Test for version
633
633
if test x$homeval != x; then
@@ -637,7 +637,7 @@ AC_DEFUN([CHECK_PCRE],
637
637
fi
638
638
AX_COMPARE_VERSION ( [ $pcre_ver] ,[ ge] ,[ 4.5] ,
639
639
[ AC_MSG_RESULT ( $pcre_ver is ok ) ] ,
640
- [ AC_MSG_ERROR ( [ pcre version must be >= 4.5 - found $pcre_ver] ) ] )
640
+ [ SF_MISSING_DEP ([ pcre version must be >= 4.5 - found $pcre_ver] )] )
641
641
642
642
AC_MSG_RESULT ( [ pcre includes found in $includeval] )
643
643
AC_MSG_RESULT ( [ pcre libraries found in $libval] )
@@ -1170,10 +1170,10 @@ AC_DEFUN([CHECK_ODBC],
1170
1170
# Test that we've been able to find both directories, and set the various
1171
1171
# makefile variables.
1172
1172
if test x_$found_odbc_include != x_yes; then
1173
- AC_MSG_ERROR ( Cannot find sql.h - looked in $includeval )
1173
+ SF_MISSING_DEP (Cannot find sql.h - looked in $includeval)
1174
1174
else
1175
1175
if test x_$found_odbc_lib != x_yes; then
1176
- AC_MSG_ERROR ( Cannot find libodbc.so or libodbc.a libraries - looked in $libval )
1176
+ SF_MISSING_DEP (Cannot find libodbc.so or libodbc.a libraries - looked in $libval)
1177
1177
else
1178
1178
## Test for version
1179
1179
odbc_ver=`odbcinst --version`
0 commit comments