Don't bother searching for assert.h, it's not needed any more

This commit is contained in:
agc 2009-05-05 15:29:46 +00:00
parent ed0df671c8
commit 0d85ad6ad7
7 changed files with 14 additions and 33 deletions

View File

@ -2,7 +2,7 @@
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.63 for netpgp 20090423.
#
# Report bugs to <"Alistair Crooks agc@netbsd.org c0596823">.
# Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
@ -598,7 +598,7 @@ PACKAGE_NAME='netpgp'
PACKAGE_TARNAME='netpgp'
PACKAGE_VERSION='20090423'
PACKAGE_STRING='netpgp 20090423'
PACKAGE_BUGREPORT='"Alistair Crooks agc@netbsd.org c0596823"'
PACKAGE_BUGREPORT='Alistair Crooks <agc@netbsd.org> c0596823'
ac_unique_file="src/bin/netpgp.c"
# Factoring default headers for most tests.
@ -1355,7 +1355,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <"Alistair Crooks agc@netbsd.org c0596823">.
Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>.
_ACEOF
ac_status=$?
fi
@ -3792,7 +3792,7 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------------------------- ##
## Report this to "Alistair Crooks agc@netbsd.org c0596823" ##
## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
## -------------------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
@ -3827,8 +3827,7 @@ done
for ac_header in assert.h bzlib.h dmalloc.h direct.h errno.h fcntl.h
for ac_header in bzlib.h dmalloc.h direct.h errno.h fcntl.h
do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@ -3948,7 +3947,7 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------------------------- ##
## Report this to "Alistair Crooks agc@netbsd.org c0596823" ##
## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
## -------------------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
@ -4102,7 +4101,7 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------------------------- ##
## Report this to "Alistair Crooks agc@netbsd.org c0596823" ##
## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
## -------------------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
@ -4254,7 +4253,7 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------------------------- ##
## Report this to "Alistair Crooks agc@netbsd.org c0596823" ##
## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
## -------------------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
@ -4409,7 +4408,7 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------------------------- ##
## Report this to "Alistair Crooks agc@netbsd.org c0596823" ##
## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
## -------------------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
@ -4565,7 +4564,7 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------------------------- ##
## Report this to "Alistair Crooks agc@netbsd.org c0596823" ##
## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
## -------------------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
@ -4720,7 +4719,7 @@ $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------------------------- ##
## Report this to "Alistair Crooks agc@netbsd.org c0596823" ##
## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
## -------------------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2

View File

@ -1,4 +1,4 @@
dnl $Id: configure.ac,v 1.2 2009/04/25 01:29:14 agc Exp $
dnl $Id: configure.ac,v 1.3 2009/05/05 15:29:46 agc Exp $
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
AC_INIT([netpgp],[20090423],[Alistair Crooks <agc@netbsd.org> c0596823])
@ -25,7 +25,7 @@ AC_SUBST(AUTOHEADER)
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([CommonCrypto/CommonDigest.h])
AC_CHECK_HEADERS([assert.h bzlib.h dmalloc.h direct.h errno.h fcntl.h])
AC_CHECK_HEADERS([bzlib.h dmalloc.h direct.h errno.h fcntl.h])
AC_CHECK_HEADERS([inttypes.h libgen.h limits.h malloc.h])
AC_CHECK_HEADERS([stdbool.h zlib.h])
AC_CHECK_HEADERS([openssl/aes.h openssl/bn.h openssl/cast.h openssl/des.h openssl/dsa.h])

View File

@ -1,9 +1,6 @@
/* src/lib/config.h. Generated from config.h.in by configure. */
/* src/lib/config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <assert.h> header file. */
#define HAVE_ASSERT_H 1
/* Define to 1 if you have the <bzlib.h> header file. */
#define HAVE_BZLIB_H 1
@ -122,7 +119,7 @@
#define HAVE_ZLIB_H 1
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "Alistair Crooks agc@netbsd.org c0596823"
#define PACKAGE_BUGREPORT "Alistair Crooks <agc@netbsd.org> c0596823"
/* Define to the full name of this package. */
#define PACKAGE_NAME "netpgp"

View File

@ -1,8 +1,5 @@
/* src/lib/config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <assert.h> header file. */
#undef HAVE_ASSERT_H
/* Define to 1 if you have the <bzlib.h> header file. */
#undef HAVE_BZLIB_H

View File

@ -52,10 +52,6 @@
#include "netpgpdefs.h"
#include "parse_local.h"
#ifdef HAVE_ASSERT_H
#include <assert.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif

View File

@ -39,10 +39,6 @@
#include "netpgpdefs.h"
#include "parse_local.h"
#ifdef HAVE_ASSERT_H
#include <assert.h>
#endif
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>

View File

@ -37,10 +37,6 @@
#include <sys/param.h>
#include <sys/stat.h>
#ifdef HAVE_ASSERT_H
#include <assert.h>
#endif
#include <string.h>
#include <stdio.h>