dect
/
libpcap
Archived
13
0
Fork 0

Replace "target_cpu" and "target_os" with "host_cpu" and "host_os", as

per Maciej W. Rozycki's patch.
This commit is contained in:
guy 2001-12-10 08:33:41 +00:00
parent efc02fd2e3
commit e2537440b7
3 changed files with 8 additions and 8 deletions

4
aclocal.m4 vendored
View File

@ -1,4 +1,4 @@
dnl @(#) $Header: /tcpdump/master/libpcap/aclocal.m4,v 1.74 2001-11-25 02:22:06 guy Exp $ (LBL) dnl @(#) $Header: /tcpdump/master/libpcap/aclocal.m4,v 1.75 2001-12-10 08:33:41 guy Exp $ (LBL)
dnl dnl
dnl Copyright (c) 1995, 1996, 1997, 1998 dnl Copyright (c) 1995, 1996, 1997, 1998
dnl The Regents of the University of California. All rights reserved. dnl The Regents of the University of California. All rights reserved.
@ -517,7 +517,7 @@ dnl
AC_DEFUN(AC_LBL_UNALIGNED_ACCESS, AC_DEFUN(AC_LBL_UNALIGNED_ACCESS,
[AC_MSG_CHECKING(if unaligned accesses fail) [AC_MSG_CHECKING(if unaligned accesses fail)
AC_CACHE_VAL(ac_cv_lbl_unaligned_fail, AC_CACHE_VAL(ac_cv_lbl_unaligned_fail,
[case "$target_cpu" in [case "$host_cpu" in
# XXX: should also check that they don't do weird things (like on arm) # XXX: should also check that they don't do weird things (like on arm)
alpha*|arm*|hp*|mips*|sparc*|ia64) alpha*|arm*|hp*|mips*|sparc*|ia64)

6
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.93 # From configure.in Revision: 1.94
@ -1948,7 +1948,7 @@ echo "$ac_t""$tcpdump_cv_capable_lex" 1>&6
fi fi
fi fi
case "$target_os" in case "$host_os" in
aix*) aix*)
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
@ -2166,7 +2166,7 @@ echo "configure:2166: checking if unaligned accesses fail" >&5
if eval "test \"`echo '$''{'ac_cv_lbl_unaligned_fail'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lbl_unaligned_fail'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
case "$target_cpu" in case "$host_cpu" in
# XXX: should also check that they don't do weird things (like on arm) # XXX: should also check that they don't do weird things (like on arm)
alpha*|arm*|hp*|mips*|sparc*|ia64) alpha*|arm*|hp*|mips*|sparc*|ia64)

View File

@ -1,4 +1,4 @@
dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.93 2001-11-12 22:18:57 fenner Exp $ (LBL) dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.94 2001-12-10 08:33:42 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.93 $) AC_REVISION($Revision: 1.94 $)
AC_INIT(pcap.c) AC_INIT(pcap.c)
AC_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM
@ -185,7 +185,7 @@ if test "$V_LEX" = lex ; then
fi fi
fi fi
case "$target_os" in case "$host_os" in
aix*) aix*)
dnl Workaround to enable certain features dnl Workaround to enable certain features