mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
49 lines
1.3 KiB
Text
49 lines
1.3 KiB
Text
--- configure.orig Thu Jun 30 21:33:41 2005
|
|
+++ configure Thu Jun 30 21:49:20 2005
|
|
@@ -1695,6 +1695,46 @@
|
|
fi
|
|
done
|
|
;;
|
|
+ freebsd*) for ac_hdr in nss.h
|
|
+do
|
|
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
+echo "configure:1663: checking for $ac_hdr" >&5
|
|
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
+else
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
+#line 1668 "configure"
|
|
+#include "confdefs.h"
|
|
+#include <$ac_hdr>
|
|
+EOF
|
|
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
+{ (eval echo configure:1673: \"$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
|
|
+ rm -rf conftest*
|
|
+ eval "ac_cv_header_$ac_safe=yes"
|
|
+else
|
|
+ echo "$ac_err" >&5
|
|
+ echo "configure: failed program was:" >&5
|
|
+ cat conftest.$ac_ext >&5
|
|
+ rm -rf conftest*
|
|
+ eval "ac_cv_header_$ac_safe=no"
|
|
+fi
|
|
+rm -f conftest*
|
|
+fi
|
|
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
+ echo "$ac_t""yes" 1>&6
|
|
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
|
|
+ cat >> confdefs.h <<EOF
|
|
+#define $ac_tr_hdr 1
|
|
+EOF
|
|
+
|
|
+else
|
|
+ echo "$ac_t""no" 1>&6
|
|
+fi
|
|
+done
|
|
+ ;;
|
|
*) for ac_hdr in nss.h
|
|
do
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|