Skip to content

Commit

Permalink
Add support so using autoheader to generate autoconf.h, and add
Browse files Browse the repository at this point in the history
AC_C_BIGENDIAN and AC_SYS_LARGEFILE macros. This required the
HAVE_LOCAL_SNPRINTF macro to move to libradius.h.
Refreshed config.guess, config.sub and ltmain.sh.
  • Loading branch information
phampson committed Dec 18, 2004
1 parent 7cb72a2 commit 55011e1
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 305 deletions.
8 changes: 4 additions & 4 deletions Make.inc.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ MAKE = @MAKE@
CC = @CC@
RANLIB = @RANLIB@
INCLUDE =
CFLAGS = $(INCLUDE) @CFLAGS@ @LFS_CFLAGS@
CFLAGS = $(INCLUDE) @CFLAGS@
LIBPREFIX = @LIBPREFIX@
EXEEXT = @EXEEXT@

Expand All @@ -40,8 +40,8 @@ INSTALL_SCRIPT = ${INSTALL_PROGRAM}
INSTALLSTRIP = @INSTALLSTRIP@

LCRYPT = @CRYPTLIB@
LIBS = @LIBS@ @LFS_LIBS@
LDFLAGS = @LDFLAGS@ @LFS_LDFLAGS@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@

LOGDIR = ${logdir}
RADDBDIR = ${raddbdir}
Expand Down Expand Up @@ -74,4 +74,4 @@ RADIUSD_MINOR_VERSION = @RADIUSD_MINOR_VERSION@
RADIUSD_VERSION = @RADIUSD_VERSION@

MODULES = @MODULES@
HOSTINFO = @HOSTINFO@
HOSTINFO = @HOSTINFO@
138 changes: 0 additions & 138 deletions acconfig.h

This file was deleted.

10 changes: 5 additions & 5 deletions acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ AC_DEFUN(FR_CHECK_TYPE_INCLUDE,
)
if test "$ac_cv_type_$2" != "yes"; then
AC_DEFINE($2, $3)
AC_DEFINE($2, $3, $4)
fi
])

Expand Down Expand Up @@ -262,10 +262,10 @@ if test "x$ucdsnmp" = "x"; then
else
if test "x$ucdsnmp" = "xyes"; then
AC_MSG_RESULT((ucd-snmp)yes)
AC_DEFINE(HAVE_UCD_SNMP_ASN1_SNMP_SNMPIMPL_H)
AC_DEFINE(HAVE_UCD_SNMP_ASN1_SNMP_SNMPIMPL_H, [], [Define if you have the <ucd-snmp/asn1.h>, <ucd-snmp/snmp_impl.h> and <ucd-snmp/snmp.h> header file.])
else
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_ASN1_SNMP_SNMPIMPL_H)
AC_DEFINE(HAVE_ASN1_SNMP_SNMPIMPL_H, [], [Define if you have the <asn1.h>, <snmp_impl.h> and <snmp.h> header file.])
fi
dnl #
dnl # Now do the same thing, looking for the SNMP library directory
Expand Down Expand Up @@ -318,8 +318,8 @@ dnl #
SNMP_INCLUDE=
else
AC_MSG_RESULT(yes)
AC_DEFINE(WITH_SNMP)
AC_DEFINE(HAVE_LIBSNMP)
AC_DEFINE(WITH_SNMP, [], [Include SNMP subagent])
AC_DEFINE(HAVE_LIBSNMP, [], [Define if you have the snmp library (-lsnmp).])
fi
fi
])
Expand Down
1 change: 1 addition & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ parentdir=`pwd`

libtoolize -f -c
aclocal
autoheader
autoconf

mysubdirs="$mysubdirs `find src/modules/ -name configure -print | sed 's%/configure%%'`"
Expand Down
Loading

0 comments on commit 55011e1

Please sign in to comment.