Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
configure.in
Package: gif2png-2.3.2.tar.gz [view]
Upload User: sorock1981
Upload Date: 2007-01-06
Package Size: 73k
Code Size: 2k
Category:
Picture Viewer
Development Platform:
Unix_Linux
- dnl Autoconfigure input file for gif2png
- dnl Eric S. Raymond <esr@thyrsus.com>
- dnl
- dnl Process this file with autoconf to produce a configure script.
- dnl
- AC_INIT(gif2png.h) dnl A distinctive file to look for in srcdir.
- AM_INIT_AUTOMAKE(gif2png, 2.3.2)
- AM_CONFIG_HEADER(config.h)
- AC_PROG_CC
- AC_PROG_INSTALL
- AC_PROG_CPP dnl Later checks need this.
- AC_PROG_CC_C_O
- AC_HEADER_STDC
- AC_ARG_PROGRAM
- AC_ARG_WITH(png,[ --with-png=DIR location of png lib/inc],
- [LDFLAGS="${LDFLAGS} -L${withval}"
- CFLAGS="${CFLAGS} -I${withval}"])
- AC_ARG_WITH(png-lib,[ --with-png-lib=DIR location of png library],
- [LDFLAGS="${LDFLAGS} -L${withval}"])
- AC_ARG_WITH(png-inc,[ --with-png-inc=DIR location of the libpng include files],
- [CFLAGS="${CFLAGS} -I${withval}"])
- ### use option --enable-TMPFILE to set TMPFILE mode
- AC_ARG_ENABLE(TMPFILE,
- [ --enable-TMPFILE compile in TMPFILE support],
- [with_TMPFILE=$enableval],
- [with_TMPFILE=no])
- test "$with_TMPFILE" = "yes" && AC_DEFINE(TMPFILE_ENABLE)
- AC_CHECK_LIB(z, deflate)
- AC_CHECK_LIB(m, pow)
- AC_CHECK_LIB(png, png_write_init, , , $LIBS)
- if test "$ac_cv_lib_png_png_write_init" = "no"
- then
- AC_ERROR([PNG library is missing! Please get it.])
- fi
- if test "$ac_cv_lib_z_deflate" = "no"
- then
- AC_ERROR([ZLIB library is missing! Please get it.])
- fi
- AC_OUTPUT(Makefile gif2png.spec)
- dnl Local Variables:
- dnl comment-start: "dnl "
- dnl comment-end: ""
- dnl comment-start-skip: "\bdnl\b\s *"
- dnl compile-command: "make configure config.h.in"
- dnl End: