1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build on -CURRENT:

* The compiler in -CURRENT now complains if you precede -I/usr/include
  with -I... .  The same applies to -I/usr/lib .

* The distribution's configure file treats the compiler's unexpected
  warning message as a failure and errors out.

Maintainer notified in private mail.
This commit is contained in:
Sheldon Hearn 2002-06-26 19:46:51 +00:00
parent f0c1fa48bc
commit a1223905c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62050
14 changed files with 826 additions and 0 deletions

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi

View File

@ -0,0 +1,59 @@
--- configure.orig Wed Jun 26 21:28:24 2002
+++ configure Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
EOF
- if test -d "$krb4_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb4_prefix/include"
- fi
- if test -d "$krb4_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ if test "$krb4_prefix" != "/usr"; then
+ if test -d "$krb4_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb4_prefix/include"
+ fi
+ if test -d "$krb4_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+ fi
fi
krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
EOF
- if test -d "$krb5_prefix/include"; then
- INCLUDES="$INCLUDES -I$krb5_prefix/include"
- fi
- if test -d "$krb5_prefix/lib"; then
- LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ if test "$krb5_prefix" != "/usr"; then
+ if test -d "$krb5_prefix/include"; then
+ INCLUDES="$INCLUDES -I$krb5_prefix/include"
+ fi
+ if test -d "$krb5_prefix/lib"; then
+ LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+ fi
fi
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
EOF
- if test -d "${openssl_prefix}/include" ; then
- INCLUDES="$INCLUDES -I${openssl_prefix}/include"
- fi
- if test -d "${openssl_prefix}/lib" ; then
- LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ if test "${openssl_prefix}" != "/usr"; then
+ if test -d "${openssl_prefix}/include" ; then
+ INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+ fi
+ if test -d "${openssl_prefix}/lib" ; then
+ LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+ fi
fi
fi