11 if test $# -eq 0; then
23 echo "@PACKAGE@ @VERSION@"
28 prefix
=`echo $i | sed 's/^--prefix=//'`
34 exec_prefix
=`echo $i | sed 's/^--exec-prefix=//'`
61 echo "unknown option: $i"
67 if test "$do_usage" = "yes"; then
68 echo "usage: $0 [options] [libraries]"
69 echo "options: [--prefix[=dir]] [--exec-prefix[=dir]] [--libs] [--cflags]"
70 echo "libraries: krb5 gssapi kadm-client kadm-server kafs"
74 if test "$prefix" = ""; then
77 if test "$exec_prefix" = ""; then
78 exec_prefix
=@exec_prefix@
82 includedir
=@includedir@
84 if test "$print_prefix" = "yes"; then
88 if test "$print_exec_prefix" = "yes"; then
92 if test "$do_libs" = "yes"; then
93 lib_flags
="-L${libdir}"
96 lib_flags
="$lib_flags -lgssapi -lheimntlm"
99 lib_flags
="$lib_flags -lkadm5clnt"
102 lib_flags
="$lib_flags -lkadm5srv @LIB_dbopen@"
105 lib_flags
="$lib_flags -lkafs"
108 lib_flags
="$lib_flags -lkrb5 @LIB_pkinit@ -lcom_err"
109 lib_flags
="$lib_flags @LIB_hcrypto_appl@ -lasn1 -lroken"
110 lib_flags
="$lib_flags @LIB_crypt@ @LIB_dlopen@"
111 lib_flags
="$lib_flags @LIB_door_create@ @LIBS@"
114 if test "$do_cflags" = "yes"; then
115 echo "-I${includedir} @INCLUDE_hcrypto@"