Added --enable-no-gifs
authoroes <oes@users.sourceforge.net>
Fri, 8 Mar 2002 16:46:13 +0000 (16:46 +0000)
committeroes <oes@users.sourceforge.net>
Fri, 8 Mar 2002 16:46:13 +0000 (16:46 +0000)
configure.in

index f7a0447..d96ea7a 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl 
-dnl $Id: configure.in,v 1.37 2002/03/08 12:58:21 oes Exp $
+dnl $Id: configure.in,v 1.38 2002/03/08 14:13:50 morcego Exp $
 dnl 
 dnl Written by and Copyright (C) 2001 the SourceForge
 dnl IJBSWA team.  http://ijbswa.sourceforge.net
@@ -28,6 +28,9 @@ dnl or write to the Free Software Foundation, Inc., 59
 dnl Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 dnl 
 dnl $Log: configure.in,v $
+dnl Revision 1.38  2002/03/08 14:13:50  morcego
+dnl Fixing configure, to remove a command not found error.
+dnl
 dnl Revision 1.37  2002/03/08 12:58:21  oes
 dnl Tiny bugfix in AC_ARG_WITH(debug)
 dnl
@@ -261,7 +264,7 @@ dnl =================================================================
 dnl AutoConf Initialization
 dnl =================================================================
 
-AC_REVISION($Revision: 1.37 $)
+AC_REVISION($Revision: 1.38 $)
 AC_INIT(jcc.c)
 AC_CONFIG_HEADER(config.h)
 AC_CANONICAL_HOST
@@ -813,6 +816,14 @@ AC_ARG_ENABLE(editor,
 fi],
 AC_DEFINE(FEATURE_CGI_EDIT_ACTIONS))
 
+AC_ARG_ENABLE(no-gifs,
+[  --enable-no-gifs         Use politically correct PNG format instead of GIF
+                           for built-in images. May not work with all browsers.],
+[if test $enableval = yes; then
+  AC_DEFINE(FEATURE_NO_GIFS)
+fi])
+
+
 dnl pcre/pcrs is needed for CGI anyway, so
 dnl the choice is only between static and
 dnl dynamic: