Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ce6e4c21
Commit
ce6e4c21
authored
Dec 24, 2003
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for <sys/socket.h>. Include it before
including <net/if.h>. Move check for <net/if.h> before its use.
parent
0b1ec9e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
ChangeLog
ChangeLog
+5
-0
configure.in
configure.in
+15
-2
No files found.
ChangeLog
View file @
ce6e4c21
2003-12-24 Andreas Schwab <schwab@suse.de>
* configure.in: Check for <sys/socket.h>. Include it before
including <net/if.h>. Move check for <net/if.h> before it's use.
2003-12-24 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* Makefile.in (install-arch-dep): Don't let cd output go into
...
...
configure.in
View file @
ce6e4c21
...
...
@@ -1507,6 +1507,12 @@ if test $emacs_cv_struct_exception != yes; then
AC_DEFINE(NO_MATHERR, 1, [Define to 1 if you don't have struct exception in math.h.])
fi
AC_CHECK_HEADERS(sys/socket.h)
AC_CHECK_HEADERS(net/if.h, , , [AC_INCLUDES_DEFAULT
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif])
dnl checks for structure members
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
...
...
@@ -1516,7 +1522,14 @@ AC_CHECK_MEMBER(struct tm.tm_gmtoff,
[#include <time.h>])
AC_CHECK_MEMBERS([struct ifreq.ifr_flags, struct ifreq.ifr_hwaddr,
struct ifreq.ifr_netmask, struct ifreq.ifr_broadaddr,
struct ifreq.ifr_addr], , ,[#include <net/if.h>])
struct ifreq.ifr_addr], , ,
[AC_INCLUDES_DEFAULT
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#if HAVE_NET_IF_H
#include <net/if.h>
#endif])
dnl checks for compiler characteristics
...
...
@@ -2510,7 +2523,7 @@ dnl Fixme: Not used. Should this be HAVE_SOCKETS?
[Define to 1 if you have inet sockets.])
fi
AC_CHECK_HEADERS(sys/ioctl.h
net/if.h
)
AC_CHECK_HEADERS(sys/ioctl.h)
if test -f /usr/lpp/X11/bin/smt.exp; then
AC_DEFINE(HAVE_AIX_SMT_EXP, 1,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment