comparison configure.in @ 5197:e77e4457d95c HEAD

Added --with-headers configure option to install .h files.
author Timo Sirainen <tss@iki.fi>
date Thu, 22 Feb 2007 23:50:46 +0200
parents 04bdc7c83854
children 8920e744dac4
comparison
equal deleted inserted replaced
5196:f1b735b905f3 5197:e77e4457d95c
354 else 354 else
355 want_docs=yes 355 want_docs=yes
356 fi, 356 fi,
357 want_docs=yes) 357 want_docs=yes)
358 AM_CONDITIONAL(BUILD_DOCS, test "$want_docs" = "yes") 358 AM_CONDITIONAL(BUILD_DOCS, test "$want_docs" = "yes")
359
360 AC_ARG_WITH(headers,
361 [ --with-headers Install development headers],
362 if test x$withval = xno; then
363 want_headers=no
364 else
365 want_headers=yes
366 fi,
367 want_headers=no)
368 AM_CONDITIONAL(INSTALL_HEADERS, test "$want_headers" = "yes")
359 369
360 dnl * gcc specific options 370 dnl * gcc specific options
361 if test "x$ac_cv_c_compiler_gnu" = "xyes"; then 371 if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
362 # -Wcast-qual -Wcast-align -Wconversion -Wunreachable-code # too many warnings 372 # -Wcast-qual -Wcast-align -Wconversion -Wunreachable-code # too many warnings
363 # -Wstrict-prototypes -Wredundant-decls # may give warnings in some systems 373 # -Wstrict-prototypes -Wredundant-decls # may give warnings in some systems