Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
b40166ea
Commit
b40166ea
authored
Aug 19, 1994
by
Per Cederqvist
Browse files
Improved testing for HPUX and struct sockadr.
parent
c99d9399
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
b40166ea
dnl $Id: configure.in,v 1.1
8
1994/0
4/05 07:50:44
ceder Exp $
dnl $Id: configure.in,v 1.1
9
1994/0
8/19 22:02:06
ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993, 1994 Lysator Academic Computer Association.
dnl
...
...
@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl
AC_REVISION($Revision: 1.1
8
$)
AC_REVISION($Revision: 1.1
9
$)
AC_INIT(src/server/lyskomd.h)
AC_PROG_CC
AC_SUBST(CFLAGS)
...
...
@@ -48,16 +48,18 @@ AC_IRIX_SUN
AC_CONST
AC_STDC_HEADERS
AC_COMPILE_CHECK([HPUX and struct sockaddr], dnl
[#include <sys/socket.h>], dnl
[#include <sys/types.h>
#include <sys/socket.h>], dnl
[struct sockaddr foo;], dnl
[
test -n "$verbose" && echo ' '
No action needed], dnl IF FOUND
[
test -n "$verbose" && echo ' '
Checking for a fix; dnl IF NOT FOUND
[
AC_VERBOSE([
No action needed]
)]
, dnl IF FOUND
[
AC_VERBOSE([
Checking for a fix
])
; dnl IF NOT FOUND
AC_COMPILE_CHECK([_HPUX_SOURCE to fix problems], dnl
[#define _HPUX_SOURCE
#include <sys/types.h>
#include <sys/socket.h>], dnl
[struct sockaddr foo;], dnl
AC_DEFINE(_HPUX_SOURCE), dnl
[
test -n "$verbose" && echo ' 'Problem remains
])])dnl
AC_DEFINE(
[
_HPUX_SOURCE
]
), dnl
[
AC_WARN([Cannot find struct sockaddr])
])])dnl
AC_SUBST(SRCTOPDIR)
[SRCTOPDIR=`cd $srcdir;pwd`]
AC_SUBST(BUILDTOPDIR)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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