You have some good ideas. I have gone overboard on all counts for my
own package. The configure script prints a detailed summary at the
end and the main program is able to spit out ALL of its configuration
information (maybe too much!):
% gm -version
GraphicsMagick 1.2 unreleased Q16 http://www.GraphicsMagick.org/
Copyright (C) 2002-2008 GraphicsMagick Group.
Additional copyrights and licenses apply to this software.
See http://www.GraphicsMagick.org/www/Copyright.html for details.
Feature Support:
Thread Safe yes
Large Files (> 32 bit) yes
Large Memory (> 32 bit) no
BZIP yes
DPS yes
FlashPix no
FreeType yes
Ghostscript (Library) no
JBIG yes
JPEG-2000 yes
JPEG yes
Little CMS yes
Loadable Modules no
PNG yes
TIFF yes
TRIO no
UMEM yes
WMF yes
X11 yes
XML yes
ZLIB yes
Host type: i386-pc-solaris2.10
Configured using the command:
/home/bfriesen/src/graphics/GraphicsMagick-head/configure 'CFLAGS=-pipe -march=opteron -O2 -g -Wall -Winline -W -Wformat-security -Wpointer-arith -Wdisabled-optimization' 'CXXFLAGS=-pipe -march=opteron -O -g -Wall -Winline -W -Wextra' 'LDFLAGS=-L/usr/local/lib -R/usr/local/lib' '--enable-maintainer-mode' '--with-quantum-depth=16' '--with-umem' '--disable-shared' '--enable-static' '--with-windows-font-dir=/usr/local/lib/X11/fonts'
Final Build Parameters:
CC = gcc-4.2.1 -std=gnu99
CFLAGS = -pipe -march=opteron -O2 -g -Wall -Winline -W -Wformat-security -Wpointer-arith -Wdisabled-optimization -Wall -D_REENTRANT -pthreads
CPPFLAGS = -I/usr/local/include/freetype2 -I/usr/openwin/include -I/usr/openwin/include/X11 -I/usr/include/libxml2
CXX = c++-4.2.1
CXXFLAGS = -pipe -march=opteron -O -g -Wall -Winline -W -Wextra -D_REENTRANT -pthreads
LDFLAGS = -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/lib -L/usr/lib
LIBS = -ljbig -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lwmflite -ldpstk -ldps -lXext -lSM -lICE -lX11 -lsocket -lnsl -lbz2 -lxml2 -lz -lm -lumem -lpthread
======================================
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf