/[public]/psiconv/trunk/configure.in
ViewVC logotype

Diff of /psiconv/trunk/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 75 Revision 116
1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(lib/psiconv) 2AC_INIT
3AC_CONFIG_SRCDIR([lib/psiconv])
3AM_INIT_AUTOMAKE(psiconv,0.7.1) 4AM_INIT_AUTOMAKE(psiconv,0.8.1)
4 5
5AM_CONFIG_HEADER(config.h) 6AM_CONFIG_HEADER(config.h)
6 7
7dnl Checks for programs. 8dnl Checks for programs.
8AM_PROG_LIBTOOL 9AM_PROG_LIBTOOL
98 fi 99 fi
99 fi 100 fi
100fi 101fi
101if test x"$IMAGEMAGICK" = xyes ; then 102if test x"$IMAGEMAGICK" = xyes ; then
102 LIB_MAGICK="`Magick-config --libs` `Magick-config --ldflags`" 103 LIB_MAGICK="`Magick-config --libs` `Magick-config --ldflags`"
103 AC_DEFINE(IMAGEMAGICK) 104 AC_DEFINE(IMAGEMAGICK,1,[ImageMagick availability])
104else 105else
105 LIB_MAGICK= 106 LIB_MAGICK=
106fi 107fi
107AC_SUBST(LIB_MAGICK) 108AC_SUBST(LIB_MAGICK)
108 109
178AC_SUBST(INT_32_BIT) 179AC_SUBST(INT_32_BIT)
179 180
180dnl Checks for library functions. 181dnl Checks for library functions.
181AC_FUNC_VPRINTF 182AC_FUNC_VPRINTF
182AC_REPLACE_FUNCS(strdup) 183AC_REPLACE_FUNCS(strdup)
183AC_CHECK_FUNCS(getopt_long,,LIBOBJS="$LIBOBJS getopt.o getopt1.o") 184AC_CHECK_FUNCS(getopt_long,,LIBOBJS="$LIBOBJS getopt.lo getopt1.lo")
184 185
185 186
186dnl With and without functions 187dnl With and without functions
187AC_ARG_ENABLE(html-docs, 188AC_ARG_ENABLE(html-docs,
188[ --disable-html-docs Disable generation of HTML 3.2 docs (default: on)], 189[ --disable-html-docs Disable generation of HTML 3.2 docs (default: on)],
219 *) AC_MSG_ERROR(bad value ${enableval} for --enable-rtf-docs) ;; 220 *) AC_MSG_ERROR(bad value ${enableval} for --enable-rtf-docs) ;;
220esac],[rtfdocs=false]) 221esac],[rtfdocs=false])
221AM_CONDITIONAL(RTFDOCS,test x$rtfdocs = xtrue) 222AM_CONDITIONAL(RTFDOCS,test x$rtfdocs = xtrue)
222 223
223 224
224AC_OUTPUT([Makefile compat/Makefile lib/Makefile lib/psiconv/Makefile program/Makefile program/psiconv/Makefile lib/psiconv/general.h formats/Makefile docs/Makefile extra/Makefile]) 225AC_CONFIG_FILES([Makefile compat/Makefile lib/Makefile lib/psiconv/Makefile program/Makefile program/psiconv/Makefile lib/psiconv/general.h formats/Makefile docs/Makefile extra/Makefile])
226AC_OUTPUT

Legend:
Removed from v.75  
changed lines
  Added in v.116

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26