configure revision affd6c025b39ec89a91056efb084fff7239ad6e3
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#! /bin/sh
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer# From configure.in Revision: 1.54
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## Copyright (C) 1996-1999 Free Software Foundation, Inc.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley##
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## This program is free software; you can redistribute it and/or modify
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## it under the terms of the GNU General Public License as published by
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## the Free Software Foundation; either version 2 of the License, or
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## (at your option) any later version.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley##
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## This program is distributed in the hope that it will be useful, but
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## WITHOUT ANY WARRANTY; without even the implied warranty of
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## General Public License for more details.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley##
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## You should have received a copy of the GNU General Public License
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## along with this program; if not, write to the Free Software
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley##
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## As a special exception to the GNU General Public License, if you
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## distribute this file as part of a program that contains a
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## configuration script generated by Autoconf, you may include it under
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley## the same distribution terms that you use for the rest of that program.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# serial 40 AC_PROG_LIBTOOL
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_ENABLE_SHARED - implement the --enable-shared flag
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Usage: AC_ENABLE_SHARED[(DEFAULT)]
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# `yes'.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_ENABLE_STATIC - implement the --enable-static flag
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Usage: AC_ENABLE_STATIC[(DEFAULT)]
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# `yes'.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_DISABLE_STATIC - set the default static flag to --disable-static
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# `yes'.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_PROG_LD - find the path to the GNU or non-GNU linker
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_PROG_NM - find the path to a BSD-compatible name lister
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_CHECK_LIBM - check for math library
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# the libltdl convenience library, adds --enable-ltdl-convenience to
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# to be `${top_builddir}/libltdl'. Make sure you start DIR with
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# '${top_builddir}/' (note the single quotes!) if your package is not
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# flat, and, if you're not using automake, define top_builddir as
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# appropriate in the Makefiles.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# the libltdl installable library, and adds --enable-ltdl-install to
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# to be `${top_builddir}/libltdl'. Make sure you start DIR with
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# '${top_builddir}/' (note the single quotes!) if your package is not
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# flat, and, if you're not using automake, define top_builddir as
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# appropriate in the Makefiles.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
ece3d6c35693f9e2145434b0bf14e8b752cdeee8Michael Graff# Guess values for system-dependent variables and create Makefiles.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Generated automatically using autoconf version 2.13
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# This configure script is free software; the Free Software Foundation
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# gives unlimited permission to copy, distribute and modify it.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Defaults:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_help=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_default_prefix=/usr/local
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Any additions from configure.in:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_help="$ac_help
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson --with-mit-pthreads use the mit-pthreads thread library"
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonac_help="$ac_help
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --with-ptl2 use the ptl2 thread library"
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graffac_help="$ac_help
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --with-libtool use GNU libtool"
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graffac_help="$ac_help
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --enable-shared[=PKGS] build shared libraries [default=yes]"
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graffac_help="$ac_help
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --enable-static[=PKGS] build static libraries [default=yes]"
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graffac_help="$ac_help
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graffac_help="$ac_help
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graffac_help="$ac_help
7bb707a34778fc4bd9624d6c5de95675424ea59fDavid Lawrence --disable-libtool-lock avoid locking (might break parallel builds)"
c0ef1acf49b383d8b6d3742cb963f7d08f5762e3Andreas Gustafsson
8a9b755d32a4f6ace792ac3fd17c968cf96d2487David Lawrence# Initialize some variables set by options.
8a9b755d32a4f6ace792ac3fd17c968cf96d2487David Lawrence# The variables have the same names as the options, with
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# dashes changed to underlines.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleybuild=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycache_file=./config.cache
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyexec_prefix=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyno_create=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleynonopt=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyno_recursion=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyprefix=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyprogram_prefix=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyprogram_suffix=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyprogram_transform_name=s,x,x,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysilent=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysite=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysrcdir=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytarget=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyverbose=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyx_includes=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyx_libraries=NONE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleybindir='${exec_prefix}/bin'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysbindir='${exec_prefix}/sbin'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleylibexecdir='${exec_prefix}/libexec'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydatadir='${prefix}/share'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysysconfdir='${prefix}/etc'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysharedstatedir='${prefix}/com'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleylocalstatedir='${prefix}/var'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleylibdir='${exec_prefix}/lib'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyincludedir='${prefix}/include'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyoldincludedir='/usr/include'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinfodir='${prefix}/info'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleymandir='${prefix}/man'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Initialize some other variables.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysubdirs=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyMFLAGS= MAKEFLAGS=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleySHELL=${CONFIG_SHELL-/bin/sh}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Maximum number of lines to put in a shell here document.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_max_here_lines=12
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_prev=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_option
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydo
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # If the previous option needs an argument, assign it.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$ac_prev"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "$ac_prev=\$ac_option"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley continue
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_option" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_optarg= ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Accept the important Cygnus configure options, so we can diagnose typos.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_option" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -bindir | --bindir | --bindi | --bind | --bin | --bi)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=bindir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley bindir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -build | --build | --buil | --bui | --bu)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=build ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -build=* | --build=* | --buil=* | --bui=* | --bu=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley build="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -cache-file | --cache-file | --cache-fil | --cache-fi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=cache_file ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cache_file="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=datadir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --da=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley datadir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -disable-* | --disable-*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_feature=`echo $ac_feature| sed 's/-/_/g'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "enable_${ac_feature}=no" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -enable-* | --enable-*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_feature=`echo $ac_feature| sed 's/-/_/g'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_option" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *=*) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_optarg=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "enable_${ac_feature}='$ac_optarg'" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec | --exe | --ex)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=exec_prefix ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec=* | --exe=* | --ex=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exec_prefix="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -gas | --gas | --ga | --g)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Obsolete; use --with-gas.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley with_gas=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -help | --help | --hel | --he)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Omit some internal or obsolete options to make the list less imposing.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # This message is too long to be a string in the A/UX 3.1 sh.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat << EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyUsage: configure [options] [host]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyOptions: [defaults in brackets after descriptions]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyConfiguration:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --cache-file=FILE cache test results in FILE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --help print this message
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --no-create do not create output files
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --quiet, --silent do not print \`checking...' messages
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --version print the version of autoconf that created configure
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyDirectory and file names:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --prefix=PREFIX install architecture-independent files in PREFIX
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [$ac_default_prefix]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [same as prefix]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --bindir=DIR user executables in DIR [EPREFIX/bin]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --datadir=DIR read-only architecture-independent data in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [PREFIX/share]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --sharedstatedir=DIR modifiable architecture-independent data in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [PREFIX/com]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --libdir=DIR object code libraries in DIR [EPREFIX/lib]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --includedir=DIR C header files in DIR [PREFIX/include]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --infodir=DIR info documentation in DIR [PREFIX/info]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --mandir=DIR man documentation in DIR [PREFIX/man]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --srcdir=DIR find the sources in DIR [configure dir or ..]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-prefix=PREFIX prepend PREFIX to installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-suffix=SUFFIX append SUFFIX to installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-transform-name=PROGRAM
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley run sed PROGRAM on installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat << EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyHost type:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --build=BUILD configure for building on BUILD [BUILD=HOST]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --host=HOST configure for HOST [guessed]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --target=TARGET configure for TARGET [TARGET=HOST]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyFeatures and packages:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --x-includes=DIR X include files are in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --x-libraries=DIR X library files are in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$ac_help"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "--enable and --with options recognized:$ac_help"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exit 0 ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -host | --host | --hos | --ho)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=host ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -host=* | --host=* | --hos=* | --ho=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley host="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -includedir | --includedir | --includedi | --included | --include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --includ | --inclu | --incl | --inc)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=includedir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --includ=* | --inclu=* | --incl=* | --inc=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley includedir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -infodir | --infodir | --infodi | --infod | --info | --inf)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=infodir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley infodir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libdir | --libdir | --libdi | --libd)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=libdir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libdir=* | --libdir=* | --libdi=* | --libd=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley libdir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --libexe | --libex | --libe)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=libexecdir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --libexe=* | --libex=* | --libe=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley libexecdir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -localstatedir | --localstatedir | --localstatedi | --localstated \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --localstate | --localstat | --localsta | --localst \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --locals | --local | --loca | --loc | --lo)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=localstatedir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --localstate=* | --localstat=* | --localsta=* | --localst=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley localstatedir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=mandir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley mandir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -nfp | --nfp | --nf)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Obsolete; use --without-fp.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley with_fp=no ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-create | --no-create | --no-creat | --no-crea | --no-cre \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-cr | --no-c)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley no_create=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-recursion | --no-recursion | --no-recursio | --no-recursi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley no_recursion=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldin | --oldi | --old | --ol | --o)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=oldincludedir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley oldincludedir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=prefix ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley prefix="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-prefix | --program-prefix | --program-prefi | --program-pref \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-pre | --program-pr | --program-p)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=program_prefix ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-prefix=* | --program-prefix=* | --program-prefi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley program_prefix="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-suffix | --program-suffix | --program-suffi | --program-suff \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-suf | --program-su | --program-s)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=program_suffix ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-suffix=* | --program-suffix=* | --program-suffi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley program_suffix="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-transform-name | --program-transform-name \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-nam | --program-transform-na \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-n | --program-transform- \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform | --program-transfor \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transfo | --program-transf \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-trans | --program-tran \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --progr-tra | --program-tr | --program-t)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=program_transform_name ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-transform-name=* | --program-transform-name=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-nam=* | --program-transform-na=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-n=* | --program-transform-=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform=* | --program-transfor=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transfo=* | --program-transf=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-trans=* | --program-tran=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --progr-tra=* | --program-tr=* | --program-t=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley program_transform_name="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -q | -quiet | --quiet | --quie | --qui | --qu | --q \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | -silent | --silent | --silen | --sile | --sil)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley silent=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=sbindir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sbi=* | --sb=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sbindir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sharedstatedir | --sharedstatedir | --sharedstatedi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedst | --shareds | --shared | --share | --shar \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sha | --sh)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=sharedstatedir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sha=* | --sh=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sharedstatedir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -site | --site | --sit)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=site ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -site=* | --site=* | --sit=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley site="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=srcdir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley srcdir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --syscon | --sysco | --sysc | --sys | --sy)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=sysconfdir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sysconfdir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -target | --target | --targe | --targ | --tar | --ta | --t)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=target ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley target="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -v | -verbose | --verbose | --verbos | --verbo | --verb)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley verbose=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -version | --version | --versio | --versi | --vers)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure generated by autoconf version 2.13"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exit 0 ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -with-* | --with-*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_package| sed 's/-/_/g'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_option" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *=*) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_optarg=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "with_${ac_package}='$ac_optarg'" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -without-* | --without-*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_option|sed -e 's/-*without-//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_package| sed 's/-/_/g'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "with_${ac_package}=no" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --x)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Obsolete; use --with-x.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley with_x=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-incl | --x-inc | --x-in | --x-i)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=x_includes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley x_includes="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-libraries | --x-libraries | --x-librarie | --x-librari \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=x_libraries ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley x_libraries="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: warning: $ac_option: invalid host type" 1>&2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "x$nonopt" != xNONE; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley nonopt="$ac_option"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$ac_prev"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# File descriptor usage:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 0 standard input
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 1 file creation
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 2 errors and warnings
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 3 some systems may open it to /dev/tty
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 4 used on the Kubota Titan
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 6 checking for... messages and results
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 5 compiler messages saved in config.log
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "$silent" = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exec 6>/dev/null
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exec 6>&1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyexec 5>./config.log
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "\
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyThis file contains any messages produced by compilers while
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrunning configure, to aid debugging if configure makes a mistake.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley" 1>&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Strip out --no-create and --no-recursion so they do not pile up.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Also quote any args containing shell metacharacters.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_configure_args=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_arg
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydo
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_arg" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-create | --no-create | --no-creat | --no-crea | --no-cre \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-cr | --no-c) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-recursion | --no-recursion | --no-recursio | --no-recursi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_configure_args="$ac_configure_args '$ac_arg'" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_configure_args="$ac_configure_args $ac_arg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# NLS nuisances.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Only set these to C if already set. These must not be set unconditionally
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# because not all systems understand e.g. LANG=C (notably SCO).
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Non-C LC_CTYPE values break the ctype check.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LANG+set}" = set; then LANG=C; export LANG; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# confdefs.h avoids OS command line length limits that DEFS can exceed.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -rf conftest* confdefs.h
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AIX cpp loses on an empty file, so make sure it contains at least a newline.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho > confdefs.h
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# A filename unique to this package, relative to the directory that
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# configure is in, which we can look for to find out if srcdir is correct.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_unique_file=lib/dns/name.c
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Find the source files, if location was not specified.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$srcdir"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_srcdir_defaulted=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Try the directory containing this script, then its parent.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prog=$0
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley srcdir=$ac_confdir
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test ! -r $srcdir/$ac_unique_file; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley srcdir=..
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_srcdir_defaulted=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test ! -r $srcdir/$ac_unique_file; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "$ac_srcdir_defaulted" = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Prefer explicitly selected file to automatically selected ones.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$CONFIG_SITE"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "x$prefix" != xNONE; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_site_file in $CONFIG_SITE; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -r "$ac_site_file"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "loading site script $ac_site_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley . "$ac_site_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -r "$cache_file"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "loading cache $cache_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley . $cache_file
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "creating cache $cache_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley > $cache_file
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_ext=c
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_cpp='$CPP $CPPFLAGS'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycross_compiling=$ac_cv_prog_cc_cross
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_exeext=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_objext=o
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_n= ac_c='
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley' ac_t=' '
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_n=-n ac_c= ac_t=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_n= ac_c='\c' ac_t=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_aux_dir=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -f $ac_dir/install-sh; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_aux_dir=$ac_dir
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_install_sh="$ac_aux_dir/install-sh -c"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley elif test -f $ac_dir/install.sh; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_aux_dir=$ac_dir
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_install_sh="$ac_aux_dir/install.sh -c"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_aux_dir"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_config_guess=$ac_aux_dir/config.guess
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_config_sub=$ac_aux_dir/config.sub
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Make sure we can run config.sub.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking host system type""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:668: checking host system type" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_alias=$host
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssoncase "$host_alias" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyNONE)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case $nonopt in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley NONE)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *) host_alias=$nonopt ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyesac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyhost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "$ac_t""$host" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson echo $ac_n "(cached) $ac_c" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff cat > conftestmake <<\EOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffall:
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff @echo 'ac_maketemp="${MAKE}"'
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffEOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffeval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif test -n "$ac_maketemp"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff eval ac_cv_prog_make_${ac_make}_set=yes
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff eval ac_cv_prog_make_${ac_make}_set=no
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffrm -f conftestmake
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "$ac_t""yes" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff SET_MAKE=
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "$ac_t""no" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff SET_MAKE="MAKE=${MAKE-make}"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# Extract the first word of "ranlib", so it can be a program name with args.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffset dummy ranlib; ac_word=$2
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho "configure:719: checking for $ac_word" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo $ac_n "(cached) $ac_c" 1>&6
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff if test -n "$RANLIB"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_dummy="$PATH"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff for ac_dir in $ac_dummy; do
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley test -z "$ac_dir" && ac_dir=.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test -f $ac_dir/$ac_word; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_cv_prog_RANLIB="ranlib"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff break
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff fi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff done
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff IFS="$ac_save_ifs"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffRANLIB="$ac_cv_prog_RANLIB"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif test -n "$RANLIB"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "$ac_t""$RANLIB" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "$ac_t""no" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# Find a good install program. We prefer a C program (faster),
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# so one script is as good as another. But avoid the broken or
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# incompatible versions:
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# SysV /etc/install, /usr/sbin/install
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# SunOS /usr/etc/install
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# IRIX /sbin/install
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# AIX /bin/install
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# AFS /usr/afsws/bin/install, which mishandles nonexistent args
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# ./install, which can be erroneously created by make from ./install.sh.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho "configure:758: checking for a BSD compatible install" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif test -z "$INSTALL"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson echo $ac_n "(cached) $ac_c" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff for ac_dir in $PATH; do
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # Account for people who put trailing slashes in PATH elements.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley case "$ac_dir/" in
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff *)
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # OSF1 and SCO ODT 3.0 have their own names for install.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # Don't use installbsd from OSF since it installs stuff as root
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # by default.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff for ac_prog in ginstall scoinst install; do
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test -f $ac_dir/$ac_prog; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test $ac_prog = install &&
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # AIX install. It has an incompatible calling convention.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff :
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff else
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_cv_path_install="$ac_dir/$ac_prog -c"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff break 2
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff fi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff fi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff done
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ;;
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff esac
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff done
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff IFS="$ac_save_IFS"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff if test "${ac_cv_path_install+set}" = set; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff INSTALL="$ac_cv_path_install"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff else
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # As a last resort, use the slow shell script. We don't cache a
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # path for INSTALL within a source directory, because that will
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # break other packages using the cache if that directory is
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # removed, or if the path is relative.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff INSTALL="$ac_install_sh"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff fi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho "$ac_t""$INSTALL" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# It thinks the first close brace ends the variable substitution.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafftest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafftest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafftest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffSTD_CINCLUDES=""
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffSTD_CDEFINES=""
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffSTD_CWARNINGS=""
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceif test "X$CC" = "X" ; then
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence case "$host" in
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence *-dec-osf*)
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson CC="cc"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence ;;
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence *-sun-solaris*)
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence CC="cc"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence ;;
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence *-hp-hpux*)
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence CC="cc"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence ;;
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence mips-sgi-irix*)
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence CC="cc"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence ;;
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence esac
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrencefi
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrencecase "$host" in
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence *-netbsd*)
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence CC="gcc"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceecho "configure:840: checking which thread library to use" >&5
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence # Check whether --with-mit-pthreads or --without-mit-pthreads was given.
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceif test "${with_mit_pthreads+set}" = set; then
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence withval="$with_mit_pthreads"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence use_mit_pthreads="$withval"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceelse
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence use_mit_pthreads="no"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrencefi
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence # Check whether --with-ptl2 or --without-ptl2 was given.
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceif test "${with_ptl2+set}" = set; then
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence withval="$with_ptl2"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence use_ptl2="$withval"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceelse
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence use_ptl2="no"
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrencefi
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence case "$use_mit_pthreads+$use_ptl2" in
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence no+no)
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence if test -d /usr/pkg/pthreads
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence then
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence use_mit_pthreads="yes"
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence fi
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff if test -d /usr/pkg/PTL
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff then
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff use_ptl2="yes"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff fi
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff ;;
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson esac
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff case "$use_mit_pthreads+$use_ptl2" in
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff yes+no)
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff echo "$ac_t""mit-pthreads" 1>&6
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff pkg="/usr/pkg/pthreads"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff lib1="-L$pkg/lib -Wl,-R$pkg/lib"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff lib2="-lpthread -lm -lgcc -lpthread"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff LIBS="$lib1 $lib2 $LIBS"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff STD_CINCLUDES="-I$pkg/include"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff ;;
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff no+yes)
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff echo "$ac_t""PTL2" 1>&6
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff CC=ptlgcc
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff ;;
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff *)
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff { echo "configure: error: no thread library.
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael GraffPlease choose a thread library using one of
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff configure --with-mit-pthreads
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff configure --with-ptl2
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff" 1>&2; exit 1; }
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff ;;
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff esac
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff ;;
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffesac
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff# Extract the first word of "gcc", so it can be a program name with args.
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffset dummy gcc; ac_word=$2
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffecho "configure:903: checking for $ac_word" >&5
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff echo $ac_n "(cached) $ac_c" 1>&6
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffelse
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff if test -n "$CC"; then
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff ac_cv_prog_CC="$CC" # Let the user override the test.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ac_dummy="$PATH"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson for ac_dir in $ac_dummy; do
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson test -z "$ac_dir" && ac_dir=.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson if test -f $ac_dir/$ac_word; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ac_cv_prog_CC="gcc"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson break
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson fi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson done
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson IFS="$ac_save_ifs"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas GustafssonCC="$ac_cv_prog_CC"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif test -n "$CC"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "$ac_t""$CC" 1>&6
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "$ac_t""no" 1>&6
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif test -z "$CC"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson # Extract the first word of "cc", so it can be a program name with args.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonset dummy cc; ac_word=$2
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonecho "configure:933: checking for $ac_word" >&5
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo $ac_n "(cached) $ac_c" 1>&6
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson if test -n "$CC"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ac_cv_prog_CC="$CC" # Let the user override the test.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ac_prog_rejected=no
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ac_dummy="$PATH"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson for ac_dir in $ac_dummy; do
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson test -z "$ac_dir" && ac_dir=.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson if test -f $ac_dir/$ac_word; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ac_prog_rejected=yes
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson continue
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson fi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ac_cv_prog_CC="cc"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson break
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson fi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson done
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence IFS="$ac_save_ifs"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif test $ac_prog_rejected = yes; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence # We found a bogon in the path, so make sure we never use it.
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence set dummy $ac_cv_prog_CC
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence shift
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence if test $# -gt 0; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence # We chose a different compiler from the bogus one.
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence # However, it has the same basename, so the bogon will be chosen
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence # first if we set CC to just the basename; use the full file name.
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence shift
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence set dummy "$ac_dir/$ac_word" "$@"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence shift
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_prog_CC="$@"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence fi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David LawrenceCC="$ac_cv_prog_CC"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif test -n "$CC"; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence echo "$ac_t""$CC" 1>&6
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceelse
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence echo "$ac_t""no" 1>&6
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrencefi
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence if test -z "$CC"; then
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence case "`uname -s`" in
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence *win32* | *WIN32*)
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence # Extract the first word of "cl", so it can be a program name with args.
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceset dummy cl; ac_word=$2
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceecho "configure:984: checking for $ac_word" >&5
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence echo $ac_n "(cached) $ac_c" 1>&6
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceelse
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence if test -n "$CC"; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_prog_CC="$CC" # Let the user override the test.
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_dummy="$PATH"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence for ac_dir in $ac_dummy; do
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence test -z "$ac_dir" && ac_dir=.
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence if test -f $ac_dir/$ac_word; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_prog_CC="cl"
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence break
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence fi
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence done
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence IFS="$ac_save_ifs"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David LawrenceCC="$ac_cv_prog_CC"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif test -n "$CC"; then
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence echo "$ac_t""$CC" 1>&6
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrenceelse
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence echo "$ac_t""no" 1>&6
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrencefi
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence ;;
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence esac
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence fi
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrencefi
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceecho "configure:1016: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceac_ext=c
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceac_cpp='$CPP $CPPFLAGS'
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffcross_compiling=$ac_cv_prog_cc_cross
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffcat > conftest.$ac_ext << EOF
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#line 1027 "configure"
1ce985ab3c6670662d555c108b35fed84a6a1001David Lawrence#include "confdefs.h"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencemain(){return(0);}
90839d60d218503da04c4a0bfe57a81c33aa2241David LawrenceEOF
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif { (eval echo configure:1032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_prog_cc_works=yes
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence # If we can't run a trivial program, we are probably using a cross compiler.
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence if (./conftest; exit) 2>/dev/null; then
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence ac_cv_prog_cc_cross=no
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence else
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence ac_cv_prog_cc_cross=yes
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence fi
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceelse
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence echo "configure: failed program was:" >&5
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence cat conftest.$ac_ext >&5
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence ac_cv_prog_cc_works=no
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrencefi
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrencerm -fr conftest*
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceac_ext=c
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceac_cpp='$CPP $CPPFLAGS'
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffcross_compiling=$ac_cv_prog_cc_cross
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffecho "$ac_t""$ac_cv_prog_cc_works" 1>&6
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffif test $ac_cv_prog_cc_works = no; then
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Grafffi
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffecho "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffecho "$ac_t""$ac_cv_prog_cc_cross" 1>&6
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffcross_compiling=$ac_cv_prog_cc_cross
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho "configure:1063: checking whether we are using GNU C" >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo $ac_n "(cached) $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff cat > conftest.c <<EOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff#ifdef __GNUC__
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff yes;
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff#endif
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffEOF
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_cv_prog_gcc=yes
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_cv_prog_gcc=no
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho "$ac_t""$ac_cv_prog_gcc" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif test $ac_cv_prog_gcc = yes; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff GCC=yes
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff GCC=
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonac_test_CFLAGS="${CFLAGS+set}"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffac_save_CFLAGS="$CFLAGS"
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffCFLAGS=
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho "configure:1091: checking whether ${CC-cc} accepts -g" >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo $ac_n "(cached) $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo 'void f(){}' > conftest.c
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_cv_prog_cc_g=yes
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_cv_prog_cc_g=no
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffrm -f conftest*
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho "$ac_t""$ac_cv_prog_cc_g" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif test "$ac_test_CFLAGS" = set; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff CFLAGS="$ac_save_CFLAGS"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelif test $ac_cv_prog_cc_g = yes; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff if test "$GCC" = yes; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff CFLAGS="-g -O2"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff else
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff CFLAGS="-g"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff fi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff if test "$GCC" = yes; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff CFLAGS="-O2"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff else
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson CFLAGS=
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff fi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffor ac_prog in 'bison -y' byacc
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffdo
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff# Extract the first word of "$ac_prog", so it can be a program name with args.
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffset dummy $ac_prog; ac_word=$2
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho "configure:1127: checking for $ac_word" >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo $ac_n "(cached) $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson if test -n "$YACC"; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_cv_prog_YACC="$YACC" # Let the user override the test.
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_dummy="$PATH"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff for ac_dir in $ac_dummy; do
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff test -z "$ac_dir" && ac_dir=.
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff if test -f $ac_dir/$ac_word; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_cv_prog_YACC="$ac_prog"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff break
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff fi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff done
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff IFS="$ac_save_ifs"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffYACC="$ac_cv_prog_YACC"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif test -n "$YACC"; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo "$ac_t""$YACC" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo "$ac_t""no" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafftest -n "$YACC" && break
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffdone
e915367e40b579d18ac13c9c58c15fec614d9890Michael Grafftest -n "$YACC" || YACC="yacc"
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graffecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graffecho "configure:1159: checking how to run the C preprocessor" >&5
08a768e82ad64ede97f640c88e02984b59122753Michael Graff# On Suns, sometimes $CPP names a directory.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif test -n "$CPP" && test -d "$CPP"; then
08a768e82ad64ede97f640c88e02984b59122753Michael Graff CPP=
e915367e40b579d18ac13c9c58c15fec614d9890Michael Grafffi
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graffif test -z "$CPP"; then
08a768e82ad64ede97f640c88e02984b59122753Michael Graffif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
08a768e82ad64ede97f640c88e02984b59122753Michael Graff echo $ac_n "(cached) $ac_c" 1>&6
08a768e82ad64ede97f640c88e02984b59122753Michael Graffelse
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff # This must be in double quotes, not single quotes, because CPP may get
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff # substituted into the Makefile and "${CC-cc}" will confuse make.
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff CPP="${CC-cc} -E"
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff # On the NeXT, cc -E runs the code through the compiler's parser,
08a768e82ad64ede97f640c88e02984b59122753Michael Graff # not just through cpp.
08a768e82ad64ede97f640c88e02984b59122753Michael Graff cat > conftest.$ac_ext <<EOF
08a768e82ad64ede97f640c88e02984b59122753Michael Graff#line 1174 "configure"
08a768e82ad64ede97f640c88e02984b59122753Michael Graff#include "confdefs.h"
08a768e82ad64ede97f640c88e02984b59122753Michael Graff#include <assert.h>
08a768e82ad64ede97f640c88e02984b59122753Michael GraffSyntax Error
08a768e82ad64ede97f640c88e02984b59122753Michael GraffEOF
08a768e82ad64ede97f640c88e02984b59122753Michael Graffac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
08a768e82ad64ede97f640c88e02984b59122753Michael Graff{ (eval echo configure:1180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
08a768e82ad64ede97f640c88e02984b59122753Michael Graffac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
08a768e82ad64ede97f640c88e02984b59122753Michael Graffif test -z "$ac_err"; then
08a768e82ad64ede97f640c88e02984b59122753Michael Graff :
08a768e82ad64ede97f640c88e02984b59122753Michael Graffelse
08a768e82ad64ede97f640c88e02984b59122753Michael Graff echo "$ac_err" >&5
08a768e82ad64ede97f640c88e02984b59122753Michael Graff echo "configure: failed program was:" >&5
08a768e82ad64ede97f640c88e02984b59122753Michael Graff cat conftest.$ac_ext >&5
08a768e82ad64ede97f640c88e02984b59122753Michael Graff rm -rf conftest*
08a768e82ad64ede97f640c88e02984b59122753Michael Graff CPP="${CC-cc} -E -traditional-cpp"
08a768e82ad64ede97f640c88e02984b59122753Michael Graff cat > conftest.$ac_ext <<EOF
08a768e82ad64ede97f640c88e02984b59122753Michael Graff#line 1191 "configure"
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson#include "confdefs.h"
08a768e82ad64ede97f640c88e02984b59122753Michael Graff#include <assert.h>
90839d60d218503da04c4a0bfe57a81c33aa2241David LawrenceSyntax Error
1706598239da403b86f4befa4c08175d9e101014Andreas GustafssonEOF
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson{ (eval echo configure:1197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonif test -z "$ac_err"; then
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson :
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson echo "$ac_err" >&5
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson echo "configure: failed program was:" >&5
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson cat conftest.$ac_ext >&5
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson rm -rf conftest*
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson CPP="${CC-cc} -nologo -E"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson cat > conftest.$ac_ext <<EOF
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson#line 1208 "configure"
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson#include "confdefs.h"
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson#include <assert.h>
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas GustafssonSyntax Error
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas GustafssonEOF
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafssonac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson{ (eval echo configure:1214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafssonac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafssonif test -z "$ac_err"; then
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson :
971d1fe83172bce09d6319c5735d243d68d8cb47Andreas Gustafssonelse
971d1fe83172bce09d6319c5735d243d68d8cb47Andreas Gustafsson echo "$ac_err" >&5
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson echo "configure: failed program was:" >&5
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson cat conftest.$ac_ext >&5
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson rm -rf conftest*
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson CPP=/lib/cpp
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonfi
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonrm -f conftest*
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonfi
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafssonrm -f conftest*
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonfi
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonrm -f conftest*
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson ac_cv_prog_CPP="$CPP"
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafssonfi
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson CPP="$ac_cv_prog_CPP"
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafssonelse
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson ac_cv_prog_CPP="$CPP"
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonfi
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonecho "$ac_t""$CPP" 1>&6
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonecho "configure:1239: checking for ANSI C header files" >&5
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson echo $ac_n "(cached) $ac_c" 1>&6
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafssonelse
1706598239da403b86f4befa4c08175d9e101014Andreas Gustafsson cat > conftest.$ac_ext <<EOF
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson#line 1244 "configure"
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stdlib.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stdarg.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <string.h>
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#include <float.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ (eval echo configure:1252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_err"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_cv_header_stdc=yes
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "$ac_err" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_header_stdc=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test $ac_cv_header_stdc = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1269 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <string.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley egrep "memchr" >/dev/null 2>&1; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_header_stdc=no
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test $ac_cv_header_stdc = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1287 "configure"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include "confdefs.h"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include <stdlib.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley egrep "free" >/dev/null 2>&1; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_header_stdc=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test $ac_cv_header_stdc = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "$cross_compiling" = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1308 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <ctype.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main () { int i; for (i = 0; i < 256; i++)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyexit (0); }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleythen
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat conftest.$ac_ext >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -fr conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_cv_header_stdc=no
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -fr conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho "$ac_t""$ac_cv_header_stdc" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif test $ac_cv_header_stdc = yes; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat >> confdefs.h <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#define STDC_HEADERS 1
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleydo
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho "configure:1346: checking for $ac_hdr" >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat > conftest.$ac_ext <<EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#line 1351 "configure"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include "confdefs.h"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include <$ac_hdr>
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley{ (eval echo configure:1356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_err"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_header_$ac_safe=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "$ac_err" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_header_$ac_safe=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "$ac_t""yes" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson cat >> confdefs.h <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define $ac_tr_hdr 1
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for working const""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1384: checking for working const" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1389 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyint main() {
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/* Ultrix mips cc rejects this. */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleytypedef int charset[2]; const charset x;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/* SunOS 4.1.1 cc rejects this. */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleychar const *const *ccp;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar **p;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* NEC SVR4.0.2 mips cc rejects this. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleystruct point {int x, y;};
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleystatic struct point const zero = {0,0};
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* AIX XL C 1.02.0.0 rejects this.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley It does not let you subtract one const X* pointer from another in an arm
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson of an if-expression whose if-part is not a constant expression */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyconst char *g = "string";
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyccp = &g + (g ? g-g : 0);
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* HPUX 7.0 cc rejects these. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley++ccp;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonp = (char**) ccp;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyccp = (char const *const *) p;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* SCO 3.2v4 cc rejects this. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley char *t;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley char const *s = 0 ? (char *) 0 : (char const *) 0;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *t++ = 0;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson int x[] = {25, 17};
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley const int *foo = &x[0];
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ++foo;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley typedef const int *iptr;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley iptr p = 0;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ++p;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* AIX XL C 1.02.0.0 rejects this saying
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley struct s { int j; const int *ap[3]; };
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley struct s *b; b->j = 5;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley const int foo = 10;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley; return 0; }
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas GustafssonEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_c_const=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_c_const=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "$ac_t""$ac_cv_c_const" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test $ac_cv_c_const = no; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat >> confdefs.h <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#define const
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho $ac_n "checking for inline""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1459: checking for inline" >&5
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_cv_c_inline=no
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfor ac_kw in inline __inline__ __inline; do
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat > conftest.$ac_ext <<EOF
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#line 1466 "configure"
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#include "confdefs.h"
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerint main() {
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister} $ac_kw foo() {
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister; return 0; }
13494a4d4bead37f22eb6c4779c73310109f7e4aJames BristerEOF
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif { (eval echo configure:1473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister rm -rf conftest*
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister ac_cv_c_inline=$ac_kw; break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister echo "configure: failed program was:" >&5
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister cat conftest.$ac_ext >&5
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleydone
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerfi
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerecho "$ac_t""$ac_cv_c_inline" 1>&6
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristercase "$ac_cv_c_inline" in
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister inline | yes) ;;
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister no) cat >> confdefs.h <<\EOF
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#define inline
13494a4d4bead37f22eb6c4779c73310109f7e4aJames BristerEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister *) cat >> confdefs.h <<EOF
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#define inline $ac_cv_c_inline
13494a4d4bead37f22eb6c4779c73310109f7e4aJames BristerEOF
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister ;;
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristeresac
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerecho $ac_n "checking for size_t""... $ac_c" 1>&6
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerecho "configure:1499: checking for size_t" >&5
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1504 "configure"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <sys/types.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#if STDC_HEADERS
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stdlib.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stddef.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#endif
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_type_size_t=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_type_size_t=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "$ac_t""$ac_cv_type_size_t" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test $ac_cv_type_size_t = no; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#define size_t unsigned
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1532: checking whether time.h and sys/time.h may both be included" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat > conftest.$ac_ext <<EOF
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#line 1537 "configure"
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#include "confdefs.h"
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#include <sys/types.h>
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#include <sys/time.h>
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#include <time.h>
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerint main() {
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonstruct tm *tp;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley; return 0; }
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif { (eval echo configure:1546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -rf conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_cv_header_time=yes
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "configure: failed program was:" >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat conftest.$ac_ext >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -rf conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_cv_header_time=no
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho "$ac_t""$ac_cv_header_time" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif test $ac_cv_header_time = yes; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson cat >> confdefs.h <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#define TIME_WITH_SYS_TIME 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1568: checking for pthread_create in -lpthread" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_save_LIBS="$LIBS"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyLIBS="-lpthread $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1576 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar pthread_create();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleypthread_create()
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="$ac_save_LIBS"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define $ac_tr_lib 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LIBS="-lpthread $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1613: checking for __pthread_create in -lpthread" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_save_LIBS="$LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="-lpthread $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1621 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar __pthread_create();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley__pthread_create()
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="$ac_save_LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define $ac_tr_lib 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LIBS="-lpthread $LIBS"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1660: checking for __pthread_create_system in -lpthread" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ac_save_LIBS="$LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="-lpthread $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1668 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar __pthread_create_system();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley__pthread_create_system()
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
0adde9f4f9369b23c67b9a29e824dda09b19022fDavid Lawrencerm -f conftest*
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffLIBS="$ac_save_LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define $ac_tr_lib 1
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas GustafssonEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LIBS="-lpthread $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "$ac_t""no" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "$ac_cv_lib_pthread" != "yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1713: checking for pthread_create in -lc_r" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_save_LIBS="$LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="-lc_r $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1721 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar pthread_create();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleypthread_create()
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas GustafssonEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="$ac_save_LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define $ac_tr_lib 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LIBS="-lc_r $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1763: checking for sigwait in -lpthread" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_save_LIBS="$LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="-lpthread $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1771 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar sigwait();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysigwait()
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="$ac_save_LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define HAVE_SIGWAIT 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1804: checking for _Psigwait in -lpthread" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_save_LIBS="$LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="-lpthread $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1812 "configure"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar _Psigwait();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson_Psigwait()
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="$ac_save_LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define HAVE_SIGWAIT 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycase "$host" in
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson *-sun-solaris*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define _POSIX_PTHREAD_SEMANTICS 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyesac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for catgets""... $ac_c" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho "configure:1860: checking for catgets" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1865 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* System header to define __stub macros and hopefully few prototypes,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley which can conflict with char catgets(); below. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <assert.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar catgets();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* The GNU C library defines this for functions which it implements
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley to always fail with ENOSYS. Some functions are actually named
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson something starting with __ and the normal name is an alias. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#if defined (__stub_catgets) || defined (__stub___catgets)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychoke me
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycatgets();
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#endif
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_func_catgets=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_func_catgets=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define HAVE_CATGETS 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycase "$host" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *-bsdi3.1*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define NEED_PTHREAD_INIT 1
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas GustafssonEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *-linux*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define HAVE_LINUXTHREADS 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyesac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycase "$host" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley mips-sgi-irix*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1932: checking for socket in -lsocket" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_save_LIBS="$LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="-lsocket $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1940 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar socket();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysocket()
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonrm -f conftest*
a2171e092382f8f8a72b1f73436ddf93918c7719Bob HalleyLIBS="$ac_save_LIBS"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyfi
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley echo "$ac_t""yes" 1>&6
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson cat >> confdefs.h <<EOF
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley#define $ac_tr_lib 1
a2171e092382f8f8a72b1f73436ddf93918c7719Bob HalleyEOF
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley LIBS="-lsocket $LIBS"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyelse
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley echo "$ac_t""no" 1>&6
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyfi
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonecho "configure:1979: checking for inet_ntoa in -lnsl" >&5
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyelse
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley ac_save_LIBS="$LIBS"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob HalleyLIBS="-lnsl $LIBS"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleycat > conftest.$ac_ext <<EOF
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley#line 1987 "configure"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley#include "confdefs.h"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley/* We use char because int might match the return type of a gcc2
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley builtin and then its argument prototype would still apply. */
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleychar inet_ntoa();
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyint main() {
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyinet_ntoa()
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley; return 0; }
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob HalleyEOF
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyif { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley rm -rf conftest*
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyelse
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley echo "configure: failed program was:" >&5
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley cat conftest.$ac_ext >&5
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley rm -rf conftest*
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonrm -f conftest*
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob HalleyLIBS="$ac_save_LIBS"
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyfi
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley echo "$ac_t""yes" 1>&6
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson cat >> confdefs.h <<EOF
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley#define $ac_tr_lib 1
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob HalleyEOF
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley LIBS="-lnsl $LIBS"
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyelse
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley echo "$ac_t""no" 1>&6
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyfi
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley ;;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonesac
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob HalleyMKDEPCC="$CC"
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob HalleyMKDEPCFLAGS="-M"
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyif test "X$GCC" = "Xyes"; then
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley case "$host" in
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley *-sun-solaris*)
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley LIBS="$LIBS -lthread"
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley ;;
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halley esac
7c0876aa42e6abaa8779bcb83962ccf20a9f4da3Bob Halleyelse
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley case "$host" in
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley *-dec-osf*)
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley CC="$CC -pthread"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley MKDEPCC="$CC"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley ;;
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley *-sun-solaris*)
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley CC="$CC -mt"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley MKDEPCC="$CC"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley MKDEPCFLAGS="-xM"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley ;;
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley *-hp-hpux*)
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley CC="$CC -Ae -z +w1"
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley ;;
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley esac
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
491b48ec3f3ef014312688776ddbd4eab8a2c10cMichael Graff
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencecase "$host" in
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence *-dec-osf*)
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence cat >> confdefs.h <<\EOF
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#define _SOCKADDR_LEN 1
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David LawrenceEOF
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence ;;
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrenceesac
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrenceecho $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonecho "configure:2069: checking for sa_len in struct sockaddr" >&5
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrencecat > conftest.$ac_ext <<EOF
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence#line 2071 "configure"
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence#include "confdefs.h"
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence#include <sys/types.h>
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence#include <sys/socket.h>
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrenceint main() {
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrencestruct sockaddr sa; sa.sa_len = 0; return (0);
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence; return 0; }
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David LawrenceEOF
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonif { (eval echo configure:2080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence rm -rf conftest*
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence echo "$ac_t""yes" 1>&6
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence ISC_NET_HAVESALEN="#define ISC_NET_HAVESALEN 1"
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrenceelse
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence echo "configure: failed program was:" >&5
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence cat conftest.$ac_ext >&5
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence rm -rf conftest*
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence echo "$ac_t""no" 1>&6
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence ISC_NET_HAVESALEN="#undef ISC_NET_HAVESALEN"
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrencefi
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrencerm -f conftest*
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrenceecho $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrenceecho "configure:2096: checking for struct msghdr flavor" >&5
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrencecat > conftest.$ac_ext <<EOF
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence#line 2098 "configure"
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence#include "confdefs.h"
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#include <sys/types.h>
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#include <sys/socket.h>
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyint main() {
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleystruct msghdr msg; msg.msg_flags = 0; return (0);
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley; return 0; }
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob HalleyEOF
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyif { (eval echo configure:2107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley rm -rf conftest*
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley echo "$ac_t""4.4BSD" 1>&6
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ISC_NET_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyelse
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley echo "configure: failed program was:" >&5
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley cat conftest.$ac_ext >&5
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley rm -rf conftest*
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley echo "$ac_t""4.3BSD" 1>&6
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley ISC_NET_MSGHDRFLAVOR="#define ISC_NET_BSD43MSGHDR 1"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyfi
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyrm -f conftest*
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyecho $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyecho "configure:2123: checking for interface list sysctl" >&5
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleycat > conftest.$ac_ext <<EOF
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#line 2125 "configure"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#include "confdefs.h"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#include <sys/param.h>
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#include <sys/sysctl.h>
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#include <sys/socket.h>
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#ifdef NET_RT_IFLIST
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyfound_rt_iflist
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#endif
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob HalleyEOF
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley egrep "found_rt_iflist" >/dev/null 2>&1; then
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley rm -rf conftest*
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley echo "$ac_t""yes" 1>&6
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley cat >> confdefs.h <<\EOF
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley#define HAVE_IFLIST_SYSCTL 1
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob HalleyEOF
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyelse
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley rm -rf conftest*
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley echo "$ac_t""no" 1>&6
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyfi
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyrm -f conftest*
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson# Check whether --with-libtool or --without-libtool was given.
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyif test "${with_libtool+set}" = set; then
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley withval="$with_libtool"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley use_libtool="$withval"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyelse
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley use_libtool="no"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyfi
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleycase $use_libtool in
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley yes)
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson # Check whether --enable-shared or --disable-shared was given.
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyif test "${enable_shared+set}" = set; then
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley enableval="$enable_shared"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley p=${PACKAGE-default}
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleycase "$enableval" in
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyyes) enable_shared=yes ;;
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyno) enable_shared=no ;;
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley*)
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley enable_shared=no
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley # Look at the argument we got. We use all the common list separators.
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley for pkg in $enableval; do
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley if test "X$pkg" = "X$p"; then
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley enable_shared=yes
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley fi
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley done
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley IFS="$ac_save_ifs"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley ;;
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyesac
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyelse
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley enable_shared=yes
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyfi
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrence# Check whether --enable-static or --disable-static was given.
12ccbb032ec1b5f6b93aac923f2645a19fc90c75David Lawrenceif test "${enable_static+set}" = set; then
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley enableval="$enable_static"
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley p=${PACKAGE-default}
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleycase "$enableval" in
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyyes) enable_static=yes ;;
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceno) enable_static=no ;;
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence*)
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence enable_static=no
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley # Look at the argument we got. We use all the common list separators.
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence for pkg in $enableval; do
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence if test "X$pkg" = "X$p"; then
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley enable_static=yes
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley fi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson done
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley IFS="$ac_save_ifs"
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley ;;
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyesac
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyelse
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley enable_static=yes
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyfi
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson# Check whether --enable-fast-install or --disable-fast-install was given.
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyif test "${enable_fast_install+set}" = set; then
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley enableval="$enable_fast_install"
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley p=${PACKAGE-default}
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleycase "$enableval" in
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyyes) enable_fast_install=yes ;;
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyno) enable_fast_install=no ;;
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley*)
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley enable_fast_install=no
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley # Look at the argument we got. We use all the common list separators.
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson for pkg in $enableval; do
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley if test "X$pkg" = "X$p"; then
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley enable_fast_install=yes
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley fi
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley done
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley IFS="$ac_save_ifs"
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley ;;
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyesac
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyelse
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley enable_fast_install=yes
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyfi
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyecho $ac_n "checking build system type""... $ac_c" 1>&6
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyecho "configure:2232: checking build system type" >&5
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleybuild_alias=$build
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleycase "$build_alias" in
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob HalleyNONE)
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley case $nonopt in
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley NONE) build_alias=$host_alias ;;
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley *) build_alias=$nonopt ;;
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley esac ;;
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halleyesac
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrencebuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrencebuild_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrencebuild_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrencebuild_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrenceecho "$ac_t""$build" 1>&6
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence# Check whether --with-gnu-ld or --without-gnu-ld was given.
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrenceif test "${with_gnu_ld+set}" = set; then
20de4f6c6cd4af09c13c1e0a21f97e49d2139dbeBob Halley withval="$with_gnu_ld"
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence test "$withval" = no || with_gnu_ld=yes
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrenceelse
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence with_gnu_ld=no
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrencefi
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrenceac_prog=ld
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrenceif test "$ac_cv_prog_gcc" = yes; then
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence # Check if gcc -print-prog-name=ld gives a path.
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrenceecho "configure:2261: checking for ld used by GCC" >&5
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence ac_prog=`($CC -print-prog-name=ld) 2>&5`
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence case "$ac_prog" in
566a01eb745d49bd866971062388cd11d525b60dDavid Lawrence # Accept absolute paths.
1ce985ab3c6670662d555c108b35fed84a6a1001David Lawrence [\\/]* | [A-Za-z]:[\\/]*)
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley re_direlt='/[^/][^/]*/\.\./'
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley # Canonicalize the path of ld
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence done
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence test -z "$LD" && LD="$ac_prog"
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence ;;
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence "")
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence # If it fails, then pretend we aren't using GCC.
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence ac_prog=ld
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley ;;
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley *)
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley # If it is relative, then search for the first ld in PATH.
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley with_gnu_ld=unknown
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley ;;
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence esac
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelif test "$with_gnu_ld" = yes; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyecho "configure:2285: checking for GNU ld" >&5
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonelse
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyecho "configure:2288: checking for non-GNU ld" >&5
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyfi
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo $ac_n "(cached) $ac_c" 1>&6
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyelse
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley if test -z "$LD"; then
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley for ac_dir in $PATH; do
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley test -z "$ac_dir" && ac_dir=.
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley ac_cv_path_LD="$ac_dir/$ac_prog"
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley # Check to see if the program is GNU ld. I'd rather use --version,
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley # but apparently some GNU ld's only accept -v.
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley # Break only if it was the GNU/non-GNU ld that we prefer.
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley test "$with_gnu_ld" != no && break
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley else
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley test "$with_gnu_ld" != yes && break
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley fi
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley fi
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley done
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley IFS="$ac_save_ifs"
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyelse
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley ac_cv_path_LD="$LD" # Let the user override the test with a path.
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyfi
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob HalleyLD="$ac_cv_path_LD"
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyif test -n "$LD"; then
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley echo "$ac_t""$LD" 1>&6
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyelse
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley echo "$ac_t""no" 1>&6
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyfi
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleytest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyecho $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyecho "configure:2324: checking if the linker ($LD) is GNU ld" >&5
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyif eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley echo $ac_n "(cached) $ac_c" 1>&6
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyelse
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley # I'd rather use --version here, but apparently some GNU ld's only accept -v.
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyif $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley ac_cv_prog_gnu_ld=yes
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyelse
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley ac_cv_prog_gnu_ld=no
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyfi
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyfi
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyecho "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceecho $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceecho "configure:2340: checking for BSD-compatible nm" >&5
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence echo $ac_n "(cached) $ac_c" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence if test -n "$NM"; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence # Let the user override the test.
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_path_NM="$NM"
882350d11c90de9de6fc1cead25690c8114b0b95Michael Graffelse
882350d11c90de9de6fc1cead25690c8114b0b95Michael Graff IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
882350d11c90de9de6fc1cead25690c8114b0b95Michael Graff for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
882350d11c90de9de6fc1cead25690c8114b0b95Michael Graff test -z "$ac_dir" && ac_dir=.
882350d11c90de9de6fc1cead25690c8114b0b95Michael Graff if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson # Check to see if the nm accepts a BSD-compat flag.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # Adding the `sed 1q' prevents false positives on HP-UX, which says:
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # nm: unknown option "B" ignored
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ac_cv_path_NM="$ac_dir/nm -B"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley break
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ac_cv_path_NM="$ac_dir/nm -p"
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson break
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley else
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley continue # so that we can try to find one that supports BSD flags
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley fi
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley fi
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley done
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley IFS="$ac_save_ifs"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyfi
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyfi
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob HalleyNM="$ac_cv_path_NM"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyecho "$ac_t""$NM" 1>&6
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyecho "configure:2377: checking whether ln -s works" >&5
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley echo $ac_n "(cached) $ac_c" 1>&6
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyelse
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley rm -f conftestdata
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyif ln -s X conftestdata 2>/dev/null
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleythen
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley rm -f conftestdata
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ac_cv_prog_LN_S="ln -s"
ffea097efa5b9d6a0d5e8ed43d98c29de3fa5b8dMichael Graffelse
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ac_cv_prog_LN_S=ln
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyfi
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyfi
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob HalleyLN_S="$ac_cv_prog_LN_S"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyif test "$ac_cv_prog_LN_S" = "ln -s"; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley echo "$ac_t""yes" 1>&6
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyelse
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley echo "$ac_t""no" 1>&6
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyfi
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
882350d11c90de9de6fc1cead25690c8114b0b95Michael Graff# Check for any special flags to pass to ltconfig.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonlibtool_flags="--cache-file=$cache_file"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleytest "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleytest "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleytest "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleytest "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleytest "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyif test "${enable_libtool_lock+set}" = set; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley enableval="$enable_libtool_lock"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley :
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyfi
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleytest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleytest x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# Some flags need to be propagated to the compiler or linker for good
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# libtool support.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssoncase "$host" in
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley*-*-irix6*)
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # Find out which ABI we are using.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley echo '#line 2421 "configure"' > conftest.$ac_ext
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley if { (eval echo configure:2422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley case "`/usr/bin/file conftest.o`" in
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley *32-bit*)
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley LD="${LD-ld} -32"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ;;
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley *N32*)
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley LD="${LD-ld} -n32"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ;;
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley *64-bit*)
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley LD="${LD-ld} -64"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ;;
ffea097efa5b9d6a0d5e8ed43d98c29de3fa5b8dMichael Graff esac
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley fi
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley rm -rf conftest*
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ;;
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley*-*-sco3.2v5*)
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # On SCO OpenServer 5, we need -belf to get full-featured binaries.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley SAVE_CFLAGS="$CFLAGS"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley CFLAGS="$CFLAGS -belf"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyecho "configure:2443: checking whether the C compiler needs -belf" >&5
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyif eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
882350d11c90de9de6fc1cead25690c8114b0b95Michael Graff echo $ac_n "(cached) $ac_c" 1>&6
882350d11c90de9de6fc1cead25690c8114b0b95Michael Graffelse
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff cat > conftest.$ac_ext <<EOF
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley#line 2448 "configure"
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley#include "confdefs.h"
3c8e458ed2118828b13f35ca6fcc409da66c2869David Lawrence
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyint main() {
174a4f7b80af7f7a33cd9a098c13af23e5ec2a28David Lawrence
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley; return 0; }
b2d7494643d133f541d496eb0558d45eca2d6fa8Bob HalleyEOF
b2d7494643d133f541d496eb0558d45eca2d6fa8Bob Halleyif { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
b2d7494643d133f541d496eb0558d45eca2d6fa8Bob Halley rm -rf conftest*
b2d7494643d133f541d496eb0558d45eca2d6fa8Bob Halley lt_cv_cc_needs_belf=yes
660f6ef5471b7348436a9de18acde5d48b18e0dcBob Halleyelse
660f6ef5471b7348436a9de18acde5d48b18e0dcBob Halley echo "configure: failed program was:" >&5
660f6ef5471b7348436a9de18acde5d48b18e0dcBob Halley cat conftest.$ac_ext >&5
1ce985ab3c6670662d555c108b35fed84a6a1001David Lawrence rm -rf conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lt_cv_cc_needs_belf=no
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
aec0bd3d68dfbe8c4d0ecb56956714bc0446ddf3Michael Graffrm -f conftest*
aec0bd3d68dfbe8c4d0ecb56956714bc0446ddf3Michael Grafffi
aec0bd3d68dfbe8c4d0ecb56956714bc0446ddf3Michael Graff
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho "$ac_t""$lt_cv_cc_needs_belf" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test x"$lt_cv_cc_needs_belf" != x"yes"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley CFLAGS="$SAVE_CFLAGS"
b2d7494643d133f541d496eb0558d45eca2d6fa8Bob Halley fi
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
1ce985ab3c6670662d555c108b35fed84a6a1001David Lawrence
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyesac
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Save cache, so that ltconfig can load it
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat > confcache <<\EOF
3c8e458ed2118828b13f35ca6fcc409da66c2869David Lawrence# This file is a shell script that caches the results of configure
3c8e458ed2118828b13f35ca6fcc409da66c2869David Lawrence# tests run on this system so they can be shared between configure
0886b450e7268dabc382247637dc8ba17da12109Bob Halley# scripts and configure runs. It is not useful on other systems.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# If it contains results you don't want to keep, you may remove or edit it.
335b5eb5d08eb06844a99619afd52055e46db9c3David Lawrence#
7c9a9096f6df01b46c466dc1c48d85748cd16480David Lawrence# By default, configure uses ./config.cache as the cache file,
bcea9925141b1e0076cd7b078f1dae1449a1229bDavid Lawrence# creating it if it does not exist already. You can give configure
3c8e458ed2118828b13f35ca6fcc409da66c2869David Lawrence# the --cache-file=FILE option to use a different cache file; that is
bcea9925141b1e0076cd7b078f1dae1449a1229bDavid Lawrence# what configure does when it calls configure scripts in
bcea9925141b1e0076cd7b078f1dae1449a1229bDavid Lawrence# subdirectories, so they share the cache.
bcea9925141b1e0076cd7b078f1dae1449a1229bDavid Lawrence# Giving --cache-file=/dev/null disables caching, for debugging configure.
3c8e458ed2118828b13f35ca6fcc409da66c2869David Lawrence# config.status only pays attention to the cache file if you give it the
bcea9925141b1e0076cd7b078f1dae1449a1229bDavid Lawrence# --recheck option to rerun configure.
bcea9925141b1e0076cd7b078f1dae1449a1229bDavid Lawrence#
335b5eb5d08eb06844a99619afd52055e46db9c3David LawrenceEOF
aec0bd3d68dfbe8c4d0ecb56956714bc0446ddf3Michael Graff# The following way of writing the cache mishandles newlines in values,
aec0bd3d68dfbe8c4d0ecb56956714bc0446ddf3Michael Graff# but we know of no workaround that is simple, portable, and efficient.
aec0bd3d68dfbe8c4d0ecb56956714bc0446ddf3Michael Graff# So, don't put newlines in cache variables' values.
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence# Ultrix sh set writes to stderr and can't be redirected directly,
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence# and sets the high bit in the cache file unless we assign to the vars.
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence(set) 2>&1 |
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence case `(ac_space=' '; set | grep ac_space) 2>&1` in
b06bc71d84698c480410478863d9b51589fa6d0cDavid Lawrence *ac_space=\ *)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # `set' does not quote correctly, so add quotes (double-quote substitution
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # turns \\\\ into \\, and sed turns \\ into \).
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley sed -n \
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley -e "s/'/'\\\\''/g" \
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley ;;
3c8e458ed2118828b13f35ca6fcc409da66c2869David Lawrence *)
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence # `set' quotes correctly as required by POSIX, so do not add quotes.
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley esac >> confcache
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif cmp -s $cache_file confcache; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence :
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
a30e7fc23415fd238d067a8a871607bca36068baMichael Graff if test -w $cache_file; then
a30e7fc23415fd238d067a8a871607bca36068baMichael Graff echo "updating cache $cache_file"
a30e7fc23415fd238d067a8a871607bca36068baMichael Graff cat confcache > $cache_file
a30e7fc23415fd238d067a8a871607bca36068baMichael Graff else
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "not updating unwritable cache $cache_file"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencerm -f confcache
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson# Actually configure libtool. ac_aux_dir is where install-sh is found.
83fc3f78a2126fc9ebdf190a8103d561c7f0713aBob HalleyCC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas GustafssonLD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyLN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
83fc3f78a2126fc9ebdf190a8103d561c7f0713aBob HalleyDLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
83fc3f78a2126fc9ebdf190a8103d561c7f0713aBob Halley${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
83fc3f78a2126fc9ebdf190a8103d561c7f0713aBob Halley|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
f95dfb12a71564c3e8d53c5462dfd764efe357c2Bob Halley
83fc3f78a2126fc9ebdf190a8103d561c7f0713aBob Halley# Reload cache, that may have been modified by ltconfig
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif test -r "$cache_file"; then
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "loading cache $cache_file"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley . $cache_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halley echo "creating cache $cache_file"
de476e9bd35b6be1759d5680eb89a394eb67bc39Bob Halley > $cache_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
83fc3f78a2126fc9ebdf190a8103d561c7f0713aBob Halley
83fc3f78a2126fc9ebdf190a8103d561c7f0713aBob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# This can be used to rebuild libtool when needed
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyLIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halley
de476e9bd35b6be1759d5680eb89a394eb67bc39Bob Halley# Always use our own libtool.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyLIBTOOL='$(SHELL) $(top_builddir)/libtool'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Redirect the config.log output again, so that the ltconfig log is not
83fc3f78a2126fc9ebdf190a8103d561c7f0713aBob Halley# clobbered by the next message.
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssonexec 5>>./config.log
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence O=lo
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence A=la
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff ;;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson *)
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff O=o
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson A=a
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff LIBTOOL=
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff ;;
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graffesac
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graffecho $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonecho "configure:2570: checking for IPv6 structures" >&5
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graffcat > conftest.$ac_ext <<EOF
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff#line 2572 "configure"
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halley#include "confdefs.h"
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff#include <sys/types.h>
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff#include <sys/socket.h>
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff#include <netinet/in.h>
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graffint main() {
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halleystruct sockaddr_in6 sin6; return (0);
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff; return 0; }
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael GraffEOF
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graffif { (eval echo configure:2582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4c5faa6bcf41d8ba253b872a04105a2fcc88c07bMichael Graff rm -rf conftest*
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence echo "$ac_t""yes" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ISC_NET_HAVEIPV6="#define ISC_NET_HAVEIPV6 1"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence echo "configure: failed program was:" >&5
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson cat conftest.$ac_ext >&5
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence rm -rf conftest*
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson echo "$ac_t""no" 1>&6
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence ISC_NET_HAVEIPV6="#undef ISC_NET_HAVEIPV6"
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence ISC_IPV6_H="ipv6.h"
6c327669ba1d9eca870572b930c46f43e781d4a3Andreas Gustafsson ISC_IPV6_O="ipv6.$O"
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence ISC_ISCIPV6_O="unix/ipv6.$O"
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence ISC_IPV6_C="ipv6.c"
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrencefi
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrencerm -f conftest*
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halley
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrenceecho $ac_n "checking for inet_ntop""... $ac_c" 1>&6
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrenceecho "configure:2605: checking for inet_ntop" >&5
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrenceif eval "test \"`echo '$''{'ac_cv_func_inet_ntop'+set}'`\" = set"; then
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence echo $ac_n "(cached) $ac_c" 1>&6
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halleyelse
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence cat > conftest.$ac_ext <<EOF
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence#line 2610 "configure"
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence#include "confdefs.h"
8671e8306b3f18abf0e19c2fb9d49205962e7ab7David Lawrence/* System header to define __stub macros and hopefully few prototypes,
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence which can conflict with char inet_ntop(); below. */
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence#include <assert.h>
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence/* Override any gcc2 internal prototype to avoid an error. */
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews/* We use char because int might match the return type of a gcc2
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson builtin and then its argument prototype would still apply. */
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewschar inet_ntop();
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsint main() {
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews/* The GNU C library defines this for functions which it implements
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews to always fail with ENOSYS. Some functions are actually named
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews something starting with __ and the normal name is an alias. */
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewschoke me
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson#else
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsinet_ntop();
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews#endif
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer; return 0; }
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael SawyerEOF
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerif { (eval echo configure:2633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer rm -rf conftest*
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews eval "ac_cv_func_inet_ntop=yes"
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewselse
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews echo "configure: failed program was:" >&5
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews cat conftest.$ac_ext >&5
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews rm -rf conftest*
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews eval "ac_cv_func_inet_ntop=no"
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsfi
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsrm -f conftest*
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsfi
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsif eval "test \"`echo '$ac_cv_func_'inet_ntop`\" = yes"; then
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer echo "$ac_t""yes" 1>&6
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews ISC_NET_NEEDNTOP="#undef ISC_NET_NEEDNTOP"
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerelse
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews echo "$ac_t""no" 1>&6
40f24178432de09181bc603cc90110546a0ddca2Mark AndrewsISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_ntop.$O"
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_ntop.c"
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews ISC_NET_NEEDNTOP="#define ISC_NET_NEEDNTOP 1"
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsfi
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerecho $ac_n "checking for inet_pton""... $ac_c" 1>&6
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsecho "configure:2657: checking for inet_pton" >&5
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsif eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews echo $ac_n "(cached) $ac_c" 1>&6
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewselse
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews cat > conftest.$ac_ext <<EOF
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews#line 2662 "configure"
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews#include "confdefs.h"
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews which can conflict with char inet_pton(); below. */
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews#include <assert.h>
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews/* We use char because int might match the return type of a gcc2
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews builtin and then its argument prototype would still apply. */
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewschar inet_pton();
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsint main() {
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews/* The GNU C library defines this for functions which it implements
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews to always fail with ENOSYS. Some functions are actually named
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews something starting with __ and the normal name is an alias. */
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrewschoke me
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews#else
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsinet_pton();
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer#endif
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews; return 0; }
40f24178432de09181bc603cc90110546a0ddca2Mark AndrewsEOF
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsif { (eval echo configure:2685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews rm -rf conftest*
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews eval "ac_cv_func_inet_pton=yes"
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewselse
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews echo "configure: failed program was:" >&5
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews cat conftest.$ac_ext >&5
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews rm -rf conftest*
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews eval "ac_cv_func_inet_pton=no"
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsfi
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsrm -f conftest*
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrewsfi
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrewsif eval "test \"`echo '$ac_cv_func_'inet_pton`\" = yes"; then
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer echo "$ac_t""yes" 1>&6
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews ISC_NET_NEEDPTON="#undef ISC_NET_NEEDPTON"
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrewselse
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews echo "$ac_t""no" 1>&6
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark AndrewsISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_pton.$O"
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_pton.c"
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews ISC_NET_NEEDPTON="#define ISC_NET_NEEDPTON 1"
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrewsfi
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrewsecho $ac_n "checking for inet_aton""... $ac_c" 1>&6
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrewsecho "configure:2709: checking for inet_aton" >&5
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrewsif eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews echo $ac_n "(cached) $ac_c" 1>&6
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrewselse
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews cat > conftest.$ac_ext <<EOF
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews#line 2714 "configure"
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews#include "confdefs.h"
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews which can conflict with char inet_aton(); below. */
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews#include <assert.h>
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews/* We use char because int might match the return type of a gcc2
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews builtin and then its argument prototype would still apply. */
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerchar inet_aton();
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerint main() {
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews
afb4ad8f988591bccae0ee2ac73b2fef5d969366Mark Andrews/* The GNU C library defines this for functions which it implements
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews to always fail with ENOSYS. Some functions are actually named
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews something starting with __ and the normal name is an alias. */
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrewschoke me
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews#else
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerinet_aton();
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews#endif
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews; return 0; }
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark AndrewsEOF
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrewsif { (eval echo configure:2737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews rm -rf conftest*
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews eval "ac_cv_func_inet_aton=yes"
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrewselse
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews echo "configure: failed program was:" >&5
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews cat conftest.$ac_ext >&5
0e7e4562fd8222047b8ccf3a508d95df4f81bc47Mark Andrews rm -rf conftest*
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews eval "ac_cv_func_inet_aton=no"
40f24178432de09181bc603cc90110546a0ddca2Mark Andrewsfi
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrewsrm -f conftest*
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerfi
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerif eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews echo "$ac_t""yes" 1>&6
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews ISC_NET_NEEDATON="#undef ISC_NET_NEEDATON"
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrewselse
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews echo "$ac_t""no" 1>&6
23693a38979a5f30334176bd3ddd1c42004f55b2Mark AndrewsISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_aton.$O"
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_aton.c"
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews ISC_NET_NEEDATON="#define ISC_NET_NEEDATON 1"
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrewsfi
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrewsecho $ac_n "checking for vsnprintf""... $ac_c" 1>&6
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrewsecho "configure:2761: checking for vsnprintf" >&5
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrewsif eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews echo $ac_n "(cached) $ac_c" 1>&6
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrewselse
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews cat > conftest.$ac_ext <<EOF
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews#line 2766 "configure"
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews#include "confdefs.h"
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews which can conflict with char vsnprintf(); below. */
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews#include <assert.h>
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer/* We use char because int might match the return type of a gcc2
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews builtin and then its argument prototype would still apply. */
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerchar vsnprintf();
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrews
23693a38979a5f30334176bd3ddd1c42004f55b2Mark Andrewsint main() {
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews
cdc65374952183e7e738ed7d35cd1c2291c43e03Mark Andrews/* The GNU C library defines this for functions which it implements
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews to always fail with ENOSYS. Some functions are actually named
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews something starting with __ and the normal name is an alias. */
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrewschoke me
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer#else
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrewsvsnprintf();
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews#endif
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews; return 0; }
700f1442882eda0cce05a51e8c6f820c51054e8eMark AndrewsEOF
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrewsif { (eval echo configure:2789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews rm -rf conftest*
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews eval "ac_cv_func_vsnprintf=yes"
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrewselse
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews echo "configure: failed program was:" >&5
700f1442882eda0cce05a51e8c6f820c51054e8eMark Andrews cat conftest.$ac_ext >&5
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews rm -rf conftest*
40f24178432de09181bc603cc90110546a0ddca2Mark Andrews eval "ac_cv_func_vsnprintf=no"
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrewsfi
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerrm -f conftest*
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrewsfi
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrewsif eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews echo "$ac_t""yes" 1>&6
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews ISC_NEED_VSNPRINTF="#undef ISC_NEED_VSNPRINTF"
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrewselse
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews echo "$ac_t""no" 1>&6
6182613ef54ebb8369d951ffa4431c49b75cec51Mark AndrewsISC_EXTRA_OBJS="$ISC_EXTRA_OBJS vsnprintf.$O"
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS vsnprintf.c"
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer ISC_NEEDVSNPRINTF="#define ISC_NEED_VSNPRINTF 1"
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrewsfi
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark AndrewsBIND9_TOP_BUILDDIR=`pwd`
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
6182613ef54ebb8369d951ffa4431c49b75cec51Mark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark AndrewsBIND9_MAKE_RULES=$BIND9_TOP_BUILDDIR/make/rules
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark AndrewsBIND9_VERSION=$srcdir/version
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael SawyerLIBISC_API=$srcdir/lib/isc/api
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark AndrewsLIBDNS_API=$srcdir/lib/dns/api
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewstrap '' 1 2 15
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewscat > confcache <<\EOF
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# This file is a shell script that caches the results of configure
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# tests run on this system so they can be shared between configure
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# scripts and configure runs. It is not useful on other systems.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# If it contains results you don't want to keep, you may remove or edit it.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews#
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# By default, configure uses ./config.cache as the cache file,
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# creating it if it does not exist already. You can give configure
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# the --cache-file=FILE option to use a different cache file; that is
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# what configure does when it calls configure scripts in
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# subdirectories, so they share the cache.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# Giving --cache-file=/dev/null disables caching, for debugging configure.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# config.status only pays attention to the cache file if you give it the
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# --recheck option to rerun configure.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews#
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark AndrewsEOF
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# The following way of writing the cache mishandles newlines in values,
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer# but we know of no workaround that is simple, portable, and efficient.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# So, don't put newlines in cache variables' values.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# Ultrix sh set writes to stderr and can't be redirected directly,
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# and sets the high bit in the cache file unless we assign to the vars.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews(set) 2>&1 |
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews case `(ac_space=' '; set | grep ac_space) 2>&1` in
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews *ac_space=\ *)
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews # `set' does not quote correctly, so add quotes (double-quote substitution
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews # turns \\\\ into \\, and sed turns \\ into \).
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews sed -n \
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews -e "s/'/'\\\\''/g" \
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews ;;
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews *)
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews # `set' quotes correctly as required by POSIX, so do not add quotes.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews ;;
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews esac >> confcache
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsif cmp -s $cache_file confcache; then
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews :
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewselse
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer if test -w $cache_file; then
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews echo "updating cache $cache_file"
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews cat confcache > $cache_file
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews else
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews echo "not updating unwritable cache $cache_file"
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer fi
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsfi
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsrm -f confcache
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewstrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewstest "x$prefix" = xNONE && prefix=$ac_default_prefix
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# Let make expand exec_prefix.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewstest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# Any assignment to VPATH causes Sun make to only execute
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# the first set of double-colon rules, so remove it if not needed.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# If there is a colon in the path, we need to keep it.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsif test "x$srcdir" = x.; then
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsfi
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewstrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark AndrewsDEFS=-DHAVE_CONFIG_H
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# Without the "./", some shells look in PATH for config.status.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews: ${CONFIG_STATUS=./config.status}
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsecho creating $CONFIG_STATUS
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsrm -f $CONFIG_STATUS
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewscat > $CONFIG_STATUS <<EOF
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews#! /bin/sh
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# Generated automatically by configure.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# Run this file to recreate the current configuration.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# This directory was configured as follows,
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews#
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# $0 $ac_configure_args
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews#
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# Compiler output produced by configure, useful for debugging
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews# configure, is in ./config.log if it exists.
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsfor ac_option
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsdo
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews case "\$ac_option" in
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews echo "$CONFIG_STATUS generated by autoconf version 2.13"
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews exit 0 ;;
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews -help | --help | --hel | --he | --h)
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer echo "\$ac_cs_usage"; exit 0 ;;
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews *) echo "\$ac_cs_usage"; exit 1 ;;
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews esac
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsdone
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsac_given_srcdir=$srcdir
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewsac_given_INSTALL="$INSTALL"
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrewstrap 'rm -fr `echo "make/rules
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews make/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews make/mkdep
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/include/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/include/isc/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/unix/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/unix/include/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/unix/include/isc/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/unix/include/isc/net.h
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/nls/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/pthreads/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/isc/pthreads/include/Makefile
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer lib/isc/pthreads/include/isc/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/include/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/include/dns/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/sec/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/sec/openssl/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/sec/openssl/include/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/sec/openssl/include/openssl/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/sec/dnssafe/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/sec/dst/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/sec/dst/include/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/sec/dst/include/dst/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/dns/config/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/tests/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews lib/tests/include/Makefile
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer lib/tests/include/tests/Makefile
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer bin/Makefile
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer bin/named/Makefile
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer bin/tests/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews bin/tests/names/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews bin/tests/master/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews bin/tests/rbt/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews bin/tests/db/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews bin/tests/tasks/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews bin/tests/timers/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews bin/tests/dst/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews bin/tests/mem/Makefile
c7620c99f1139b77f14678e21a44f7c8c4236a7bMark Andrews config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
90839d60d218503da04c4a0bfe57a81c33aa2241David LawrenceEOF
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencecat >> $CONFIG_STATUS <<EOF
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson# Protect against being on the right side of a sed subst in config.status.
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyersed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer$ac_vpsub
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson$extrasub
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@SHELL@%$SHELL%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@CFLAGS@%$CFLAGS%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@CPPFLAGS@%$CPPFLAGS%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@CXXFLAGS@%$CXXFLAGS%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@FFLAGS@%$FFLAGS%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@DEFS@%$DEFS%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@LDFLAGS@%$LDFLAGS%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@LIBS@%$LIBS%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@exec_prefix@%$exec_prefix%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@prefix@%$prefix%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@program_transform_name@%$program_transform_name%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@bindir@%$bindir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@sbindir@%$sbindir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@libexecdir@%$libexecdir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@datadir@%$datadir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@sysconfdir@%$sysconfdir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@sharedstatedir@%$sharedstatedir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@localstatedir@%$localstatedir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@libdir@%$libdir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@includedir@%$includedir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@oldincludedir@%$oldincludedir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@infodir@%$infodir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@mandir@%$mandir%g
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssons%@host@%$host%g
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrences%@host_alias@%$host_alias%g
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrences%@host_cpu@%$host_cpu%g
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrences%@host_vendor@%$host_vendor%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@host_os@%$host_os%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@SET_MAKE@%$SET_MAKE%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@RANLIB@%$RANLIB%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@INSTALL_DATA@%$INSTALL_DATA%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@STD_CINCLUDES@%$STD_CINCLUDES%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@STD_CDEFINES@%$STD_CDEFINES%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@STD_CWARNINGS@%$STD_CWARNINGS%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@CC@%$CC%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@YACC@%$YACC%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@CPP@%$CPP%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@MKDEPCC@%$MKDEPCC%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@MKDEPCFLAGS@%$MKDEPCFLAGS%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@MKDEPPROG@%$MKDEPPROG%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_NET_HAVESALEN@%$ISC_NET_HAVESALEN%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_NET_MSGHDRFLAVOR@%$ISC_NET_MSGHDRFLAVOR%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@build@%$build%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@build_alias@%$build_alias%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@build_cpu@%$build_cpu%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@build_vendor@%$build_vendor%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@build_os@%$build_os%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@LD@%$LD%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@NM@%$NM%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@LN_S@%$LN_S%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@LIBTOOL@%$LIBTOOL%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@O@%$O%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@A@%$A%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_NET_HAVEIPV6@%$ISC_NET_HAVEIPV6%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_IPV6_H@%$ISC_IPV6_H%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_IPV6_O@%$ISC_IPV6_O%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_ISCIPV6_O@%$ISC_ISCIPV6_O%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_IPV6_C@%$ISC_IPV6_C%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_NET_NEEDNTOP@%$ISC_NET_NEEDNTOP%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_NET_NEEDPTON@%$ISC_NET_NEEDPTON%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_NET_NEEDATON@%$ISC_NET_NEEDATON%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_NEED_VSNPRINTF@%$ISC_NEED_VSNPRINTF%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@ISC_EXTRA_SRCS@%$ISC_EXTRA_SRCS%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@BIND9_TOP_BUILDDIR@%$BIND9_TOP_BUILDDIR%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/@BIND9_MAKE_RULES@/r $BIND9_MAKE_RULES
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@BIND9_MAKE_RULES@%%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/@BIND9_VERSION@/r $BIND9_VERSION
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@BIND9_VERSION@%%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/@LIBISC_API@/r $LIBISC_API
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@LIBISC_API@%%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/@LIBDNS_API@/r $LIBDNS_API
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@LIBDNS_API@%%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyCEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> $CONFIG_STATUS <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Split the substitutions into bite-sized pieces for seds with
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# small command number limits, like on Digital OSF/1 and HP-UX.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_file=1 # Number of current file.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_beg=1 # First line for current file.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_end=$ac_max_sed_cmds # Line after last line for current file.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_more_lines=:
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_sed_cmds=""
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleywhile $ac_more_lines; do
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test $ac_beg -gt 1; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley else
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley sed "${ac_end}q" conftest.subs > conftest.s$ac_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test ! -s conftest.s$ac_file; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_more_lines=false
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -f conftest.s$ac_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley else
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test -z "$ac_sed_cmds"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_sed_cmds="sed -f conftest.s$ac_file"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley else
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_file=`expr $ac_file + 1`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_beg=$ac_end
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_end=`expr $ac_end + $ac_max_sed_cmds`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerdone
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif test -z "$ac_sed_cmds"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_sed_cmds=cat
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> $CONFIG_STATUS <<EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyCONFIG_FILES=\${CONFIG_FILES-"make/rules
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley make/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley make/mkdep
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/include/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/include/isc/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/unix/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/unix/include/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/unix/include/isc/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/unix/include/isc/net.h
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/nls/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/pthreads/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/pthreads/include/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/pthreads/include/isc/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/include/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/include/dns/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/sec/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/sec/openssl/Makefile
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer lib/dns/sec/openssl/include/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/sec/openssl/include/openssl/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/sec/dnssafe/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/sec/dst/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/sec/dst/include/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/sec/dst/include/dst/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/dns/config/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/tests/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/tests/include/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/tests/include/tests/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/named/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/names/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/master/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/rbt/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/db/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/tasks/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/timers/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/dst/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bin/tests/mem/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley"}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> $CONFIG_STATUS <<\EOF
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyerfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley case "$ac_file" in
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *) ac_file_in="${ac_file}.in" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley esac
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Remove last slash and all that follows it. Not all systems have dirname.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # The file is in a subdirectory.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley test ! -d "$ac_dir" && mkdir "$ac_dir"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # A "../" for each directory in $ac_dir_suffix.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley else
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_dir_suffix= ac_dots=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley case "$ac_given_srcdir" in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley .) srcdir=.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test -z "$ac_dots"; then top_srcdir=.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *) # Relative path.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley top_srcdir="$ac_dots$ac_given_srcdir" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley esac
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley case "$ac_given_INSTALL" in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley [/$]*) INSTALL="$ac_given_INSTALL" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley esac
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo creating "$ac_file"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -f "$ac_file"
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley case "$ac_file" in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *Makefile*) ac_comsub="1i\\
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# $configure_input" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *) ac_comsub= ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley esac
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley sed -e "$ac_comsub
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@configure_input@%$configure_input%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@srcdir@%$srcdir%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@top_srcdir@%$top_srcdir%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%@INSTALL@%$INSTALL%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi; done
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest.s*
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# NAME is the cpp macro being defined and VALUE is the value it is being given.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# ac_d sets the value in "#define NAME VALUE" lines.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_dC='\3'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_dD='%g'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_uB='\([ ]\)%\1#\2define\3'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_uC=' '
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_uD='\4%g'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_eB='$%\1#\2define\3'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_eC=' '
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_eD='%g'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif test "${CONFIG_HEADERS+set}" != set; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> $CONFIG_STATUS <<EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley CONFIG_HEADERS="config.h"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> $CONFIG_STATUS <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfor ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley case "$ac_file" in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *) ac_file_in="${ac_file}.in" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley esac
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo creating $ac_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer rm -f conftest.frag conftest.in conftest.out
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat $ac_file_inputs > conftest.in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Transform confdefs.h into a sed script conftest.vals that substitutes
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# the proper values into config.h.in to produce config.h. And first:
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Protect against being on the right side of a sed subst in config.status.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Protect against being in an unquoted here document in config.status.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest.vals
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat > conftest.hdr <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys/[\\&%]/\\&/g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%[\\$`]%\\&%g
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%ac_d%ac_u%gp
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%ac_u%ac_e%gp
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleysed -n -f conftest.hdr confdefs.h > conftest.vals
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest.hdr
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# This sed command replaces #undef with comments. This is necessary, for
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# example, in the case of _POSIX_SOURCE, which is predefined and required
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# on some systems where configure will not decide to define it.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> conftest.vals <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleys%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Break up conftest.vals because some shells have a limit on
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# the size of here documents, and old seds have small limits too.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest.tail
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleywhile :
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleydo
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_lines=`grep -c . conftest.vals`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # grep -c gives empty output for an empty file on some AIX systems.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Write a limited-size here document to conftest.frag.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo 'CEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley sed -f conftest.frag conftest.in > conftest.out
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -f conftest.in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley mv conftest.out conftest.in
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer' >> $CONFIG_STATUS
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -f conftest.vals
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley mv conftest.tail conftest.vals
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleydone
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest.vals
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> $CONFIG_STATUS <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -f conftest.frag conftest.h
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat conftest.in >> conftest.h
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -f conftest.in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if cmp -s $ac_file conftest.h 2>/dev/null; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "$ac_file is unchanged"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -f conftest.h
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley else
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Remove last slash and all that follows it. Not all systems have dirname.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # The file is in a subdirectory.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley test ! -d "$ac_dir" && mkdir "$ac_dir"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael Sawyer rm -f $ac_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley mv conftest.h $ac_file
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi; done
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael SawyerEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> $CONFIG_STATUS <<EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleycat >> $CONFIG_STATUS <<\EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyexit 0
e86e6bc1920b1ea9e858c4f5b50a9f648184e7ccMichael SawyerEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleychmod +x $CONFIG_STATUS
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -fr confdefs* $ac_clean_files
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleytest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley