diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-01-22 01:51:14 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-01-22 01:51:14 +0000 |
commit | 299bd8dbd1adb8d0269c5011285c0bebbd271431 (patch) | |
tree | f049919551ecfa28b88f68eee43f86328bce3a6f /security | |
parent | Add $INSTALLS_SHLIB=yes flag. (diff) |
Recent versions of OpenPAM require <sys/types.h> to be included before
<security/pam_appl.h>. Make configure{,.in} do so.
Notes
Notes:
svn path=/head/; revision=73760
Diffstat (limited to 'security')
-rw-r--r-- | security/p5-Authen-PAM/Makefile | 1 | ||||
-rw-r--r-- | security/p5-Authen-PAM/files/patch-aa | 12 | ||||
-rw-r--r-- | security/p5-Authen-PAM/files/patch-ab | 715 |
3 files changed, 728 insertions, 0 deletions
diff --git a/security/p5-Authen-PAM/Makefile b/security/p5-Authen-PAM/Makefile index 61c2d196cdfb..a039ffd6f7ef 100644 --- a/security/p5-Authen-PAM/Makefile +++ b/security/p5-Authen-PAM/Makefile @@ -7,6 +7,7 @@ PORTNAME= Authen-PAM PORTVERSION= 0.13 +PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Authen diff --git a/security/p5-Authen-PAM/files/patch-aa b/security/p5-Authen-PAM/files/patch-aa new file mode 100644 index 000000000000..fcaeed56e47f --- /dev/null +++ b/security/p5-Authen-PAM/files/patch-aa @@ -0,0 +1,12 @@ +--- configure.in.orig Wed Jan 22 02:36:43 2003 ++++ configure.in Wed Jan 22 02:36:59 2003 +@@ -32,7 +32,8 @@ + dnl Checks for various PAM constants + AC_DEFUN(AC_CHECK_PAM_CONST, + [AC_CACHE_CHECK(for $1, ac_cv_have_$1, +-AC_TRY_COMPILE([#include <security/pam_appl.h>], ++AC_TRY_COMPILE([#include <sys/types.h> ++#include <security/pam_appl.h>], + [int i = $1], + [ac_cv_have_$1=yes], ac_cv_have_$1=no)) + if test "$ac_cv_have_$1" = yes; then diff --git a/security/p5-Authen-PAM/files/patch-ab b/security/p5-Authen-PAM/files/patch-ab new file mode 100644 index 000000000000..44899b86eebe --- /dev/null +++ b/security/p5-Authen-PAM/files/patch-ab @@ -0,0 +1,715 @@ +--- configure.orig Wed Jan 22 02:45:52 2003 ++++ configure Wed Jan 22 02:48:22 2003 +@@ -28,6 +28,7 @@ + program_transform_name=s,x,x, + silent= + site= ++sitefile= + srcdir= + target=NONE + verbose= +@@ -142,6 +143,7 @@ + --help print this message + --no-create do not create output files + --quiet, --silent do not print \`checking...' messages ++ --site-file=FILE use FILE as the site file + --version print the version of autoconf that created configure + Directory and file names: + --prefix=PREFIX install architecture-independent files in PREFIX +@@ -312,6 +314,11 @@ + -site=* | --site=* | --sit=*) + site="$ac_optarg" ;; + ++ -site-file | --site-file | --site-fil | --site-fi | --site-f) ++ ac_prev=sitefile ;; ++ -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*) ++ sitefile="$ac_optarg" ;; ++ + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) +@@ -477,12 +484,16 @@ + srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` + + # Prefer explicitly selected file to automatically selected ones. +-if test -z "$CONFIG_SITE"; then +- if test "x$prefix" != xNONE; then +- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" +- else +- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" ++if test -z "$sitefile"; then ++ if test -z "$CONFIG_SITE"; then ++ if test "x$prefix" != xNONE; then ++ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" ++ else ++ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" ++ fi + fi ++else ++ CONFIG_SITE="$sitefile" + fi + for ac_site_file in $CONFIG_SITE; do + if test -r "$ac_site_file"; then +@@ -525,7 +536,7 @@ + # Extract the first word of "gcc", so it can be a program name with args. + set dummy gcc; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:529: checking for $ac_word" >&5 ++echo "configure:540: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -555,7 +566,7 @@ + # Extract the first word of "cc", so it can be a program name with args. + set dummy cc; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:559: checking for $ac_word" >&5 ++echo "configure:570: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -606,7 +617,7 @@ + # Extract the first word of "cl", so it can be a program name with args. + set dummy cl; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:610: checking for $ac_word" >&5 ++echo "configure:621: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -638,7 +649,7 @@ + fi + + echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +-echo "configure:642: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ++echo "configure:653: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 + + ac_ext=c + # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +@@ -649,12 +660,12 @@ + + cat > conftest.$ac_ext << EOF + +-#line 653 "configure" ++#line 664 "configure" + #include "confdefs.h" + + main(){return(0);} + EOF +-if { (eval echo configure:658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then +@@ -680,12 +691,12 @@ + { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } + fi + echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +-echo "configure:684: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 ++echo "configure:695: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 + echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 + cross_compiling=$ac_cv_prog_cc_cross + + echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 +-echo "configure:689: checking whether we are using GNU C" >&5 ++echo "configure:700: checking whether we are using GNU C" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -694,7 +705,7 @@ + yes; + #endif + EOF +-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ++if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes + else + ac_cv_prog_gcc=no +@@ -713,7 +724,7 @@ + ac_save_CFLAGS="$CFLAGS" + CFLAGS= + echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +-echo "configure:717: checking whether ${CC-cc} accepts -g" >&5 ++echo "configure:728: checking whether ${CC-cc} accepts -g" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -745,7 +756,7 @@ + fi + + echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 +-echo "configure:749: checking how to run the C preprocessor" >&5 ++echo "configure:760: checking how to run the C preprocessor" >&5 + # On Suns, sometimes $CPP names a directory. + if test -n "$CPP" && test -d "$CPP"; then + CPP= +@@ -760,13 +771,13 @@ + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. + cat > conftest.$ac_ext <<EOF +-#line 764 "configure" ++#line 775 "configure" + #include "confdefs.h" + #include <assert.h> + Syntax Error + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + : +@@ -777,13 +788,13 @@ + rm -rf conftest* + CPP="${CC-cc} -E -traditional-cpp" + cat > conftest.$ac_ext <<EOF +-#line 781 "configure" ++#line 792 "configure" + #include "confdefs.h" + #include <assert.h> + Syntax Error + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + : +@@ -794,13 +805,13 @@ + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext <<EOF +-#line 798 "configure" ++#line 809 "configure" + #include "confdefs.h" + #include <assert.h> + Syntax Error + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + : +@@ -826,7 +837,7 @@ + + + echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 +-echo "configure:830: checking for dlopen in -ldl" >&5 ++echo "configure:841: checking for dlopen in -ldl" >&5 + ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -834,7 +845,7 @@ + ac_save_LIBS="$LIBS" + LIBS="-ldl $LIBS" + cat > conftest.$ac_ext <<EOF +-#line 838 "configure" ++#line 849 "configure" + #include "confdefs.h" + /* Override any gcc2 internal prototype to avoid an error. */ + /* We use char because int might match the return type of a gcc2 +@@ -845,7 +856,7 @@ + dlopen() + ; return 0; } + EOF +-if { (eval echo configure:849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" + else +@@ -878,12 +889,12 @@ + for ac_func in pam_getenv + do + echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +-echo "configure:882: checking for $ac_func" >&5 ++echo "configure:893: checking for $ac_func" >&5 + if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 887 "configure" ++#line 898 "configure" + #include "confdefs.h" + /* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func(); below. */ +@@ -906,7 +917,7 @@ + + ; return 0; } + EOF +-if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" + else +@@ -932,12 +943,12 @@ + + + echo $ac_n "checking if pam_strerror takes a pam_handle_t argument""... $ac_c" 1>&6 +-echo "configure:936: checking if pam_strerror takes a pam_handle_t argument" >&5 ++echo "configure:947: checking if pam_strerror takes a pam_handle_t argument" >&5 + if eval "test \"`echo '$''{'ac_cv_pam_strerror_needs_pamh'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 941 "configure" ++#line 952 "configure" + #include "confdefs.h" + #include <security/pam_appl.h> + int main() { +@@ -945,7 +956,7 @@ + pam_strerror(pamh, PAM_SUCCESS) + ; return 0; } + EOF +-if { (eval echo configure:949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define PAM_STRERROR_NEEDS_PAMH 1 +@@ -966,19 +977,20 @@ + + + echo $ac_n "checking for PAM_AUTHTOKEN_REQD""... $ac_c" 1>&6 +-echo "configure:970: checking for PAM_AUTHTOKEN_REQD" >&5 ++echo "configure:981: checking for PAM_AUTHTOKEN_REQD" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_AUTHTOKEN_REQD'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 975 "configure" ++#line 986 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_AUTHTOKEN_REQD + ; return 0; } + EOF +-if { (eval echo configure:982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_AUTHTOKEN_REQD 1 +@@ -996,19 +1008,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_AUTHTOKEN_REQD" 1>&6 + echo $ac_n "checking for PAM_AUTHTOK_EXPIRED""... $ac_c" 1>&6 +-echo "configure:1000: checking for PAM_AUTHTOK_EXPIRED" >&5 ++echo "configure:1012: checking for PAM_AUTHTOK_EXPIRED" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_AUTHTOK_EXPIRED'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1005 "configure" ++#line 1017 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_AUTHTOK_EXPIRED + ; return 0; } + EOF +-if { (eval echo configure:1012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_AUTHTOK_EXPIRED 1 +@@ -1026,19 +1039,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_AUTHTOK_EXPIRED" 1>&6 + echo $ac_n "checking for PAM_AUTHTOK_RECOVER""... $ac_c" 1>&6 +-echo "configure:1030: checking for PAM_AUTHTOK_RECOVER" >&5 ++echo "configure:1043: checking for PAM_AUTHTOK_RECOVER" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_AUTHTOK_RECOVER'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1035 "configure" ++#line 1048 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_AUTHTOK_RECOVER + ; return 0; } + EOF +-if { (eval echo configure:1042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_AUTHTOK_RECOVER 1 +@@ -1056,19 +1070,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_AUTHTOK_RECOVER" 1>&6 + echo $ac_n "checking for PAM_AUTHTOK_RECOVERY""... $ac_c" 1>&6 +-echo "configure:1060: checking for PAM_AUTHTOK_RECOVERY" >&5 ++echo "configure:1074: checking for PAM_AUTHTOK_RECOVERY" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_AUTHTOK_RECOVERY'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1065 "configure" ++#line 1079 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_AUTHTOK_RECOVERY + ; return 0; } + EOF +-if { (eval echo configure:1072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_AUTHTOK_RECOVERY 1 +@@ -1086,19 +1101,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_AUTHTOK_RECOVERY" 1>&6 + echo $ac_n "checking for PAM_BAD_ITEM""... $ac_c" 1>&6 +-echo "configure:1090: checking for PAM_BAD_ITEM" >&5 ++echo "configure:1105: checking for PAM_BAD_ITEM" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_BAD_ITEM'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1095 "configure" ++#line 1110 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_BAD_ITEM + ; return 0; } + EOF +-if { (eval echo configure:1102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_BAD_ITEM 1 +@@ -1116,19 +1132,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_BAD_ITEM" 1>&6 + echo $ac_n "checking for PAM_CONV_AGAIN""... $ac_c" 1>&6 +-echo "configure:1120: checking for PAM_CONV_AGAIN" >&5 ++echo "configure:1136: checking for PAM_CONV_AGAIN" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_CONV_AGAIN'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1125 "configure" ++#line 1141 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_CONV_AGAIN + ; return 0; } + EOF +-if { (eval echo configure:1132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_CONV_AGAIN 1 +@@ -1146,19 +1163,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_CONV_AGAIN" 1>&6 + echo $ac_n "checking for PAM_CRED_DELETE""... $ac_c" 1>&6 +-echo "configure:1150: checking for PAM_CRED_DELETE" >&5 ++echo "configure:1167: checking for PAM_CRED_DELETE" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_CRED_DELETE'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1155 "configure" ++#line 1172 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_CRED_DELETE + ; return 0; } + EOF +-if { (eval echo configure:1162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_CRED_DELETE 1 +@@ -1176,19 +1194,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_CRED_DELETE" 1>&6 + echo $ac_n "checking for PAM_CRED_ESTABLISH""... $ac_c" 1>&6 +-echo "configure:1180: checking for PAM_CRED_ESTABLISH" >&5 ++echo "configure:1198: checking for PAM_CRED_ESTABLISH" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_CRED_ESTABLISH'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1185 "configure" ++#line 1203 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_CRED_ESTABLISH + ; return 0; } + EOF +-if { (eval echo configure:1192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_CRED_ESTABLISH 1 +@@ -1206,19 +1225,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_CRED_ESTABLISH" 1>&6 + echo $ac_n "checking for PAM_CRED_REFRESH""... $ac_c" 1>&6 +-echo "configure:1210: checking for PAM_CRED_REFRESH" >&5 ++echo "configure:1229: checking for PAM_CRED_REFRESH" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_CRED_REFRESH'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1215 "configure" ++#line 1234 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_CRED_REFRESH + ; return 0; } + EOF +-if { (eval echo configure:1222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_CRED_REFRESH 1 +@@ -1236,19 +1256,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_CRED_REFRESH" 1>&6 + echo $ac_n "checking for PAM_CRED_REINITIALIZE""... $ac_c" 1>&6 +-echo "configure:1240: checking for PAM_CRED_REINITIALIZE" >&5 ++echo "configure:1260: checking for PAM_CRED_REINITIALIZE" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_CRED_REINITIALIZE'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1245 "configure" ++#line 1265 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_CRED_REINITIALIZE + ; return 0; } + EOF +-if { (eval echo configure:1252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_CRED_REINITIALIZE 1 +@@ -1266,19 +1287,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_CRED_REINITIALIZE" 1>&6 + echo $ac_n "checking for PAM_DELETE_CRED""... $ac_c" 1>&6 +-echo "configure:1270: checking for PAM_DELETE_CRED" >&5 ++echo "configure:1291: checking for PAM_DELETE_CRED" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_DELETE_CRED'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1275 "configure" ++#line 1296 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_DELETE_CRED + ; return 0; } + EOF +-if { (eval echo configure:1282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_DELETE_CRED 1 +@@ -1296,19 +1318,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_DELETE_CRED" 1>&6 + echo $ac_n "checking for PAM_ESTABLISH_CRED""... $ac_c" 1>&6 +-echo "configure:1300: checking for PAM_ESTABLISH_CRED" >&5 ++echo "configure:1322: checking for PAM_ESTABLISH_CRED" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_ESTABLISH_CRED'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1305 "configure" ++#line 1327 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_ESTABLISH_CRED + ; return 0; } + EOF +-if { (eval echo configure:1312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_ESTABLISH_CRED 1 +@@ -1326,19 +1349,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_ESTABLISH_CRED" 1>&6 + echo $ac_n "checking for PAM_INCOMPLETE""... $ac_c" 1>&6 +-echo "configure:1330: checking for PAM_INCOMPLETE" >&5 ++echo "configure:1353: checking for PAM_INCOMPLETE" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_INCOMPLETE'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1335 "configure" ++#line 1358 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_INCOMPLETE + ; return 0; } + EOF +-if { (eval echo configure:1342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_INCOMPLETE 1 +@@ -1356,19 +1380,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_INCOMPLETE" 1>&6 + echo $ac_n "checking for PAM_MODULE_UNKNOWN""... $ac_c" 1>&6 +-echo "configure:1360: checking for PAM_MODULE_UNKNOWN" >&5 ++echo "configure:1384: checking for PAM_MODULE_UNKNOWN" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_MODULE_UNKNOWN'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1365 "configure" ++#line 1389 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_MODULE_UNKNOWN + ; return 0; } + EOF +-if { (eval echo configure:1372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_MODULE_UNKNOWN 1 +@@ -1386,19 +1411,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_MODULE_UNKNOWN" 1>&6 + echo $ac_n "checking for PAM_NEW_AUTHTOK_REQD""... $ac_c" 1>&6 +-echo "configure:1390: checking for PAM_NEW_AUTHTOK_REQD" >&5 ++echo "configure:1415: checking for PAM_NEW_AUTHTOK_REQD" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_NEW_AUTHTOK_REQD'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1395 "configure" ++#line 1420 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_NEW_AUTHTOK_REQD + ; return 0; } + EOF +-if { (eval echo configure:1402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_NEW_AUTHTOK_REQD 1 +@@ -1416,19 +1442,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_NEW_AUTHTOK_REQD" 1>&6 + echo $ac_n "checking for PAM_RADIO_TYPE""... $ac_c" 1>&6 +-echo "configure:1420: checking for PAM_RADIO_TYPE" >&5 ++echo "configure:1446: checking for PAM_RADIO_TYPE" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_RADIO_TYPE'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1425 "configure" ++#line 1451 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_RADIO_TYPE + ; return 0; } + EOF +-if { (eval echo configure:1432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_RADIO_TYPE 1 +@@ -1446,19 +1473,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_RADIO_TYPE" 1>&6 + echo $ac_n "checking for PAM_REFRESH_CRED""... $ac_c" 1>&6 +-echo "configure:1450: checking for PAM_REFRESH_CRED" >&5 ++echo "configure:1477: checking for PAM_REFRESH_CRED" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_REFRESH_CRED'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1455 "configure" ++#line 1482 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_REFRESH_CRED + ; return 0; } + EOF +-if { (eval echo configure:1462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_REFRESH_CRED 1 +@@ -1476,19 +1504,20 @@ + + echo "$ac_t""$ac_cv_have_PAM_REFRESH_CRED" 1>&6 + echo $ac_n "checking for PAM_REINITIALIZE_CRED""... $ac_c" 1>&6 +-echo "configure:1480: checking for PAM_REINITIALIZE_CRED" >&5 ++echo "configure:1508: checking for PAM_REINITIALIZE_CRED" >&5 + if eval "test \"`echo '$''{'ac_cv_have_PAM_REINITIALIZE_CRED'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1485 "configure" ++#line 1513 "configure" + #include "confdefs.h" ++#include <sys/types.h> + #include <security/pam_appl.h> + int main() { + int i = PAM_REINITIALIZE_CRED + ; return 0; } + EOF +-if { (eval echo configure:1492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cat >> confdefs.h <<EOF + #define HAVE_PAM_REINITIALIZE_CRED 1 +@@ -1507,12 +1536,12 @@ + echo "$ac_t""$ac_cv_have_PAM_REINITIALIZE_CRED" 1>&6 + + echo $ac_n "checking for RTLD_GLOBAL flag""... $ac_c" 1>&6 +-echo "configure:1511: checking for RTLD_GLOBAL flag" >&5 ++echo "configure:1540: checking for RTLD_GLOBAL flag" >&5 + if eval "test \"`echo '$''{'pam_cv_decl_rtld_global'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <<EOF +-#line 1516 "configure" ++#line 1545 "configure" + #include "confdefs.h" + #include <dlfcn.h> + #ifdef RTLD_GLOBAL |