diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-06-14 21:46:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-06-14 21:46:36 +0000 |
commit | a865469064711cf0974e38fa99755c0955833853 (patch) | |
tree | f786f03107a29f4d8d15cdf07f26e10406c3ed74 /configure.in | |
parent | af2bae7723f23cd6cb72a25e11b7eb1a9327f8d0 (diff) | |
download | wireshark-a865469064711cf0974e38fa99755c0955833853.tar.gz wireshark-a865469064711cf0974e38fa99755c0955833853.tar.bz2 wireshark-a865469064711cf0974e38fa99755c0955833853.zip |
Add our own "strerror()", which we use on platforms that don't have it
in the standard libraries (such as SunOS 4.x).
svn path=/trunk/; revision=312
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in index db254278ed..7f1b43fe30 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.25 1999/05/19 23:16:42 gram Exp $ +# $Id: configure.in,v 1.26 1999/06/14 21:46:35 guy Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(etypes.h) @@ -168,6 +168,15 @@ fi AC_SUBST(SNPRINTF_C) AC_SUBST(SNPRINTF_O) +AC_CHECK_FUNC(strerror, STRERROR_O="", + STRERROR_O="strerror.o" [AC_DEFINE(NEED_STRERROR_H)]) +if test "$ac_cv_func_strerror" = no ; then + STRERROR_C="strerror.c" + STRERROR_O="strerror.o" +fi +AC_SUBST(STRERROR_C) +AC_SUBST(STRERROR_O) + AM_CONFIG_HEADER(config.h) if test x$WIRETAP_DIR != x ; then AC_CONFIG_SUBDIRS($WIRETAP_DIR) |