@@ -865,12 +865,12 @@ Optional Packages:
865
865
--with-perl build Perl modules (PL/Perl)
866
866
--with-python build Python modules (PL/Python)
867
867
--with-java build JDBC interface and Java tools
868
- --with-krb4[=DIR] build with Kerberos 4 support [/usr/athena]
869
- --with-krb5[=DIR] build with Kerberos 5 support [/usr/athena]
868
+ --with-krb4 build with Kerberos 4 support
869
+ --with-krb5 build with Kerberos 5 support
870
870
--with-krb-srvnam=NAME name of the service principal in Kerberos [postgres]
871
871
--with-pam build with PAM support
872
872
--with-rendezvous build with Rendezvous support
873
- --with-openssl[=DIR] build with OpenSSL support [/usr/local/ssl]
873
+ --with-openssl build with OpenSSL support
874
874
--without-readline do not use Readline
875
875
--without-zlib do not use Zlib
876
876
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -3309,7 +3309,6 @@ fi;
3309
3309
3310
3310
3311
3311
3312
-
3313
3312
#
3314
3313
# Kerberos 4
3315
3314
#
@@ -3324,47 +3323,32 @@ if test "${with_krb4+set}" = set; then
3324
3323
3325
3324
case $withval in
3326
3325
yes)
3327
- krb4_prefix=/usr/athena
3326
+
3327
+
3328
+ cat >>confdefs.h <<\_ACEOF
3329
+ #define KRB4 1
3330
+ _ACEOF
3331
+
3332
+ krb_srvtab="/etc/srvtab"
3333
+
3328
3334
;;
3329
3335
no)
3330
3336
:
3331
3337
;;
3332
3338
*)
3333
- with_krb4=yes
3334
- krb4_prefix=$withval
3339
+ { { echo "$as_me:$LINENO: error: no argument expected for --with-krb4 option" >&5
3340
+ echo "$as_me: error: no argument expected for --with-krb4 option" >&2;}
3341
+ { (exit 1); exit 1; }; }
3335
3342
;;
3336
3343
esac
3337
3344
3338
3345
else
3339
3346
with_krb4=no
3340
- fi;
3341
-
3342
-
3343
- if test "$with_krb4" = yes; then
3344
-
3345
- echo "$as_me:$LINENO: result: yes" >&5
3346
- echo "${ECHO_T}yes" >&6
3347
-
3348
- cat >>confdefs.h <<\_ACEOF
3349
- #define KRB4 1
3350
- _ACEOF
3351
-
3352
-
3353
- if test -d "$krb4_prefix/include"; then
3354
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
3355
- fi
3356
- if test -d "$krb4_prefix/lib"; then
3357
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
3358
- fi
3359
-
3360
- krb_srvtab="/etc/srvtab"
3361
-
3362
- else
3363
- echo "$as_me:$LINENO: result: no" >&5
3364
- echo "${ECHO_T}no" >&6
3365
- fi
3366
3347
3348
+ fi;
3367
3349
3350
+ echo "$as_me:$LINENO: result: $with_krb4" >&5
3351
+ echo "${ECHO_T}$with_krb4" >&6
3368
3352
3369
3353
3370
3354
@@ -3382,47 +3366,32 @@ if test "${with_krb5+set}" = set; then
3382
3366
3383
3367
case $withval in
3384
3368
yes)
3385
- krb5_prefix=/usr/athena
3369
+
3370
+
3371
+ cat >>confdefs.h <<\_ACEOF
3372
+ #define KRB5 1
3373
+ _ACEOF
3374
+
3375
+ krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
3376
+
3386
3377
;;
3387
3378
no)
3388
3379
:
3389
3380
;;
3390
3381
*)
3391
- with_krb5=yes
3392
- krb5_prefix=$withval
3382
+ { { echo "$as_me:$LINENO: error: no argument expected for --with-krb5 option" >&5
3383
+ echo "$as_me: error: no argument expected for --with-krb5 option" >&2;}
3384
+ { (exit 1); exit 1; }; }
3393
3385
;;
3394
3386
esac
3395
3387
3396
3388
else
3397
3389
with_krb5=no
3398
- fi;
3399
-
3400
-
3401
- if test "$with_krb5" = yes; then
3402
-
3403
- echo "$as_me:$LINENO: result: yes" >&5
3404
- echo "${ECHO_T}yes" >&6
3405
-
3406
- cat >>confdefs.h <<\_ACEOF
3407
- #define KRB5 1
3408
- _ACEOF
3409
-
3410
-
3411
- if test -d "$krb5_prefix/include"; then
3412
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
3413
- fi
3414
- if test -d "$krb5_prefix/lib"; then
3415
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
3416
- fi
3417
-
3418
- krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
3419
-
3420
- else
3421
- echo "$as_me:$LINENO: result: no" >&5
3422
- echo "${ECHO_T}no" >&6
3423
- fi
3424
3390
3391
+ fi;
3425
3392
3393
+ echo "$as_me:$LINENO: result: $with_krb5" >&5
3394
+ echo "${ECHO_T}$with_krb5" >&6
3426
3395
3427
3396
3428
3397
@@ -3556,6 +3525,8 @@ echo "${ECHO_T}$with_rendezvous" >&6
3556
3525
#
3557
3526
# OpenSSL
3558
3527
#
3528
+ echo "$as_me:$LINENO: checking whether to build with OpenSSL support" >&5
3529
+ echo $ECHO_N "checking whether to build with OpenSSL support... $ECHO_C" >&6
3559
3530
3560
3531
3561
3532
@@ -3565,42 +3536,29 @@ if test "${with_openssl+set}" = set; then
3565
3536
3566
3537
case $withval in
3567
3538
yes)
3568
- openssl_prefix=/usr/local/ssl
3539
+
3540
+ cat >>confdefs.h <<\_ACEOF
3541
+ #define USE_SSL 1
3542
+ _ACEOF
3543
+
3569
3544
;;
3570
3545
no)
3571
3546
:
3572
3547
;;
3573
3548
*)
3574
- with_openssl=yes
3575
- openssl_prefix=$withval
3549
+ { { echo "$as_me:$LINENO: error: no argument expected for --with-openssl option" >&5
3550
+ echo "$as_me: error: no argument expected for --with-openssl option" >&2;}
3551
+ { (exit 1); exit 1; }; }
3576
3552
;;
3577
3553
esac
3578
3554
3579
3555
else
3580
3556
with_openssl=no
3581
- fi;
3582
-
3583
-
3584
- if test "$with_openssl" = yes; then
3585
-
3586
- echo "$as_me:$LINENO: result: building with OpenSSL support" >&5
3587
- echo "${ECHO_T}building with OpenSSL support" >&6
3588
-
3589
- cat >>confdefs.h <<\_ACEOF
3590
- #define USE_SSL 1
3591
- _ACEOF
3592
-
3593
-
3594
- if test -d "${openssl_prefix}/include" ; then
3595
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
3596
- fi
3597
- if test -d "${openssl_prefix}/lib" ; then
3598
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
3599
- fi
3600
-
3601
- fi
3602
3557
3558
+ fi;
3603
3559
3560
+ echo "$as_me:$LINENO: result: $with_openssl" >&5
3561
+ echo "${ECHO_T}$with_openssl" >&6
3604
3562
3605
3563
3606
3564
0 commit comments