diff options
author | guy <guy> | 2008-04-05 05:20:48 +0000 |
---|---|---|
committer | guy <guy> | 2008-04-05 05:20:48 +0000 |
commit | 8fc17acf3c83f1ea0f3ea64f09959a5425c67b0a (patch) | |
tree | 8fd0e410f72bf9f684f3a8bcf847f39564e5d57e | |
parent | e3f0aadca9385938329d32cde46eecfaf43bf912 (diff) |
Clean up the output of the configure script a bit.
-rwxr-xr-x | configure | 27 |
1 files changed, 16 insertions, 11 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.149 . +# From configure.in Revision: 1.150 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # @@ -5999,6 +5999,21 @@ elif test -r /usr/include/odmi.h ; then # V_PCAP=bpf elif test -r /usr/include/sys/dlpi.h ; then + V_PCAP=dlpi +elif test -c /dev/bpf0 ; then # check again in case not readable + V_PCAP=bpf +elif test -c /dev/enet ; then # check again in case not readable + V_PCAP=enet +elif test -c /dev/nit ; then # check again in case not readable + V_PCAP=snit +else + V_PCAP=null +fi +echo "$as_me:$LINENO: result: $V_PCAP" >&5 +echo "${ECHO_T}$V_PCAP" >&6 + +if test "$V_PCAP" = dlpi +then # # Checks to see if Solaris has the public libdlpi(3LIB) library. # Note: The existence of /usr/include/libdlpi.h does not mean it is the @@ -6089,17 +6104,7 @@ else fi LDFLAGS=$saved_ldflags -elif test -c /dev/bpf0 ; then # check again in case not readable - V_PCAP=bpf -elif test -c /dev/enet ; then # check again in case not readable - V_PCAP=enet -elif test -c /dev/nit ; then # check again in case not readable - V_PCAP=snit -else - V_PCAP=null fi -echo "$as_me:$LINENO: result: $V_PCAP" >&5 -echo "${ECHO_T}$V_PCAP" >&6 if test "$V_PCAP" = null then |