comparison configure.in @ 179:9ad43877534d r20-3b16

Import from CVS: tag r20-3b16
author cvs
date Mon, 13 Aug 2007 09:52:19 +0200
parents 6075d714658b
children bfd6434d15b3
comparison
equal deleted inserted replaced
178:e703507b8a00 179:9ad43877534d
416 --with-x (*) Support the X Window System. 416 --with-x (*) Support the X Window System.
417 --with-x=no Don't support X. 417 --with-x=no Don't support X.
418 --x-includes=DIR Search for X header files in DIR. 418 --x-includes=DIR Search for X header files in DIR.
419 --x-libraries=DIR Search for X libraries in DIR. 419 --x-libraries=DIR Search for X libraries in DIR.
420 --with-toolbars=no Don't compile with any toolbar support. 420 --with-toolbars=no Don't compile with any toolbar support.
421 --with-wm Compile with realized leader window for proper 421 --with-session=no Compile without realized leader window which will
422 creation of the ApplicationIcon with the 422 keep the WM_COMMAND property. Required for proper
423 WindowMaker windowmanager (SESSION MANAGEMENT). 423 session-management. (ON by default for testing)
424 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid 424 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
425 widgets emulate Motif (mostly) but are faster. 425 widgets emulate Motif (mostly) but are faster.
426 *WARNING* The Motif menubar is currently broken. 426 *WARNING* The Motif menubar is currently broken.
427 --with-scrollbars=TYPE Use TYPE scrollbars 427 --with-scrollbars=TYPE Use TYPE scrollbars
428 (lucid, motif, athena, athena3d, or no). 428 (lucid, motif, athena, athena3d, or no).
660 with_xpm | \ 660 with_xpm | \
661 with_xface | \ 661 with_xface | \
662 with_jpeg | \ 662 with_jpeg | \
663 with_png | \ 663 with_png | \
664 with_tiff | \ 664 with_tiff | \
665 with_wm | \ 665 with_session | \
666 with_xmu | \ 666 with_xmu | \
667 with_quantify | \ 667 with_quantify | \
668 with_toolbars | \ 668 with_toolbars | \
669 with_tty | \ 669 with_tty | \
670 with_i18n3 | \ 670 with_i18n3 | \
2383 2383
2384 if test "$window_system" = "none" ; then 2384 if test "$window_system" = "none" ; then
2385 if test "$with_tty" = "no" ; then 2385 if test "$with_tty" = "no" ; then
2386 AC_MSG_ERROR([No window system support and no TTY support - Unable to proceed.]) 2386 AC_MSG_ERROR([No window system support and no TTY support - Unable to proceed.])
2387 fi 2387 fi
2388 for feature in tooltalk cde offix wm \ 2388 for feature in tooltalk cde offix session \
2389 menubars scrollbars toolbars dialogs xim xmu \ 2389 menubars scrollbars toolbars dialogs xim xmu \
2390 tiff png jpeg gif compface xpm 2390 tiff png jpeg gif xface xpm
2391 do 2391 do
2392 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then 2392 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then
2393 AC_MSG_WARN([--with-$feature ignored: Not valid without X support]) 2393 AC_MSG_WARN([--with-$feature ignored: Not valid without X support])
2394 fi 2394 fi
2395 eval "with_${feature}=no" 2395 eval "with_${feature}=no"
2409 case "$x_libraries" in *X11R4* ) 2409 case "$x_libraries" in *X11R4* )
2410 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 2410 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
2411 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 2411 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
2412 esac 2412 esac
2413 2413
2414 dnl Check for WindowMaker 2414 dnl Enable or disable proper session-management
2415 AC_CHECKING(for WindowMaker option); 2415 AC_CHECKING(for session-management option);
2416 if test "$with_wm" = "yes"; then 2416 if test "$with_session" != "no"; then
2417 AC_DEFINE(HAVE_WINDOWMAKER) 2417 AC_DEFINE(HAVE_SESSION)
2418 fi 2418 fi
2419 2419
2420 dnl Autodetect Xauth 2420 dnl Autodetect Xauth
2421 dnl -lXau is only used by gnuclient, so use a special variable for Xauth X libs 2421 dnl -lXau is only used by gnuclient, so use a special variable for Xauth X libs
2422 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 2422 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
3502 test "$with_cde" = yes && echo " Compiling in support for CDE." 3502 test "$with_cde" = yes && echo " Compiling in support for CDE."
3503 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." 3503 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk."
3504 test "$with_offix" = yes && echo " Compiling in support for OffiX." 3504 test "$with_offix" = yes && echo " Compiling in support for OffiX."
3505 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." 3505 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop."
3506 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." 3506 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)."
3507 test "$with_wm" = yes && echo " Compiling in support for WindowMaker." 3507 test "$with_session" != no && echo " Compiling in support for proper session-management."
3508 case "$with_menubars" in 3508 case "$with_menubars" in
3509 lucid ) echo " Using Lucid menubars." ;; 3509 lucid ) echo " Using Lucid menubars." ;;
3510 motif ) echo " Using Motif menubars." 3510 motif ) echo " Using Motif menubars."
3511 echo " *WARNING* The Motif menubar implementation is currently buggy." 3511 echo " *WARNING* The Motif menubar implementation is currently buggy."
3512 echo " We recommend using the Lucid menubar instead." 3512 echo " We recommend using the Lucid menubar instead."