/[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 152 Revision 193
1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2AC_INIT 2AC_INIT
3AC_CONFIG_SRCDIR([lib/psiconv]) 3AC_CONFIG_SRCDIR([lib/psiconv])
4AM_INIT_AUTOMAKE(psiconv,0.8.4) 4AM_INIT_AUTOMAKE(psiconv,0.9.0)
5 5
6AM_CONFIG_HEADER(config.h) 6AM_CONFIG_HEADER(config.h)
7 7
8dnl Checks for programs. 8dnl Checks for programs.
9AM_PROG_LIBTOOL 9AM_PROG_LIBTOOL
187AC_SUBST(INT_32_BIT) 187AC_SUBST(INT_32_BIT)
188 188
189dnl Checks for library functions. 189dnl Checks for library functions.
190AC_FUNC_VPRINTF 190AC_FUNC_VPRINTF
191AC_REPLACE_FUNCS(strdup) 191AC_REPLACE_FUNCS(strdup)
192AC_CHECK_FUNCS(getopt_long,,AC_LIBOBJ([getopt]);AC_LIBOBJ([getopt1])) 192AC_CHECK_FUNC(getopt_long,getopt=yes,getopt=no)
193if test $getopt = no; then
194 AC_LIBOBJ([getopt])
195 AC_LIBOBJ([getopt1])
196fi
193 197
194AC_ARG_ENABLE(dmalloc, 198AC_ARG_ENABLE(dmalloc,
195[ --enable-dmalloc Enable dmalloc for developers (default:off)], 199[ --enable-dmalloc Enable dmalloc for developers (default:off)],
196[case "${enableval}" in 200[case "${enableval}" in
197 yes) dmalloc=yes ;; 201 yes) dmalloc=yes ;;
211 LIB_DMALLOC= 215 LIB_DMALLOC=
212fi 216fi
213AC_SUBST(LIB_DMALLOC) 217AC_SUBST(LIB_DMALLOC)
214 218
215dnl With and without functions 219dnl With and without functions
216AC_ARG_ENABLE(html-docs, 220AC_ARG_ENABLE(xhtml-docs,
217[ --disable-html-docs Disable generation of HTML 3.2 docs (default: on)], 221[ --disable-xhtml-docs Disable generation of XHTML docs (default: on)],
218[case "${enableval}" in 222[case "${enableval}" in
219 yes) htmldocs=true ;; 223 yes) xhtmldocs=true ;;
220 no) htmldocs=false ;; 224 no) xhtmldocs=false ;;
221 *) AC_MSG_ERROR(bad value ${enableval} for --enable-html-docs) ;; 225 *) AC_MSG_ERROR(bad value ${enableval} for --enable-xhtml-docs) ;;
222esac],[htmldocs=true]) 226esac],[xhtmldocs=true])
223AM_CONDITIONAL(HTMLDOCS,test x$htmldocs = xtrue) 227AM_CONDITIONAL(XHTMLDOCS,test x$xhtmldocs = xtrue)
224 228
225AC_ARG_ENABLE(html4-docs, 229AC_ARG_ENABLE(html4-docs,
226[ --enable-html4-docs Enable generation of HTML 4 docs (default: off)], 230[ --enable-html4-docs Enable generation of HTML 4 docs (default: off)],
227[case "${enableval}" in 231[case "${enableval}" in
228 yes) html4docs=true ;; 232 yes) html4docs=true ;;
238 no) asciidocs=false ;; 242 no) asciidocs=false ;;
239 *) AC_MSG_ERROR(bad value ${enableval} for --enable-ascii-docs) ;; 243 *) AC_MSG_ERROR(bad value ${enableval} for --enable-ascii-docs) ;;
240esac],[asciidocs=false]) 244esac],[asciidocs=false])
241AM_CONDITIONAL(ASCIIDOCS,test x$asciidocs = xtrue) 245AM_CONDITIONAL(ASCIIDOCS,test x$asciidocs = xtrue)
242 246
243AC_ARG_ENABLE(rtf-docs,
244[ --enable-rtf-docs Enable generation of RTF docs (default: off)],
245[case "${enableval}" in
246 yes) rtfdocs=true ;;
247 no) rtfdocs=false ;;
248 *) AC_MSG_ERROR(bad value ${enableval} for --enable-rtf-docs) ;;
249esac],[rtfdocs=false])
250AM_CONDITIONAL(RTFDOCS,test x$rtfdocs = xtrue)
251
252
253AC_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]) 247AC_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])
254AC_OUTPUT 248AC_OUTPUT

Legend:
Removed from v.152  
changed lines
  Added in v.193

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