]> The Tcpdump Group git mirrors - libpcap/commitdiff
Clean up the output of the configure script a bit.
authorguy <guy>
Sat, 5 Apr 2008 05:20:48 +0000 (05:20 +0000)
committerguy <guy>
Sat, 5 Apr 2008 05:20:48 +0000 (05:20 +0000)
configure

index d9378cd0088b6bec45750b401e091629703fe8cd..dfd71aa5937fdd46958528ee7a200ab5a57c98aa 100755 (executable)
--- a/configure
+++ b/configure
@@ -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