Deleted Added
full compact
aclocal.m4 (102644) aclocal.m4 (103423)
1# aclocal.m4t generated automatically by aclocal 1.6.3 -*- Autoconf -*-
2
3# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
4# Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8

--- 4541 unchanged lines hidden (view full) ---

4550 WFLAGS_NOUNUSED="-Wno-unused"
4551 WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
4552fi
4553AC_SUBST(WFLAGS)dnl
4554AC_SUBST(WFLAGS_NOUNUSED)dnl
4555AC_SUBST(WFLAGS_NOIMPLICITINT)dnl
4556])
4557
1# aclocal.m4t generated automatically by aclocal 1.6.3 -*- Autoconf -*-
2
3# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
4# Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8

--- 4541 unchanged lines hidden (view full) ---

4550 WFLAGS_NOUNUSED="-Wno-unused"
4551 WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
4552fi
4553AC_SUBST(WFLAGS)dnl
4554AC_SUBST(WFLAGS_NOUNUSED)dnl
4555AC_SUBST(WFLAGS_NOIMPLICITINT)dnl
4556])
4557
4558dnl $Id: db.m4,v 1.8 2002/05/17 15:32:21 joda Exp $
4558dnl $Id: test-package.m4,v 1.12 2002/09/10 15:23:38 joda Exp $
4559dnl
4559dnl
4560dnl rk_TEST_PACKAGE(package,headers,libraries,extra libs,
4561dnl default locations, conditional, config-program)
4562
4563AC_DEFUN(rk_TEST_PACKAGE,[
4564AC_ARG_WITH($1,
4565 AC_HELP_STRING([--with-$1=dir],[use $1 in dir]))
4566AC_ARG_WITH($1-lib,
4567 AC_HELP_STRING([--with-$1-lib=dir],[use $1 libraries in dir]),
4568[if test "$withval" = "yes" -o "$withval" = "no"; then
4569 AC_MSG_ERROR([No argument for --with-$1-lib])
4570elif test "X$with_$1" = "X"; then
4571 with_$1=yes
4572fi])
4573AC_ARG_WITH($1-include,
4574 AC_HELP_STRING([--with-$1-include=dir],[use $1 headers in dir]),
4575[if test "$withval" = "yes" -o "$withval" = "no"; then
4576 AC_MSG_ERROR([No argument for --with-$1-include])
4577elif test "X$with_$1" = "X"; then
4578 with_$1=yes
4579fi])
4580AC_ARG_WITH($1-config,
4581 AC_HELP_STRING([--with-$1-config=path],[config program for $1]))
4582
4583m4_ifval([$6],
4584 m4_define([rk_pkgname], $6),
4585 m4_define([rk_pkgname], AS_TR_CPP($1)))
4586
4587AC_MSG_CHECKING(for $1)
4588
4589case "$with_$1" in
4590yes|"") d='$5' ;;
4591no) d= ;;
4592*) d="$with_$1" ;;
4593esac
4594
4595header_dirs=
4596lib_dirs=
4597for i in $d; do
4598 if test "$with_$1_include" = ""; then
4599 if test -d "$i/include/$1"; then
4600 header_dirs="$header_dirs $i/include/$1"
4601 fi
4602 if test -d "$i/include"; then
4603 header_dirs="$header_dirs $i/include"
4604 fi
4605 fi
4606 if test "$with_$1_lib" = ""; then
4607 if test -d "$i/lib$abilibdirext"; then
4608 lib_dirs="$lib_dirs $i/lib$abilibdirext"
4609 fi
4610 fi
4611done
4612
4613if test "$with_$1_include"; then
4614 header_dirs="$with_$1_include $header_dirs"
4615fi
4616if test "$with_$1_lib"; then
4617 lib_dirs="$with_$1_lib $lib_dirs"
4618fi
4619
4620if test "$with_$1_config" = ""; then
4621 with_$1_config='$7'
4622fi
4623
4624$1_cflags=
4625$1_libs=
4626
4627case "$with_$1_config" in
4628yes|no|"")
4629 ;;
4630*)
4631 $1_cflags="`$with_$1_config --cflags 2>&1`"
4632 $1_libs="`$with_$1_config --libs 2>&1`"
4633 ;;
4634esac
4635
4636found=no
4637if test "$with_$1" != no; then
4638 save_CFLAGS="$CFLAGS"
4639 save_LIBS="$LIBS"
4640 if test "$[]$1_cflags" -a "$[]$1_libs"; then
4641 CFLAGS="$[]$1_cflags $save_CFLAGS"
4642 LIBS="$[]$1_libs $save_LIBS"
4643 AC_TRY_LINK([$2],,[
4644 INCLUDE_$1="$[]$1_cflags"
4645 LIB_$1="$[]$1_libs"
4646 AC_MSG_RESULT([from $with_$1_config])
4647 found=yes])
4648 fi
4649 if test "$found" = no; then
4650 ires= lres=
4651 for i in $header_dirs; do
4652 CFLAGS="-I$i $save_CFLAGS"
4653 AC_TRY_COMPILE([$2],,ires=$i;break)
4654 done
4655 for i in $lib_dirs; do
4656 LIBS="-L$i $3 $4 $save_LIBS"
4657 AC_TRY_LINK([$2],,lres=$i;break)
4658 done
4659 if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
4660 INCLUDE_$1="-I$ires"
4661 LIB_$1="-L$lres $3 $4"
4662 found=yes
4663 AC_MSG_RESULT([headers $ires, libraries $lres])
4664 fi
4665 fi
4666 CFLAGS="$save_CFLAGS"
4667 LIBS="$save_LIBS"
4668fi
4669
4670if test "$found" = yes; then
4671 AC_DEFINE_UNQUOTED(rk_pkgname, 1, [Define if you have the $1 package.])
4672 with_$1=yes
4673else
4674 with_$1=no
4675 INCLUDE_$1=
4676 LIB_$1=
4677 AC_MSG_RESULT(no)
4678fi
4679
4680AC_SUBST(INCLUDE_$1)
4681AC_SUBST(LIB_$1)
4682])
4683
4684dnl $Id: find-func.m4,v 1.1 1997/12/14 15:58:58 joda Exp $
4685dnl
4686dnl AC_FIND_FUNC(func, libraries, includes, arguments)
4687AC_DEFUN(AC_FIND_FUNC, [
4688AC_FIND_FUNC_NO_LIBS([$1], [$2], [$3], [$4])
4689if test -n "$LIB_$1"; then
4690 LIBS="$LIB_$1 $LIBS"
4691fi
4692])
4693
4694dnl $Id: find-func-no-libs.m4,v 1.5 1999/10/30 21:08:18 assar Exp $
4695dnl
4696dnl
4697dnl Look for function in any of the specified libraries
4698dnl
4699
4700dnl AC_FIND_FUNC_NO_LIBS(func, libraries, includes, arguments, extra libs, extra args)
4701AC_DEFUN(AC_FIND_FUNC_NO_LIBS, [
4702AC_FIND_FUNC_NO_LIBS2([$1], ["" $2], [$3], [$4], [$5], [$6])])
4703
4704dnl $Id: find-func-no-libs2.m4,v 1.6 2001/09/01 10:57:32 assar Exp $
4705dnl
4706dnl
4707dnl Look for function in any of the specified libraries
4708dnl
4709
4710dnl AC_FIND_FUNC_NO_LIBS2(func, libraries, includes, arguments, extra libs, extra args)
4711AC_DEFUN(AC_FIND_FUNC_NO_LIBS2, [
4712
4713AC_MSG_CHECKING([for $1])
4714AC_CACHE_VAL(ac_cv_funclib_$1,
4715[
4716if eval "test \"\$ac_cv_func_$1\" != yes" ; then
4717 ac_save_LIBS="$LIBS"
4718 for ac_lib in $2; do
4719 case "$ac_lib" in
4720 "") ;;
4721 yes) ac_lib="" ;;
4722 no) continue ;;
4723 -l*) ;;
4724 *) ac_lib="-l$ac_lib" ;;
4725 esac
4726 LIBS="$6 $ac_lib $5 $ac_save_LIBS"
4727 AC_TRY_LINK([$3],[$1($4)],eval "if test -n \"$ac_lib\";then ac_cv_funclib_$1=$ac_lib; else ac_cv_funclib_$1=yes; fi";break)
4728 done
4729 eval "ac_cv_funclib_$1=\${ac_cv_funclib_$1-no}"
4730 LIBS="$ac_save_LIBS"
4731fi
4732])
4733
4734eval "ac_res=\$ac_cv_funclib_$1"
4735
4736if false; then
4737 AC_CHECK_FUNCS($1)
4738dnl AC_CHECK_LIBS($2, foo)
4739fi
4740# $1
4741eval "ac_tr_func=HAVE_[]upcase($1)"
4742eval "ac_tr_lib=HAVE_LIB[]upcase($ac_res | sed -e 's/-l//')"
4743eval "LIB_$1=$ac_res"
4744
4745case "$ac_res" in
4746 yes)
4747 eval "ac_cv_func_$1=yes"
4748 eval "LIB_$1="
4749 AC_DEFINE_UNQUOTED($ac_tr_func)
4750 AC_MSG_RESULT([yes])
4751 ;;
4752 no)
4753 eval "ac_cv_func_$1=no"
4754 eval "LIB_$1="
4755 AC_MSG_RESULT([no])
4756 ;;
4757 *)
4758 eval "ac_cv_func_$1=yes"
4759 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
4760 AC_DEFINE_UNQUOTED($ac_tr_func)
4761 AC_DEFINE_UNQUOTED($ac_tr_lib)
4762 AC_MSG_RESULT([yes, in $ac_res])
4763 ;;
4764esac
4765AC_SUBST(LIB_$1)
4766])
4767
4768dnl $Id: crypto.m4,v 1.13 2002/09/10 19:55:48 joda Exp $
4769dnl
4770dnl test for crypto libraries:
4771dnl - libcrypto (from openssl)
4772dnl - libdes (from krb4)
4773dnl - own-built libdes
4774
4775m4_define([test_headers], [
4776 #undef KRB5 /* makes md4.h et al unhappy */
4777 #ifdef HAVE_OPENSSL
4778 #include <openssl/md4.h>
4779 #include <openssl/md5.h>
4780 #include <openssl/sha.h>
4781 #include <openssl/des.h>
4782 #include <openssl/rc4.h>
4783 #else
4784 #include <md4.h>
4785 #include <md5.h>
4786 #include <sha.h>
4787 #include <des.h>
4788 #include <rc4.h>
4789 #endif
4790 #ifdef OLD_HASH_NAMES
4791 typedef struct md4 MD4_CTX;
4792 #define MD4_Init(C) md4_init((C))
4793 #define MD4_Update(C, D, L) md4_update((C), (D), (L))
4794 #define MD4_Final(D, C) md4_finito((C), (D))
4795 typedef struct md5 MD5_CTX;
4796 #define MD5_Init(C) md5_init((C))
4797 #define MD5_Update(C, D, L) md5_update((C), (D), (L))
4798 #define MD5_Final(D, C) md5_finito((C), (D))
4799 typedef struct sha SHA_CTX;
4800 #define SHA1_Init(C) sha_init((C))
4801 #define SHA1_Update(C, D, L) sha_update((C), (D), (L))
4802 #define SHA1_Final(D, C) sha_finito((C), (D))
4803 #endif
4804 ])
4805m4_define([test_body], [
4806 void *schedule = 0;
4807 MD4_CTX md4;
4808 MD5_CTX md5;
4809 SHA_CTX sha1;
4810
4811 MD4_Init(&md4);
4812 MD5_Init(&md5);
4813 SHA1_Init(&sha1);
4814
4815 des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
4816 RC4(0, 0, 0, 0);])
4817
4818
4819AC_DEFUN([KRB_CRYPTO],[
4820crypto_lib=unknown
4821AC_WITH_ALL([openssl])
4822
4823DIR_des=
4824
4825AC_MSG_CHECKING([for crypto library])
4826
4827openssl=no
4828old_hash=no
4829
4830if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
4831 save_CPPFLAGS="$CPPFLAGS"
4832 save_LIBS="$LIBS"
4833
4834 cdirs= clibs=
4835 for i in $LIB_krb4; do
4836 case "$i" in
4837 -L*) cdirs="$cdirs $i";;
4838 -l*) clibs="$clibs $i";;
4839 esac
4840 done
4841
4842 ires=
4843 for i in $INCLUDE_krb4; do
4844 CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
4845 AC_TRY_COMPILE(test_headers, test_body,
4846 openssl=yes ires="$i"; break)
4847 CFLAGS="$i $save_CFLAGS"
4848 AC_TRY_COMPILE(test_headers, test_body,
4849 openssl=no ires="$i"; break)
4850 CFLAGS="-DOLD_HASH_NAMES $i $save_CFLAGS"
4851 AC_TRY_COMPILE(test_headers, test_body,
4852 openssl=no ires="$i" old_hash=yes; break)
4853 done
4854 lres=
4855 for i in $cdirs; do
4856 for j in $clibs; do
4857 LIBS="$i $j $save_LIBS"
4858 AC_TRY_LINK(test_headers, test_body,
4859 lres="$i $j"; break 2)
4860 done
4861 done
4862 CFLAGS="$save_CFLAGS"
4863 LIBS="$save_LIBS"
4864 if test "$ires" -a "$lres"; then
4865 INCLUDE_des="$ires"
4866 LIB_des="$lres"
4867 crypto_lib=krb4
4868 AC_MSG_RESULT([same as krb4])
4869 LIB_des_a='$(LIB_des)'
4870 LIB_des_so='$(LIB_des)'
4871 LIB_des_appl='$(LIB_des)'
4872 fi
4873fi
4874
4875if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
4876 save_CFLAGS="$CFLAGS"
4877 save_LIBS="$LIBS"
4878 INCLUDE_des=
4879 LIB_des=
4880 if test "$with_openssl_include" != ""; then
4881 INCLUDE_des="-I${with_openssl}/include"
4882 fi
4883 if test "$with_openssl_lib" != ""; then
4884 LIB_des="-L${with_openssl}/lib"
4885 fi
4886 CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
4887 LIB_des="${LIB_des} -lcrypto"
4888 LIB_des_a="$LIB_des"
4889 LIB_des_so="$LIB_des"
4890 LIB_des_appl="$LIB_des"
4891 LIBS="${LIBS} ${LIB_des}"
4892 AC_TRY_LINK(test_headers, test_body, [
4893 crypto_lib=libcrypto openssl=yes
4894 AC_MSG_RESULT([libcrypto])
4895 ])
4896 CFLAGS="$save_CFLAGS"
4897 LIBS="$save_LIBS"
4898fi
4899
4900if test "$crypto_lib" = "unknown"; then
4901
4902 DIR_des='des'
4903 LIB_des='$(top_builddir)/lib/des/libdes.la'
4904 LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
4905 LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
4906 LIB_des_appl="-ldes"
4907
4908 AC_MSG_RESULT([included libdes])
4909
4910fi
4911
4912if test "$with_krb4" != no -a "$crypto_lib" != krb4; then
4913 AC_MSG_ERROR([the crypto library used by krb4 lacks features
4914required by Kerberos 5; to continue, you need to install a newer
4915Kerberos 4 or configure --without-krb4])
4916fi
4917
4918if test "$openssl" = "yes"; then
4919 AC_DEFINE([HAVE_OPENSSL], 1, [define to use openssl's libcrypto])
4920fi
4921if test "$old_hash" = yes; then
4922 AC_DEFINE([HAVE_OLD_HASH_NAMES], 1,
4923 [define if you have hash functions like md4_finito()])
4924fi
4925AM_CONDITIONAL(HAVE_OPENSSL, test "$openssl" = yes)dnl
4926
4927AC_SUBST(DIR_des)
4928AC_SUBST(INCLUDE_des)
4929AC_SUBST(LIB_des)
4930AC_SUBST(LIB_des_a)
4931AC_SUBST(LIB_des_so)
4932AC_SUBST(LIB_des_appl)
4933])
4934
4935dnl
4936dnl $Id: with-all.m4,v 1.1 2001/08/29 17:01:23 assar Exp $
4937dnl
4938
4939dnl AC_WITH_ALL(name)
4940
4941AC_DEFUN([AC_WITH_ALL], [
4942AC_ARG_WITH($1,
4943 AC_HELP_STRING([--with-$1=dir],
4944 [use $1 in dir]))
4945
4946AC_ARG_WITH($1-lib,
4947 AC_HELP_STRING([--with-$1-lib=dir],
4948 [use $1 libraries in dir]),
4949[if test "$withval" = "yes" -o "$withval" = "no"; then
4950 AC_MSG_ERROR([No argument for --with-$1-lib])
4951elif test "X$with_$1" = "X"; then
4952 with_$1=yes
4953fi])
4954
4955AC_ARG_WITH($1-include,
4956 AC_HELP_STRING([--with-$1-include=dir],
4957 [use $1 headers in dir]),
4958[if test "$withval" = "yes" -o "$withval" = "no"; then
4959 AC_MSG_ERROR([No argument for --with-$1-include])
4960elif test "X$with_$1" = "X"; then
4961 with_$1=yes
4962fi])
4963
4964case "$with_$1" in
4965yes) ;;
4966no) ;;
4967"") ;;
4968*) if test "$with_$1_include" = ""; then
4969 with_$1_include="$with_$1/include"
4970 fi
4971 if test "$with_$1_lib" = ""; then
4972 with_$1_lib="$with_$1/lib$abilibdirext"
4973 fi
4974 ;;
4975esac
4976])
4977dnl $Id: db.m4,v 1.9 2002/09/10 14:29:47 joda Exp $
4978dnl
4560dnl tests for various db libraries
4561dnl
4562AC_DEFUN([rk_DB],[
4563AC_ARG_ENABLE(berkeley-db,
4564 AC_HELP_STRING([--disable-berkeley-db],
4565 [if you don't want berkeley db]),[
4566])
4567

--- 174 unchanged lines hidden (view full) ---

4742 AC_MSG_RESULT([no])
4743 fi],[AC_MSG_RESULT([no])])
4744fi
4745
4746AM_CONDITIONAL(HAVE_DB1, test "$db_type" = db1)dnl
4747AM_CONDITIONAL(HAVE_DB3, test "$db_type" = db3)dnl
4748AM_CONDITIONAL(HAVE_NDBM, test "$db_type" = ndbm)dnl
4749
4979dnl tests for various db libraries
4980dnl
4981AC_DEFUN([rk_DB],[
4982AC_ARG_ENABLE(berkeley-db,
4983 AC_HELP_STRING([--disable-berkeley-db],
4984 [if you don't want berkeley db]),[
4985])
4986

--- 174 unchanged lines hidden (view full) ---

5161 AC_MSG_RESULT([no])
5162 fi],[AC_MSG_RESULT([no])])
5163fi
5164
5165AM_CONDITIONAL(HAVE_DB1, test "$db_type" = db1)dnl
5166AM_CONDITIONAL(HAVE_DB3, test "$db_type" = db3)dnl
5167AM_CONDITIONAL(HAVE_NDBM, test "$db_type" = ndbm)dnl
5168
4750DBLIB="$LDFLAGS $DBLIB"
5169z=""
5170for i in $LDFLAGS; do
5171 case "$i" in
5172 -L*) z="$z $i";;
5173 esac
5174done
5175DBLIB="$z $DBLIB"
4751AC_SUBST(DBLIB)dnl
4752AC_SUBST(LIB_NDBM)dnl
4753])
4754
5176AC_SUBST(DBLIB)dnl
5177AC_SUBST(LIB_NDBM)dnl
5178])
5179
4755dnl $Id: find-func-no-libs.m4,v 1.5 1999/10/30 21:08:18 assar Exp $
5180dnl $Id: roken-frag.m4,v 1.44 2002/09/04 20:57:30 joda Exp $
4756dnl
5181dnl
4757dnl
4758dnl Look for function in any of the specified libraries
4759dnl
4760
4761dnl AC_FIND_FUNC_NO_LIBS(func, libraries, includes, arguments, extra libs, extra args)
4762AC_DEFUN(AC_FIND_FUNC_NO_LIBS, [
4763AC_FIND_FUNC_NO_LIBS2([$1], ["" $2], [$3], [$4], [$5], [$6])])
4764
4765dnl $Id: find-func-no-libs2.m4,v 1.6 2001/09/01 10:57:32 assar Exp $
4766dnl
4767dnl
4768dnl Look for function in any of the specified libraries
4769dnl
4770
4771dnl AC_FIND_FUNC_NO_LIBS2(func, libraries, includes, arguments, extra libs, extra args)
4772AC_DEFUN(AC_FIND_FUNC_NO_LIBS2, [
4773
4774AC_MSG_CHECKING([for $1])
4775AC_CACHE_VAL(ac_cv_funclib_$1,
4776[
4777if eval "test \"\$ac_cv_func_$1\" != yes" ; then
4778 ac_save_LIBS="$LIBS"
4779 for ac_lib in $2; do
4780 case "$ac_lib" in
4781 "") ;;
4782 yes) ac_lib="" ;;
4783 no) continue ;;
4784 -l*) ;;
4785 *) ac_lib="-l$ac_lib" ;;
4786 esac
4787 LIBS="$6 $ac_lib $5 $ac_save_LIBS"
4788 AC_TRY_LINK([$3],[$1($4)],eval "if test -n \"$ac_lib\";then ac_cv_funclib_$1=$ac_lib; else ac_cv_funclib_$1=yes; fi";break)
4789 done
4790 eval "ac_cv_funclib_$1=\${ac_cv_funclib_$1-no}"
4791 LIBS="$ac_save_LIBS"
4792fi
4793])
4794
4795eval "ac_res=\$ac_cv_funclib_$1"
4796
4797if false; then
4798 AC_CHECK_FUNCS($1)
4799dnl AC_CHECK_LIBS($2, foo)
4800fi
4801# $1
4802eval "ac_tr_func=HAVE_[]upcase($1)"
4803eval "ac_tr_lib=HAVE_LIB[]upcase($ac_res | sed -e 's/-l//')"
4804eval "LIB_$1=$ac_res"
4805
4806case "$ac_res" in
4807 yes)
4808 eval "ac_cv_func_$1=yes"
4809 eval "LIB_$1="
4810 AC_DEFINE_UNQUOTED($ac_tr_func)
4811 AC_MSG_RESULT([yes])
4812 ;;
4813 no)
4814 eval "ac_cv_func_$1=no"
4815 eval "LIB_$1="
4816 AC_MSG_RESULT([no])
4817 ;;
4818 *)
4819 eval "ac_cv_func_$1=yes"
4820 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
4821 AC_DEFINE_UNQUOTED($ac_tr_func)
4822 AC_DEFINE_UNQUOTED($ac_tr_lib)
4823 AC_MSG_RESULT([yes, in $ac_res])
4824 ;;
4825esac
4826AC_SUBST(LIB_$1)
4827])
4828
4829dnl $Id: roken-frag.m4,v 1.42 2002/08/26 13:26:52 assar Exp $
4830dnl
4831dnl some code to get roken working
4832dnl
4833dnl rk_ROKEN(subdir)
4834dnl
4835AC_DEFUN(rk_ROKEN, [
4836
4837AC_REQUIRE([rk_CONFIG_HEADER])
4838

--- 53 unchanged lines hidden (view full) ---

4892 netinet6/in6_var.h \
4893 paths.h \
4894 pwd.h \
4895 resolv.h \
4896 rpcsvc/ypclnt.h \
4897 shadow.h \
4898 sys/bswap.h \
4899 sys/ioctl.h \
5182dnl some code to get roken working
5183dnl
5184dnl rk_ROKEN(subdir)
5185dnl
5186AC_DEFUN(rk_ROKEN, [
5187
5188AC_REQUIRE([rk_CONFIG_HEADER])
5189

--- 53 unchanged lines hidden (view full) ---

5243 netinet6/in6_var.h \
5244 paths.h \
5245 pwd.h \
5246 resolv.h \
5247 rpcsvc/ypclnt.h \
5248 shadow.h \
5249 sys/bswap.h \
5250 sys/ioctl.h \
5251 sys/mman.h \
4900 sys/param.h \
4901 sys/proc.h \
4902 sys/resource.h \
4903 sys/socket.h \
4904 sys/sockio.h \
4905 sys/stat.h \
4906 sys/sysctl.h \
4907 sys/time.h \

--- 41 unchanged lines hidden (view full) ---

4949#include <arpa/nameser.h>
4950#endif
4951#ifdef HAVE_RESOLV_H
4952#include <resolv.h>
4953#endif
4954],
4955[0,0,0,0,0])
4956
5252 sys/param.h \
5253 sys/proc.h \
5254 sys/resource.h \
5255 sys/socket.h \
5256 sys/sockio.h \
5257 sys/stat.h \
5258 sys/sysctl.h \
5259 sys/time.h \

--- 41 unchanged lines hidden (view full) ---

5301#include <arpa/nameser.h>
5302#endif
5303#ifdef HAVE_RESOLV_H
5304#include <resolv.h>
5305#endif
5306],
5307[0,0,0,0,0])
5308
5309AC_FIND_FUNC(res_nsearch, resolv,
5310[
5311#include <stdio.h>
5312#ifdef HAVE_SYS_TYPES_H
5313#include <sys/types.h>
5314#endif
5315#ifdef HAVE_NETINET_IN_H
5316#include <netinet/in.h>
5317#endif
5318#ifdef HAVE_ARPA_NAMESER_H
5319#include <arpa/nameser.h>
5320#endif
5321#ifdef HAVE_RESOLV_H
5322#include <resolv.h>
5323#endif
5324],
5325[0,0,0,0,0])
5326
4957AC_FIND_FUNC(dn_expand, resolv,
4958[
4959#include <stdio.h>
4960#ifdef HAVE_SYS_TYPES_H
4961#include <sys/types.h>
4962#endif
4963#ifdef HAVE_NETINET_IN_H
4964#include <netinet/in.h>

--- 63 unchanged lines hidden (view full) ---

5028])
5029
5030if test "$ac_cv_func_cgetent" = no; then
5031 AC_LIBOBJ(getcap)
5032fi
5033
5034AC_REQUIRE([AC_FUNC_GETLOGIN])
5035
5327AC_FIND_FUNC(dn_expand, resolv,
5328[
5329#include <stdio.h>
5330#ifdef HAVE_SYS_TYPES_H
5331#include <sys/types.h>
5332#endif
5333#ifdef HAVE_NETINET_IN_H
5334#include <netinet/in.h>

--- 63 unchanged lines hidden (view full) ---

5398])
5399
5400if test "$ac_cv_func_cgetent" = no; then
5401 AC_LIBOBJ(getcap)
5402fi
5403
5404AC_REQUIRE([AC_FUNC_GETLOGIN])
5405
5406AC_REQUIRE([AC_FUNC_MMAP])
5407
5036AC_FIND_FUNC_NO_LIBS(getsockopt,,
5037[#ifdef HAVE_SYS_TYPES_H
5038#include <sys/types.h>
5039#endif
5040#ifdef HAVE_SYS_SOCKET_H
5041#include <sys/socket.h>
5042#endif],
5043[0,0,0,0,0])

--- 491 unchanged lines hidden (view full) ---

5535 AC_DEFINE_UNQUOTED($ac_tr_hdr, 1)
5536fi
5537done
5538if false;then
5539 AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h)
5540fi
5541])
5542
5408AC_FIND_FUNC_NO_LIBS(getsockopt,,
5409[#ifdef HAVE_SYS_TYPES_H
5410#include <sys/types.h>
5411#endif
5412#ifdef HAVE_SYS_SOCKET_H
5413#include <sys/socket.h>
5414#endif],
5415[0,0,0,0,0])

--- 491 unchanged lines hidden (view full) ---

5907 AC_DEFINE_UNQUOTED($ac_tr_hdr, 1)
5908fi
5909done
5910if false;then
5911 AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h)
5912fi
5913])
5914
5543dnl $Id: find-func.m4,v 1.1 1997/12/14 15:58:58 joda Exp $
5544dnl
5545dnl AC_FIND_FUNC(func, libraries, includes, arguments)
5546AC_DEFUN(AC_FIND_FUNC, [
5547AC_FIND_FUNC_NO_LIBS([$1], [$2], [$3], [$4])
5548if test -n "$LIB_$1"; then
5549 LIBS="$LIB_$1 $LIBS"
5550fi
5551])
5552
5553dnl $Id: krb-ipv6.m4,v 1.13 2002/04/30 16:48:13 joda Exp $
5554dnl
5555dnl test for IPv6
5556dnl
5557AC_DEFUN(AC_KRB_IPV6, [
5558AC_ARG_WITH(ipv6,
5559 AC_HELP_STRING([--without-ipv6],[do not enable IPv6 support]),[
5560if test "$withval" = "no"; then

--- 538 unchanged lines hidden (view full) ---

6099])
6100AC_MSG_RESULT($ac_cv_struct_spwd)
6101
6102if test "$ac_cv_struct_spwd" = "yes"; then
6103 AC_DEFINE(HAVE_STRUCT_SPWD, 1, [define if you have struct spwd])
6104fi
6105])
6106
5915dnl $Id: krb-ipv6.m4,v 1.13 2002/04/30 16:48:13 joda Exp $
5916dnl
5917dnl test for IPv6
5918dnl
5919AC_DEFUN(AC_KRB_IPV6, [
5920AC_ARG_WITH(ipv6,
5921 AC_HELP_STRING([--without-ipv6],[do not enable IPv6 support]),[
5922if test "$withval" = "no"; then

--- 538 unchanged lines hidden (view full) ---

6461])
6462AC_MSG_RESULT($ac_cv_struct_spwd)
6463
6464if test "$ac_cv_struct_spwd" = "yes"; then
6465 AC_DEFINE(HAVE_STRUCT_SPWD, 1, [define if you have struct spwd])
6466fi
6467])
6468
6107dnl $Id: test-package.m4,v 1.11 2002/08/28 19:30:48 joda Exp $
6108dnl
6109dnl rk_TEST_PACKAGE(package,headers,libraries,extra libs,
6110dnl default locations, conditional, config-program)
6111
6112AC_DEFUN(rk_TEST_PACKAGE,[
6113AC_ARG_WITH($1,
6114 AC_HELP_STRING([--with-$1=dir],[use $1 in dir]))
6115AC_ARG_WITH($1-lib,
6116 AC_HELP_STRING([--with-$1-lib=dir],[use $1 libraries in dir]),
6117[if test "$withval" = "yes" -o "$withval" = "no"; then
6118 AC_MSG_ERROR([No argument for --with-$1-lib])
6119elif test "X$with_$1" = "X"; then
6120 with_$1=yes
6121fi])
6122AC_ARG_WITH($1-include,
6123 AC_HELP_STRING([--with-$1-include=dir],[use $1 headers in dir]),
6124[if test "$withval" = "yes" -o "$withval" = "no"; then
6125 AC_MSG_ERROR([No argument for --with-$1-include])
6126elif test "X$with_$1" = "X"; then
6127 with_$1=yes
6128fi])
6129AC_ARG_WITH($1-config,
6130 AC_HELP_STRING([--with-$1-config=path],[config program for $1]))
6131
6132m4_ifval([$6],
6133 m4_define([rk_pkgname], $6),
6134 m4_define([rk_pkgname], AS_TR_CPP($1)))
6135
6136AC_MSG_CHECKING(for $1)
6137
6138case "$with_$1" in
6139yes|"") d='$5' ;;
6140no) d= ;;
6141*) d="$with_$1" ;;
6142esac
6143
6144header_dirs=
6145lib_dirs=
6146for i in $d; do
6147 if test "$with_$1_include" = ""; then
6148 if test -d "$i/include/$1"; then
6149 header_dirs="$header_dirs $i/include/$1"
6150 fi
6151 if test -d "$i/include"; then
6152 header_dirs="$header_dirs $i/include"
6153 fi
6154 fi
6155 if test "$with_$1_lib" = ""; then
6156 if test -d "$i/lib$abilibdirext"; then
6157 lib_dirs="$lib_dirs $i/lib$abilibdirext"
6158 fi
6159 fi
6160done
6161
6162if test "$with_$1_include"; then
6163 header_dirs="$with_$1_include $header_dirs"
6164fi
6165if test "$with_$1_lib"; then
6166 lib_dirs="$with_$1_lib $lib_dirs"
6167fi
6168
6169if test "$with_$1_config" = ""; then
6170 with_$1_config='$7'
6171fi
6172
6173$1_cflags=
6174$1_libs=
6175
6176case "$with_$1_config" in
6177yes|no|"")
6178 ;;
6179*)
6180 $1_cflags="`$with_$1_config --cflags 2>&1`"
6181 $1_libs="`$with_$1_config --libs 2>&1`"
6182 ;;
6183esac
6184
6185found=no
6186if test "$with_$1" != no; then
6187 save_CFLAGS="$CFLAGS"
6188 save_LIBS="$LIBS"
6189 if test "$[]$1_cflags" -a "$[]$1_libs"; then
6190 CFLAGS="$[]$1_cflags $save_CFLAGS"
6191 LIBS="$[]$1_libs $save_LIBS"
6192 AC_TRY_LINK([$2],,[
6193 INCLUDE_$1="$[]$1_cflags"
6194 LIB_$1="$[]$1_libs"
6195 AC_MSG_RESULT([from $with_$1_config])
6196 found=yes])
6197 fi
6198 if test "$found" = no; then
6199 ires= lres=
6200 for i in $header_dirs; do
6201 CFLAGS="-I$i $save_CFLAGS"
6202 AC_TRY_COMPILE([$2],,ires=$i;break)
6203 done
6204 for i in $lib_dirs; do
6205 LIBS="-L$i $3 $4 $save_LIBS"
6206 AC_TRY_LINK([$2],,lres=$i;break)
6207 done
6208 if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
6209 INCLUDE_$1="-I$ires"
6210 LIB_$1="-L$lres $3"
6211 found=yes
6212 AC_MSG_RESULT([headers $ires, libraries $lres])
6213 fi
6214 fi
6215 CFLAGS="$save_CFLAGS"
6216 LIBS="$save_LIBS"
6217fi
6218
6219if test "$found" = yes; then
6220 AC_DEFINE_UNQUOTED(rk_pkgname, 1, [Define if you have the $1 package.])
6221 with_$1=yes
6222else
6223 with_$1=no
6224 INCLUDE_$1=
6225 LIB_$1=
6226 AC_MSG_RESULT(no)
6227fi
6228
6229AC_SUBST(INCLUDE_$1)
6230AC_SUBST(LIB_$1)
6231])
6232
6233dnl $Id: otp.m4,v 1.2 2002/05/19 20:51:08 joda Exp $
6234dnl
6235dnl check requirements for OTP library
6236dnl
6237AC_DEFUN([rk_OTP],[
6238AC_REQUIRE([rk_DB])dnl
6239AC_ARG_ENABLE(otp,
6240 AC_HELP_STRING([--disable-otp],[if you don't want OTP support]))

--- 442 unchanged lines hidden (view full) ---

6683}
6684],ac_cv_func_getpwnam_r_posix=yes,ac_cv_func_getpwnam_r_posix=no,:)
6685LIBS="$ac_libs")
6686if test "$ac_cv_func_getpwnam_r_posix" = yes; then
6687 AC_DEFINE(POSIX_GETPWNAM_R, 1, [Define if getpwnam_r has POSIX flavour.])
6688fi
6689fi
6690])
6469dnl $Id: otp.m4,v 1.2 2002/05/19 20:51:08 joda Exp $
6470dnl
6471dnl check requirements for OTP library
6472dnl
6473AC_DEFUN([rk_OTP],[
6474AC_REQUIRE([rk_DB])dnl
6475AC_ARG_ENABLE(otp,
6476 AC_HELP_STRING([--disable-otp],[if you don't want OTP support]))

--- 442 unchanged lines hidden (view full) ---

6919}
6920],ac_cv_func_getpwnam_r_posix=yes,ac_cv_func_getpwnam_r_posix=no,:)
6921LIBS="$ac_libs")
6922if test "$ac_cv_func_getpwnam_r_posix" = yes; then
6923 AC_DEFINE(POSIX_GETPWNAM_R, 1, [Define if getpwnam_r has POSIX flavour.])
6924fi
6925fi
6926])
6691dnl $Id: crypto.m4,v 1.11 2002/08/28 23:09:05 assar Exp $
6692dnl
6693dnl test for crypto libraries:
6694dnl - libcrypto (from openssl)
6695dnl - libdes (from krb4)
6696dnl - own-built libdes
6697
6698AC_DEFUN([KRB_CRYPTO],[
6699crypto_lib=unknown
6700AC_WITH_ALL([openssl])
6701
6702DIR_des=
6703
6704AC_MSG_CHECKING([for crypto library])
6705
6706openssl=no
6707if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
6708
6709 save_CPPFLAGS="$CPPFLAGS"
6710 save_LIBS="$LIBS"
6711 INCLUDE_des=
6712 LIB_des=
6713 if test "$with_openssl_include" != ""; then
6714 INCLUDE_des="-I${with_openssl}/include"
6715 fi
6716 if test "$with_openssl_lib" != ""; then
6717 LIB_des="-L${with_openssl}/lib"
6718 fi
6719 CPPFLAGS="${INCLUDE_des} ${CPPFLAGS}"
6720 LIB_des="${LIB_des} -lcrypto"
6721 LIB_des_a="$LIB_des"
6722 LIB_des_so="$LIB_des"
6723 LIB_des_appl="$LIB_des"
6724 LIBS="${LIBS} ${LIB_des}"
6725 AC_TRY_LINK([
6726 #include <openssl/md4.h>
6727 #include <openssl/md5.h>
6728 #include <openssl/sha.h>
6729 #include <openssl/des.h>
6730 #include <openssl/rc4.h>
6731 ],
6732 [
6733 void *schedule = 0;
6734 MD4_CTX md4;
6735 MD5_CTX md5;
6736 SHA_CTX sha1;
6737
6738 MD4_Init(&md4);
6739 MD5_Init(&md5);
6740 SHA1_Init(&sha1);
6741
6742 des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
6743 RC4(0, 0, 0, 0);
6744 ], [
6745 crypto_lib=libcrypto openssl=yes
6746 AC_MSG_RESULT([libcrypto])])
6747 CPPFLAGS="$save_CPPFLAGS"
6748 LIBS="$save_LIBS"
6749fi
6750
6751if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
6752 save_CPPFLAGS="$CPPFLAGS"
6753 save_LIBS="$LIBS"
6754
6755 cdirs= clibs=
6756 for i in $LIB_krb4; do
6757 case "$i" in
6758 -L*) cdirs="$cdirs $i";;
6759 -l*) clibs="$clibs $i";;
6760 esac
6761 done
6762
6763 ires=
6764 for i in $INCLUDE_krb4; do
6765 CFLAGS="$i $save_CFLAGS"
6766 AC_TRY_COMPILE([
6767 #undef KRB5 /* makes md4.h et al unhappy */
6768 #define KRB4
6769 #include <openssl/md4.h>
6770 #include <openssl/md5.h>
6771 #include <openssl/sha.h>
6772 #include <openssl/des.h>
6773 #include <openssl/rc4.h>
6774 ], [
6775 MD4_CTX md4;
6776 MD5_CTX md5;
6777 SHA_CTX sha1;
6778
6779 MD4_Init(&md4);
6780 MD5_Init(&md5);
6781 SHA1_Init(&sha1);
6782
6783 des_cbc_encrypt(0, 0, 0, 0, 0, 0);
6784 RC4(0, 0, 0, 0);],openssl=yes ires="$i"; break)
6785 AC_TRY_COMPILE([
6786 #undef KRB5 /* makes md4.h et al unhappy */
6787 #define KRB4
6788 #include <md4.h>
6789 #include <md5.h>
6790 #include <sha.h>
6791 #include <des.h>
6792 #include <rc4.h>
6793 ], [
6794 MD4_CTX md4;
6795 MD5_CTX md5;
6796 SHA_CTX sha1;
6797
6798 MD4_Init(&md4);
6799 MD5_Init(&md5);
6800 SHA1_Init(&sha1);
6801
6802 des_cbc_encrypt(0, 0, 0, 0, 0, 0);
6803 RC4(0, 0, 0, 0);],ires="$i"; break)
6804 done
6805 lres=
6806 for i in $cdirs; do
6807 for j in $clibs; do
6808 LIBS="$i $j $save_LIBS"
6809 if test "$openssl" = yes; then
6810 AC_TRY_LINK([
6811 #undef KRB5 /* makes md4.h et al unhappy */
6812 #define KRB4
6813 #include <openssl/md4.h>
6814 #include <openssl/md5.h>
6815 #include <openssl/sha.h>
6816 #include <openssl/des.h>
6817 #include <openssl/rc4.h>
6818 ], [
6819 MD4_CTX md4;
6820 MD5_CTX md5;
6821 SHA_CTX sha1;
6822
6823 MD4_Init(&md4);
6824 MD5_Init(&md5);
6825 SHA1_Init(&sha1);
6826
6827 des_cbc_encrypt(0, 0, 0, 0, 0, 0);
6828 RC4(0, 0, 0, 0);],lres="$i $j"; break 2)
6829 else
6830 AC_TRY_LINK([
6831 #undef KRB5 /* makes md4.h et al unhappy */
6832 #define KRB4
6833 #include <md4.h>
6834 #include <md5.h>
6835 #include <sha.h>
6836 #include <des.h>
6837 #include <rc4.h>
6838 ], [
6839 MD4_CTX md4;
6840 MD5_CTX md5;
6841 SHA_CTX sha1;
6842
6843 MD4_Init(&md4);
6844 MD5_Init(&md5);
6845 SHA1_Init(&sha1);
6846
6847 des_cbc_encrypt(0, 0, 0, 0, 0, 0);
6848 RC4(0, 0, 0, 0);],lres="$i $j"; break 2)
6849 fi
6850 done
6851 done
6852 CFLAGS="$save_CFLAGS"
6853 LIBS="$save_LIBS"
6854 if test "$ires" -a "$lres"; then
6855 INCLUDE_des="$ires"
6856 LIB_des="$lres"
6857 crypto_lib=krb4
6858 AC_MSG_RESULT([same as krb4])
6859 LIB_des_a='$(LIB_des)'
6860 LIB_des_so='$(LIB_des)'
6861 LIB_des_appl='$(LIB_des)'
6862 fi
6863fi
6864
6865if test "$crypto_lib" = "unknown"; then
6866
6867 DIR_des='des'
6868 LIB_des='$(top_builddir)/lib/des/libdes.la'
6869 LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
6870 LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
6871 LIB_des_appl="-ldes"
6872
6873 AC_MSG_RESULT([included libdes])
6874
6875fi
6876
6877if test "$openssl" = "yes"; then
6878 AC_DEFINE([HAVE_OPENSSL], 1, [define to use openssl's libcrypto])
6879fi
6880AM_CONDITIONAL(HAVE_OPENSSL, test "$openssl" = yes)dnl
6881
6882AC_SUBST(DIR_des)
6883AC_SUBST(INCLUDE_des)
6884AC_SUBST(LIB_des)
6885AC_SUBST(LIB_des_a)
6886AC_SUBST(LIB_des_so)
6887AC_SUBST(LIB_des_appl)
6888])
6889
6890dnl
6891dnl $Id: with-all.m4,v 1.1 2001/08/29 17:01:23 assar Exp $
6892dnl
6893
6894dnl AC_WITH_ALL(name)
6895
6896AC_DEFUN([AC_WITH_ALL], [
6897AC_ARG_WITH($1,
6898 AC_HELP_STRING([--with-$1=dir],
6899 [use $1 in dir]))
6900
6901AC_ARG_WITH($1-lib,
6902 AC_HELP_STRING([--with-$1-lib=dir],
6903 [use $1 libraries in dir]),
6904[if test "$withval" = "yes" -o "$withval" = "no"; then
6905 AC_MSG_ERROR([No argument for --with-$1-lib])
6906elif test "X$with_$1" = "X"; then
6907 with_$1=yes
6908fi])
6909
6910AC_ARG_WITH($1-include,
6911 AC_HELP_STRING([--with-$1-include=dir],
6912 [use $1 headers in dir]),
6913[if test "$withval" = "yes" -o "$withval" = "no"; then
6914 AC_MSG_ERROR([No argument for --with-$1-include])
6915elif test "X$with_$1" = "X"; then
6916 with_$1=yes
6917fi])
6918
6919case "$with_$1" in
6920yes) ;;
6921no) ;;
6922"") ;;
6923*) if test "$with_$1_include" = ""; then
6924 with_$1_include="$with_$1/include"
6925 fi
6926 if test "$with_$1_lib" = ""; then
6927 with_$1_lib="$with_$1/lib$abilibdirext"
6928 fi
6929 ;;
6930esac
6931])
6932dnl $Id: krb-readline.m4,v 1.5 2002/08/29 02:22:32 assar Exp $
6933dnl
6934dnl Tests for readline functions
6935dnl
6936
6937dnl el_init
6938
6939AC_DEFUN(KRB_READLINE,[

--- 181 unchanged lines hidden (view full) ---

7121fi
7122AC_SUBST(DIR_com_err)
7123AC_SUBST(LIB_com_err)
7124AC_SUBST(LIB_com_err_a)
7125AC_SUBST(LIB_com_err_so)
7126
7127])
7128
6927dnl $Id: krb-readline.m4,v 1.5 2002/08/29 02:22:32 assar Exp $
6928dnl
6929dnl Tests for readline functions
6930dnl
6931
6932dnl el_init
6933
6934AC_DEFUN(KRB_READLINE,[

--- 181 unchanged lines hidden (view full) ---

7116fi
7117AC_SUBST(DIR_com_err)
7118AC_SUBST(LIB_com_err)
7119AC_SUBST(LIB_com_err_a)
7120AC_SUBST(LIB_com_err_so)
7121
7122])
7123
7129dnl $Id: auth-modules.m4,v 1.3 2002/08/28 15:04:57 nectar Exp $
7124dnl $Id: auth-modules.m4,v 1.5 2002/09/09 13:31:45 joda Exp $
7130dnl
7131dnl Figure what authentication modules should be built
7125dnl
7126dnl Figure what authentication modules should be built
7127dnl
7128dnl rk_AUTH_MODULES(module-list)
7132
7129
7133AC_DEFUN(AC_AUTH_MODULES,[
7134AC_MSG_CHECKING(which authentication modules should be built)
7130AC_DEFUN(rk_AUTH_MODULES,[
7131AC_MSG_CHECKING([which authentication modules should be built])
7135
7132
7133z='m4_ifval([$1], $1, [sia pam afskauthlib])'
7136LIB_AUTH_SUBDIRS=
7134LIB_AUTH_SUBDIRS=
7137
7135for i in $z; do
7136case $i in
7137sia)
7138if test "$ac_cv_header_siad_h" = yes; then
7139 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
7140fi
7138if test "$ac_cv_header_siad_h" = yes; then
7139 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
7140fi
7141
7141;;
7142pam)
7142case "${host}" in
7143*-*-freebsd*) ac_cv_want_pam_krb4=no ;;
7144*) ac_cv_want_pam_krb4=yes ;;
7145esac
7146
7147if test "$ac_cv_want_pam_krb4" = yes -a \
7148 "$ac_cv_header_security_pam_modules_h" = yes -a \
7149 "$enable_shared" = yes; then
7150 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
7151fi
7143case "${host}" in
7144*-*-freebsd*) ac_cv_want_pam_krb4=no ;;
7145*) ac_cv_want_pam_krb4=yes ;;
7146esac
7147
7148if test "$ac_cv_want_pam_krb4" = yes -a \
7149 "$ac_cv_header_security_pam_modules_h" = yes -a \
7150 "$enable_shared" = yes; then
7151 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
7152fi
7152
7153;;
7154afskauthlib)
7153case "${host}" in
7154*-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
7155esac
7155case "${host}" in
7156*-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
7157esac
7158;;
7159esac
7160done
7161if test "$LIB_AUTH_SUBDIRS"; then
7162 AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
7163else
7164 AC_MSG_RESULT(none)
7165fi
7156
7166
7157AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
7158
7159AC_SUBST(LIB_AUTH_SUBDIRS)dnl
7160])
7161
7162dnl
7163dnl $Id: destdirs.m4,v 1.2 2002/08/12 15:12:50 joda Exp $
7164dnl
7165
7166AC_DEFUN([rk_DESTDIRS], [

--- 14 unchanged lines hidden ---
7167AC_SUBST(LIB_AUTH_SUBDIRS)dnl
7168])
7169
7170dnl
7171dnl $Id: destdirs.m4,v 1.2 2002/08/12 15:12:50 joda Exp $
7172dnl
7173
7174AC_DEFUN([rk_DESTDIRS], [

--- 14 unchanged lines hidden ---