2180 |
fi |
fi |
2181 |
|
|
2182 |
|
|
|
#AC_CHECK_LIB(pq, PQexec, AC_MSG_ERROR([Services depends on libpq: the PostgreSQL API.])) |
|
|
#AC_DEFINE(USE_SQL) |
|
|
|
|
2183 |
echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
2184 |
echo "configure:2188: checking for size_t" >&5 |
echo "configure:2185: checking for size_t" >&5 |
2185 |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
2186 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2187 |
else |
else |
2188 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2189 |
#line 2193 "configure" |
#line 2190 "configure" |
2190 |
#include "confdefs.h" |
#include "confdefs.h" |
2191 |
#include <sys/types.h> |
#include <sys/types.h> |
2192 |
#if STDC_HEADERS |
#if STDC_HEADERS |
2214 |
fi |
fi |
2215 |
|
|
2216 |
echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
2217 |
echo "configure:2221: checking for off_t" >&5 |
echo "configure:2218: checking for off_t" >&5 |
2218 |
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
2219 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2220 |
else |
else |
2221 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2222 |
#line 2226 "configure" |
#line 2223 "configure" |
2223 |
#include "confdefs.h" |
#include "confdefs.h" |
2224 |
#include <sys/types.h> |
#include <sys/types.h> |
2225 |
#if STDC_HEADERS |
#if STDC_HEADERS |
2247 |
fi |
fi |
2248 |
|
|
2249 |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2250 |
echo "configure:2254: checking return type of signal handlers" >&5 |
echo "configure:2251: checking return type of signal handlers" >&5 |
2251 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
2252 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2253 |
else |
else |
2254 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2255 |
#line 2259 "configure" |
#line 2256 "configure" |
2256 |
#include "confdefs.h" |
#include "confdefs.h" |
2257 |
#include <sys/types.h> |
#include <sys/types.h> |
2258 |
#include <signal.h> |
#include <signal.h> |
2269 |
int i; |
int i; |
2270 |
; return 0; } |
; return 0; } |
2271 |
EOF |
EOF |
2272 |
if { (eval echo configure:2276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2273 |
rm -rf conftest* |
rm -rf conftest* |
2274 |
ac_cv_type_signal=void |
ac_cv_type_signal=void |
2275 |
else |
else |
2289 |
|
|
2290 |
|
|
2291 |
echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6 |
echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6 |
2292 |
echo "configure:2296: checking for u_int32_t" >&5 |
echo "configure:2293: checking for u_int32_t" >&5 |
2293 |
if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then |
2294 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2295 |
else |
else |
2296 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2297 |
#line 2301 "configure" |
#line 2298 "configure" |
2298 |
#include "confdefs.h" |
#include "confdefs.h" |
2299 |
#include <sys/types.h> |
#include <sys/types.h> |
2300 |
#if STDC_HEADERS |
#if STDC_HEADERS |
2322 |
fi |
fi |
2323 |
|
|
2324 |
echo $ac_n "checking for int32_t""... $ac_c" 1>&6 |
echo $ac_n "checking for int32_t""... $ac_c" 1>&6 |
2325 |
echo "configure:2329: checking for int32_t" >&5 |
echo "configure:2326: checking for int32_t" >&5 |
2326 |
if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then |
2327 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2328 |
else |
else |
2329 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2330 |
#line 2334 "configure" |
#line 2331 "configure" |
2331 |
#include "confdefs.h" |
#include "confdefs.h" |
2332 |
#include <sys/types.h> |
#include <sys/types.h> |
2333 |
#if STDC_HEADERS |
#if STDC_HEADERS |
2355 |
fi |
fi |
2356 |
|
|
2357 |
echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6 |
echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6 |
2358 |
echo "configure:2362: checking for u_int16_t" >&5 |
echo "configure:2359: checking for u_int16_t" >&5 |
2359 |
if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then |
2360 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2361 |
else |
else |
2362 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2363 |
#line 2367 "configure" |
#line 2364 "configure" |
2364 |
#include "confdefs.h" |
#include "confdefs.h" |
2365 |
#include <sys/types.h> |
#include <sys/types.h> |
2366 |
#if STDC_HEADERS |
#if STDC_HEADERS |
2388 |
fi |
fi |
2389 |
|
|
2390 |
echo $ac_n "checking for int16_t""... $ac_c" 1>&6 |
echo $ac_n "checking for int16_t""... $ac_c" 1>&6 |
2391 |
echo "configure:2395: checking for int16_t" >&5 |
echo "configure:2392: checking for int16_t" >&5 |
2392 |
if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then |
2393 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2394 |
else |
else |
2395 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2396 |
#line 2400 "configure" |
#line 2397 "configure" |
2397 |
#include "confdefs.h" |
#include "confdefs.h" |
2398 |
#include <sys/types.h> |
#include <sys/types.h> |
2399 |
#if STDC_HEADERS |
#if STDC_HEADERS |
2421 |
fi |
fi |
2422 |
|
|
2423 |
echo $ac_n "checking for u_int8_t""... $ac_c" 1>&6 |
echo $ac_n "checking for u_int8_t""... $ac_c" 1>&6 |
2424 |
echo "configure:2428: checking for u_int8_t" >&5 |
echo "configure:2425: checking for u_int8_t" >&5 |
2425 |
if eval "test \"`echo '$''{'ac_cv_type_u_int8_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_u_int8_t'+set}'`\" = set"; then |
2426 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2427 |
else |
else |
2428 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2429 |
#line 2433 "configure" |
#line 2430 "configure" |
2430 |
#include "confdefs.h" |
#include "confdefs.h" |
2431 |
#include <sys/types.h> |
#include <sys/types.h> |
2432 |
#if STDC_HEADERS |
#if STDC_HEADERS |
2454 |
fi |
fi |
2455 |
|
|
2456 |
echo $ac_n "checking for int8_t""... $ac_c" 1>&6 |
echo $ac_n "checking for int8_t""... $ac_c" 1>&6 |
2457 |
echo "configure:2461: checking for int8_t" >&5 |
echo "configure:2458: checking for int8_t" >&5 |
2458 |
if eval "test \"`echo '$''{'ac_cv_type_int8_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_int8_t'+set}'`\" = set"; then |
2459 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2460 |
else |
else |
2461 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2462 |
#line 2466 "configure" |
#line 2463 "configure" |
2463 |
#include "confdefs.h" |
#include "confdefs.h" |
2464 |
#include <sys/types.h> |
#include <sys/types.h> |
2465 |
#if STDC_HEADERS |
#if STDC_HEADERS |
2497 |
for ac_func in strdup strchr getrusage |
for ac_func in strdup strchr getrusage |
2498 |
do |
do |
2499 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2500 |
echo "configure:2504: checking for $ac_func" >&5 |
echo "configure:2501: checking for $ac_func" >&5 |
2501 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2502 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2503 |
else |
else |
2504 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2505 |
#line 2509 "configure" |
#line 2506 "configure" |
2506 |
#include "confdefs.h" |
#include "confdefs.h" |
2507 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2508 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
2525 |
|
|
2526 |
; return 0; } |
; return 0; } |
2527 |
EOF |
EOF |
2528 |
if { (eval echo configure:2532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2529 |
rm -rf conftest* |
rm -rf conftest* |
2530 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
2531 |
else |
else |
2552 |
for ac_func in strdup strerror |
for ac_func in strdup strerror |
2553 |
do |
do |
2554 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2555 |
echo "configure:2559: checking for $ac_func" >&5 |
echo "configure:2556: checking for $ac_func" >&5 |
2556 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2557 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2558 |
else |
else |
2559 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2560 |
#line 2564 "configure" |
#line 2561 "configure" |
2561 |
#include "confdefs.h" |
#include "confdefs.h" |
2562 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2563 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
2580 |
|
|
2581 |
; return 0; } |
; return 0; } |
2582 |
EOF |
EOF |
2583 |
if { (eval echo configure:2587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2584 |
rm -rf conftest* |
rm -rf conftest* |
2585 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
2586 |
else |
else |
2607 |
|
|
2608 |
|
|
2609 |
echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
2610 |
echo "configure:2614: checking for vprintf" >&5 |
echo "configure:2611: checking for vprintf" >&5 |
2611 |
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
2612 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2613 |
else |
else |
2614 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2615 |
#line 2619 "configure" |
#line 2616 "configure" |
2616 |
#include "confdefs.h" |
#include "confdefs.h" |
2617 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2618 |
which can conflict with char vprintf(); below. */ |
which can conflict with char vprintf(); below. */ |
2635 |
|
|
2636 |
; return 0; } |
; return 0; } |
2637 |
EOF |
EOF |
2638 |
if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2639 |
rm -rf conftest* |
rm -rf conftest* |
2640 |
eval "ac_cv_func_vprintf=yes" |
eval "ac_cv_func_vprintf=yes" |
2641 |
else |
else |
2659 |
|
|
2660 |
if test "$ac_cv_func_vprintf" != yes; then |
if test "$ac_cv_func_vprintf" != yes; then |
2661 |
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 |
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 |
2662 |
echo "configure:2666: checking for _doprnt" >&5 |
echo "configure:2663: checking for _doprnt" >&5 |
2663 |
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
2664 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2665 |
else |
else |
2666 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
2667 |
#line 2671 "configure" |
#line 2668 "configure" |
2668 |
#include "confdefs.h" |
#include "confdefs.h" |
2669 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2670 |
which can conflict with char _doprnt(); below. */ |
which can conflict with char _doprnt(); below. */ |
2687 |
|
|
2688 |
; return 0; } |
; return 0; } |
2689 |
EOF |
EOF |
2690 |
if { (eval echo configure:2694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2691 |
rm -rf conftest* |
rm -rf conftest* |
2692 |
eval "ac_cv_func__doprnt=yes" |
eval "ac_cv_func__doprnt=yes" |
2693 |
else |
else |