Mercurial > hg > xemacs-beta
comparison configure.in @ 197:acd284d43ca1 r20-3b25
Import from CVS: tag r20-3b25
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:00:02 +0200 |
parents | f53b5ca2e663 |
children | eb5470882647 |
comparison
equal
deleted
inserted
replaced
196:58e0786448ca | 197:acd284d43ca1 |
---|---|
447 --with-jpeg (*) Compile with support for JPEG image conversion. | 447 --with-jpeg (*) Compile with support for JPEG image conversion. |
448 Requires libjpeg from the Independent JPEG Group. | 448 Requires libjpeg from the Independent JPEG Group. |
449 Get it from the XEmacs FTP site. | 449 Get it from the XEmacs FTP site. |
450 --with-png (*) Compile with support for PNG image conversion. | 450 --with-png (*) Compile with support for PNG image conversion. |
451 Requires libpng. Get it from the XEmacs FTP site. | 451 Requires libpng. Get it from the XEmacs FTP site. |
452 --with-tiff Compile with support for TIFF image conversion | 452 --with-tiff (*) Compile with support for TIFF image conversion |
453 (not yet implemented). | 453 (not yet implemented). |
454 | 454 |
455 | 455 |
456 TTY options: | 456 TTY options: |
457 | 457 |
2438 XE_SPACE(libs_xauth, $X_EXTRA_LIBS -lXau $libs_x $X_PRE_LIBS) | 2438 XE_SPACE(libs_xauth, $X_EXTRA_LIBS -lXau $libs_x $X_PRE_LIBS) |
2439 fi | 2439 fi |
2440 AC_SUBST(libs_xauth) | 2440 AC_SUBST(libs_xauth) |
2441 | 2441 |
2442 dnl Autodetect OffiX | 2442 dnl Autodetect OffiX |
2443 OFFIX_O="" | |
2443 test -z "$with_offix" && { AC_CHECK_HEADER(OffiX/DragAndDrop.h, , with_offix=no) } | 2444 test -z "$with_offix" && { AC_CHECK_HEADER(OffiX/DragAndDrop.h, , with_offix=no) } |
2444 test -z "$with_offix" && { AC_CHECK_LIB(Dnd, DndInitialize, [:] , with_offix=no) } | 2445 test -z "$with_offix" && { AC_CHECK_LIB(Dnd, DndInitialize, [:] , with_offix=no) } |
2445 test -z "$with_offix" && with_offix=yes | 2446 test -z "$with_offix" && with_offix=yes |
2446 if test "$with_offix" = "yes"; then | 2447 if test "$with_offix" = "yes"; then |
2447 AC_DEFINE(HAVE_OFFIX_DND) | 2448 AC_DEFINE(HAVE_OFFIX_DND) |
2448 XE_PREPEND(-lDnd, libs_x) | 2449 OFFIX_O="offix.o" |
2449 fi | 2450 fi |
2451 AC_SUBST(OFFIX_O) | |
2450 | 2452 |
2451 dnl Autodetect tooltalk | 2453 dnl Autodetect tooltalk |
2452 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 2454 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
2453 if test "$with_tooltalk" != "no" ; then | 2455 if test "$with_tooltalk" != "no" ; then |
2454 dnl autodetect the location of tt_c.h | 2456 dnl autodetect the location of tt_c.h |
2579 if test "$with_png" = "yes"; then | 2581 if test "$with_png" = "yes"; then |
2580 AC_DEFINE(HAVE_PNG) | 2582 AC_DEFINE(HAVE_PNG) |
2581 XE_PREPEND($png_libs, libs_x) | 2583 XE_PREPEND($png_libs, libs_x) |
2582 fi | 2584 fi |
2583 | 2585 |
2584 dnl autodetect TIFF (not yet implemented) | 2586 dnl autodetect TIFF |
2587 if test "$with_tiff" != no; then | |
2588 for extra_libs in "" "-lz" "-lgz"; do | |
2589 AC_CHECK_LIB(tiff, TIFFReadScanline, | |
2590 tiff_libs="-ltiff $extra_libs" with_tiff=yes; break, [:], $extra_libs) | |
2591 done | |
2592 fi | |
2593 test -z "$with_tiff" && with_tiff=no | |
2585 if test "$with_tiff" = "yes"; then | 2594 if test "$with_tiff" = "yes"; then |
2586 AC_DEFINE(HAVE_TIFF) | 2595 AC_DEFINE(HAVE_TIFF) |
2587 XE_PREPEND(-ltiff, libs_x) | 2596 XE_PREPEND(-ltiff, libs_x) |
2588 fi | 2597 fi |
2589 | 2598 |