dect
/
libpcap
Archived
13
0
Fork 0

In the big "host OS" switch, put the names in alphabetical order, and

add cases for Irix and {OSF/1, Digital UNIX, Tru64 UNIX).

AIX appears to use the V7/BSD convention for man pages, not the SV
conventions.
This commit is contained in:
guy 2008-10-24 07:29:34 +00:00
parent 54649cfbc4
commit e16bb01d4c
2 changed files with 51 additions and 33 deletions

41
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.159 . # From configure.in Revision: 1.160 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61. # Generated by GNU Autoconf 2.61.
# #
@ -8596,12 +8596,11 @@ _ACEOF
# We need "-lodm" and "-lcfg", as libpcap requires them on # We need "-lodm" and "-lcfg", as libpcap requires them on
# AIX. # AIX.
DEPLIBS="-lodm -lcfg" DEPLIBS="-lodm -lcfg"
;;
# darwin*)
# Assume System V conventions for man pages. DYEXT="dylib"
# V_CCOPT="$V_CCOPT -fno-common"
MAN_FILE_FORMATS=4
MAN_MISC_INFO=5
;; ;;
hpux9*) hpux9*)
@ -8650,6 +8649,26 @@ _ACEOF
MAN_MISC_INFO=5 MAN_MISC_INFO=5
;; ;;
irix*)
#
# Use System V conventions for man pages.
#
MAN_FILE_FORMATS=4
MAN_MISC_INFO=5
;;
linux*)
V_CCOPT="$V_CCOPT -fPIC"
;;
osf*)
#
# Use System V conventions for man pages.
#
MAN_FILE_FORMATS=4
MAN_MISC_INFO=5
;;
sinix*) sinix*)
{ echo "$as_me:$LINENO: checking if SINIX compiler defines sinix" >&5 { echo "$as_me:$LINENO: checking if SINIX compiler defines sinix" >&5
echo $ECHO_N "checking if SINIX compiler defines sinix... $ECHO_C" >&6; } echo $ECHO_N "checking if SINIX compiler defines sinix... $ECHO_C" >&6; }
@ -8723,16 +8742,6 @@ _ACEOF
MAN_FILE_FORMATS=4 MAN_FILE_FORMATS=4
MAN_MISC_INFO=5 MAN_MISC_INFO=5
;; ;;
darwin*)
DYEXT="dylib"
V_CCOPT="$V_CCOPT -fno-common"
;;
linux*)
V_CCOPT="$V_CCOPT -fPIC"
;;
esac esac
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then

View File

@ -1,4 +1,4 @@
dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.159 2008-10-23 05:56:59 guy Exp $ (LBL) dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.160 2008-10-24 07:29:34 guy Exp $ (LBL)
dnl dnl
dnl Copyright (c) 1994, 1995, 1996, 1997 dnl Copyright (c) 1994, 1995, 1996, 1997
dnl The Regents of the University of California. All rights reserved. dnl The Regents of the University of California. All rights reserved.
@ -6,7 +6,7 @@ dnl
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl dnl
AC_REVISION($Revision: 1.159 $) AC_REVISION($Revision: 1.160 $)
AC_PREREQ(2.50) AC_PREREQ(2.50)
AC_INIT(pcap.c) AC_INIT(pcap.c)
@ -883,12 +883,11 @@ aix*)
# We need "-lodm" and "-lcfg", as libpcap requires them on # We need "-lodm" and "-lcfg", as libpcap requires them on
# AIX. # AIX.
DEPLIBS="-lodm -lcfg" DEPLIBS="-lodm -lcfg"
;;
# darwin*)
# Assume System V conventions for man pages. DYEXT="dylib"
# V_CCOPT="$V_CCOPT -fno-common"
MAN_FILE_FORMATS=4
MAN_MISC_INFO=5
;; ;;
hpux9*) hpux9*)
@ -935,6 +934,26 @@ hpux*)
MAN_MISC_INFO=5 MAN_MISC_INFO=5
;; ;;
irix*)
#
# Use System V conventions for man pages.
#
MAN_FILE_FORMATS=4
MAN_MISC_INFO=5
;;
linux*)
V_CCOPT="$V_CCOPT -fPIC"
;;
osf*)
#
# Use System V conventions for man pages.
#
MAN_FILE_FORMATS=4
MAN_MISC_INFO=5
;;
sinix*) sinix*)
AC_MSG_CHECKING(if SINIX compiler defines sinix) AC_MSG_CHECKING(if SINIX compiler defines sinix)
AC_CACHE_VAL(ac_cv_cc_sinix_defined, AC_CACHE_VAL(ac_cv_cc_sinix_defined,
@ -958,16 +977,6 @@ solaris*)
MAN_FILE_FORMATS=4 MAN_FILE_FORMATS=4
MAN_MISC_INFO=5 MAN_MISC_INFO=5
;; ;;
darwin*)
DYEXT="dylib"
V_CCOPT="$V_CCOPT -fno-common"
;;
linux*)
V_CCOPT="$V_CCOPT -fPIC"
;;
esac esac
AC_PROG_RANLIB AC_PROG_RANLIB