libs-gui/configure.in
netcrep da3b8c61cc Move and install resources to more appropriate place.
Minor fixes.
Incorporate Adam Fedor's NSImage patches.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2070 72102866-910b-0410-8b05-ffd578937521
1997-01-31 13:40:15 +00:00

95 lines
3.3 KiB
Text

AC_INIT(Source/NSApplication.m)
# configure.in for GNUstep GUI Library
# Process this file with autoconf to produce a configure script.
#
# Copyright (C) 1996 Free Software Foundation, Inc.
#
# Written by: Scott Christley <scottc@net-community.com>
#
# This file is part of the GNUstep GUI Library.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#--------------------------------------------------------------------
# Find the compiler
#--------------------------------------------------------------------
AC_PROG_CC
AC_PROG_CPP
#--------------------------------------------------------------------
# Find some programs
#--------------------------------------------------------------------
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_LN_S
#--------------------------------------------------------------------
# Standard ANSI headers
#--------------------------------------------------------------------
AC_HEADER_STDC
#--------------------------------------------------------------------
# Look for the TIFF library
#--------------------------------------------------------------------
AC_CHECK_HEADERS(tiff.h, HAVE_TIFF=1, HAVE_TIFF=1)
if test "x$HAVE_TIFF" = "x0"
then
echo You must have the TIFF library installed.
echo The most recent version "(v3.4)" should be available at:
echo
echo ftp://ftp.sgi.com/graphics/tiff
echo
echo Configuration of the GNUstep GUI Library cannot continue.
exit 1
fi
AC_SUBST(HAVE_TIFF)
#--------------------------------------------------------------------
# Look for the DPSClient library
#--------------------------------------------------------------------
AC_CHECK_HEADERS(DPS/dpsclient.h, HAVE_DPSCLIENT=1, HAVE_DPSCLIENT=0)
if test "x$HAVE_DPSCLIENT" = "x0"
then
echo You must have the DPSClient library installed.
echo The most recent public release, patched for GNUstep,
echo should be available at:
echo
echo ftp://ftp.gnustep.org
echo
echo The most recent snapshot should be available at:
echo
echo ftp://ftp.net-community.com/pub/GNUstep
echo
echo Configuration of the GNUstep GUI Library cannot continue.
exit 1
fi
AC_SUBST(HAVE_DPSCLIENT)
#--------------------------------------------------------------------
# Operating system configuration
#--------------------------------------------------------------------
config_include=''
AC_SUBST(config_include)
#--------------------------------------------------------------------
# Write the Makefiles and configuration files
#--------------------------------------------------------------------
AC_OUTPUT(Makefile Source/Makefile Testing/Makefile Headers/gnustep/gui/config.h Documentation/Makefile Images/Makefile)