2 dnl Window Maker autoconf input.
4 dnl Process with: aclocal; autoconf; automake
9 AC_INIT(src/WindowMaker.h)
13 AM_INIT_AUTOMAKE(WindowMaker, 0.62.0)
17 # by Marcelo Magallon <mmagallo@efis.ucr.ac.cr>
18 # Turn around -rpath problem with libtool 1.0c
19 # This define should be improbable enough to not conflict with anything
22 AC_MSG_RESULT([Fixing libtool for -rpath problems.])
23 sed < libtool > libtool-2 \
24 's/^hardcode_libdir_flag_spec.*$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/'
31 AM_CONFIG_HEADER(src/config.h)
34 dnl Checks for host/os name
35 dnl =======================
39 dnl Checks for programs.
40 dnl ===================
43 dnl AC_PROG_MAKE_SET -- already done by AM_INIT_AUTOMAKE
45 dnl AC_PROG_INSTALL -- already done by AM_INIT_AUTOMAKE
47 AC_PROG_GCC_TRADITIONAL
53 dnl move this earlier in the script... anyone know why this is handled
54 dnl in such a bizarre way?
56 test "x$prefix" = xNONE && prefix=$ac_default_prefix
57 dnl Let make expand exec_prefix.
58 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
61 _bindir=`eval echo $bindir`
62 _bindir=`eval echo $_bindir`
64 _libdir=`eval echo $libdir`
65 _libdir=`eval echo $_libdir`
66 lib_search_path="-L$_libdir"
68 inc_search_path=`eval echo $includedir`
69 inc_search_path="-I`eval echo $inc_search_path`"
73 dnl Check for RedHat bugs
74 dnl =====================
76 dnl WM_CHECK_REDCRAP_BUGS($prefix,$_bindir,$_libdir)
80 dnl Specify paths to look for libraries and headers
81 dnl ===============================================
82 AC_ARG_WITH(libs-from,
83 [ --with-libs-from pass compiler flags to look for libraries],
84 [lib_search_path="$withval $lib_search_path"])
86 AC_ARG_WITH(incs-from,
87 [ --with-incs-from pass compiler flags to look for header files],
88 [inc_search_path="$withval $inc_search_path"])
92 dnl Checks for library functions.
93 dnl ============================
98 AC_CHECK_FUNCS(gethostname select poll strerror strncasecmp setpgid atexit)
102 dnl Loading of dynamic libraries at runtime
103 dnl =======================================
106 AC_CHECK_FUNC(dlopen, [HAVEDL="yes"],
107 AC_CHECK_LIB(dl, dlopen, [DLLIBS="-ldl" HAVEDL="yes"],
110 if test "x$HAVEDL" = xyes; then
111 AC_CHECK_HEADERS(dlfcn.h)
118 if test "x$CPP_PATH" = x; then
119 AC_PATH_PROG(CPP_PATH, cpp, notfound,
120 $PATH:/lib:/usr/bin:/bin:/usr/lib:/usr/ccs/lib)
124 dnl Tell stupid Solaris cpp that the files it will process have C++ like syntax
125 dnl RedHat 5.x is broken too, so it won't make a symlink from cpp to the
126 dnl standard locations
128 if test "$CPP_PATH" = "/usr/ccs/lib/cpp" -o "$CPP_PATH" = "notfound" ; then
129 if test "$GCC" = "yes"; then
130 CPP_PATH="gcc -E -x c"
132 if test "$CPP_PATH" = "/usr/ccs/lib/cpp"; then
133 CPP_PATH="$CPP_PATH -B"
135 echo "cpp, the C preprocessor was not found in your system."
136 echo "Create a symbolic link from it to /lib/cpp and rerun configure"
141 AC_DEFINE_UNQUOTED(CPP_PATH, "$CPP_PATH")
145 dnl Checks for header files.
146 dnl =======================
150 AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h sys/types.h\
151 libintl.h sys/select.h poll.h)
155 dnl Checks for typedefs, structures, and compiler characteristics.
156 dnl ==============================================================
165 dnl Compiler/architecture specific optimizations
166 dnl ============================================
169 dnl GCC with MMX support
170 dnl --------------------
172 if test "$ac_cv_prog_gcc" = yes; then
181 if test $x86 = 1; then
184 AC_CACHE_CHECK(whether gcc supports MMX(tm) inline asm,
186 [AC_TRY_COMPILE(,[asm ("movq %mm0, %mm1");],
187 ac_cv_c_inline_mmx=yes,
188 ac_cv_c_inline_mmx=no)])
190 if test "x$ac_cv_c_inline_mmx" = xyes; then
191 AC_DEFINE(ASM_X86_MMX)
208 AC_CHECK_FUNC(gettext, [HAVEGETTEXT="yes"],
209 AC_CHECK_LIB(intl, gettext, [INTLIBS="-lintl" HAVEGETTEXT="yes"],
212 AC_CHECK_PROG(XGETTEXT, xgettext, xgettext)
214 if test "$XGETTEXT" != ""; then
215 if $XGETTEXT --help 2>&1 | grep illegal >/dev/null ; then
216 echo "xgettext isn't GNU version"
221 if test "$LINGUAS" != ""; then
222 if test "$XGETTEXT" != "" -a "$HAVEGETTEXT" != ""; then
225 # if test "$LINGUAS" = ""; then
226 # ling=` (cd src/po; /bin/ls *.po) `
228 # lcode=`basename $l .po`
229 # LINGUAS="$LINGUAS $lcode"
232 echo "xgettext and gettext() exist; will build i18n support for $LINGUAS"
236 echo "xgettext and libintl.a don't both exist; will not build i18n support"
246 dnl The Tower of Babel
247 dnl ==================
249 dnl List of supported locales
250 dnl -------------------------
251 supported_locales="cs de es fr gl it ja ko nl no pt ru se tr fi hr el pl ro da zh_TW.Big5 zh_CN sk"
252 supported_wprefs_locales="pt hr fr ko ja cs zh_TW.Big5 es zh_CN fi it ru de"
254 for lang in $LINGUAS; do
256 for l in $supported_locales; do
257 if test "$l" = "$lang"; then
262 if test "$ok" = 1; then
263 MOFILES="$MOFILES $lang.mo"
265 echo "Locale $lang is not supported."
268 for l in $supported_wprefs_locales; do
269 if test "$l" = "$lang"; then
274 if test "$ok" = 1; then
275 WPMOFILES="$WPMOFILES $lang.mo"
280 dnl Kanji Characters support
281 dnl ========================
285 AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"]);;
292 dnl Added by Oliver - Support for NLSDIR option, Hi Oliver!
293 dnl ===========================================
295 [ --with-nlsdir=PATH specify where the locale stuff should go ])
298 if test "x$NLSDIR" = "x"; then
299 if test "x$with_nlsdir" != "x"; then
302 NLSDIR='$(prefix)/lib/locale'
316 dnl Support for various hint things
317 dnl ===============================
321 [ --enable-gnome enable stuff needed for GNOME ],
322 [if test x$enableval = xyes; then
323 AC_DEFINE(GNOME_STUFF)
329 [ --enable-kde enable support for KDE window manager (kwm) hints ],
330 [if test x$enableval = xyes; then
336 AC_ARG_ENABLE(openlook,
337 [ --enable-openlook enable support for OPEN LOOK(tm) (olwm) hints ],
338 [if test x$enableval = xyes; then
339 AC_DEFINE(OLWM_HINTS)
345 dnl Disable some stuff that are duplicated in kde
346 dnl ---------------------------------------------
348 [ --enable-lite disable some stuff (dont use it) ],
349 [if test x$enableval = xyes; then
363 AC_CHECK_FUNC(connect,,
364 AC_CHECK_LIB(socket, connect, NETLIBS="$NETLIBS -lsocket"))
366 AC_CHECK_FUNC(gethostbyname,,
367 AC_CHECK_LIB(nsl, gethostbyname, NETLIBS="$NETLIBS -lnsl"))
369 AC_CHECK_FUNC(inet_aton, AC_DEFINE(HAVE_INET_ATON),
370 for lib in resolv socket inet bsd; do
371 AC_CHECK_LIB($lib, inet_aton, [AC_DEFINE(HAVE_INET_ATON)
372 NETLIBS="$NETLIBS -l$lib"; break],, $NETLIBS)
378 dnl ===========================================
379 dnl Stuff that uses X
380 dnl ===========================================
385 AC_MSG_ERROR([The path for the X11 files not found!
386 Make sure you have X and it's headers and libraries (the -devel packages
387 in Linux) installed.])
390 X_LIBRARY_PATH=$x_libraries
396 XLIBS="-lX11 $X_EXTRA_LIBS"
399 lib_search_path="$lib_search_path $XLFLAGS"
400 inc_search_path="$inc_search_path $XCFLAGS"
403 AC_SUBST(X_LIBRARY_PATH)
407 dnl Decide which locale function to use, setlocale() or _Xsetlocale()
408 dnl by MANOME Tomonori
409 dnl ===========================================
411 AC_ARG_ENABLE(locale,
412 [ --disable-locale disable use of X locale support],
415 if test "$use_locale" = yes; then
416 AC_CHECK_LIB(X11, _Xsetlocale, AC_DEFINE(X_LOCALE),, $XLFLAGS $XLIBS)
420 dnl XKB keyboard language status
421 dnl ============================
422 AC_ARG_ENABLE(modelock,
423 [ --enable-modelock XKB keyboard language status support],
424 AC_DEFINE(XKB_MODELOCK))
432 [ --disable-shape disable shaped window extension support],
433 shape=$enableval, shape=yes)
437 if test "$shape" = yes; then
438 AC_CHECK_LIB(Xext, XShapeSelectInput, [XLIBS="-lXext $XLIBS"
440 AC_DEFINE(SHAPE)], shape=no, $XLFLAGS $XLIBS)
448 [ --disable-shm disable usage of MIT-SHM extension],
449 shm=$enableval, shm=yes)
451 if test "$shm" = yes; then
452 AC_CHECK_LIB(Xext, XShmAttach, ok=yes, ok=no, $XLFLAGS $XLIBS)
454 if test "$ok" = yes; then
455 AC_CHECK_FUNC(shmget, ok=yes, ok=no)
458 if test "$ok" = yes; then
459 if test "$added_xext" = no; then
460 XLIBS="-lXext $XLIBS"
467 dnl R6 Style Session Management Support
468 dnl ===================================
477 dnl Check for libPropList
478 dnl =====================
482 WM_CHECK_LIB(PropList, PLGetString, $X_EXTRA_LIBS)
483 if test "x$ac_cv_lib_PropList_PLGetString" = xyes; then
484 WM_CHECK_HEADER(proplist.h)
485 if test "x$ac_cv_header_proplist_h" = xyes; then
490 if test "x$LIBPL" = "x"; then
492 echo "ERROR!!! libPropList is not installed, or could not be found."
493 echo " Window Maker requires libPropList to build."
494 echo " Please read INSTALL to find where you can find libPropList,"
495 echo " and install it first."
496 if test x$host_os = xlinux; then
497 echo " If you're using some prepackaged version of libPropList,"
498 echo " make sure you install it's \"development\" package as well."
500 echo " If you already have it installed, try using the"
501 if test "x$ac_cv_lib_PropList_PLGetString" != xyes; then
502 echo " --with-libs-from flag to tell configure where the library"
503 echo " is installed and"
505 echo " --with-incs-from flag to tell configure where the header"
506 echo " files are installed"
510 WM_CHECK_PROPLIST_VERSION(0.9.5, goodlPL=yes, goodlPL=no)
512 if test "$goodlPL" = no; then
514 echo "ERROR!!! libPropList is an old version. Please consider upgrading"
515 echo " to at least version 0.9.5. Older versions have bugs that"
516 echo " may cause Window Maker to crash randomly."
517 echo " If your libPropList is older than 0.9.2 it will also prevent"
518 echo " Window Maker from compiling because new functions were"
519 echo " introduced since that version."
520 echo " Please read INSTALL to find where you can find libPropList,"
521 echo " and upgrade it before you proceed."
528 dnl ==============================================
529 dnl Graphic Format Libraries
530 dnl ==============================================
540 [ --disable-xpm disable use of XPM pixmaps through libXpm],
541 xpm=$enableval, xpm=yes)
543 if test "$xpm" = yes; then
544 WM_CHECK_LIB(Xpm, XpmCreatePixmapFromData, [$XLFLAGS $XLIBS])
546 if test "x$ac_cv_lib_Xpm_XpmCreatePixmapFromData" = xyes; then
547 WM_CHECK_HEADER(X11/xpm.h)
548 if test "x$ac_cv_header_X11_xpm_h" = xyes; then
549 GFXLIBS="$GFXLIBS -lXpm"
553 supported_gfx="builtin-XPM"
564 AC_SUBST(X_EXTRA_LIBS)
566 dnl ===============================================
567 dnl End of stuff that uses X
568 dnl ===============================================
575 [ --disable-png disable PNG support through libpng],
576 png=$enableval, png=yes, png=no)
579 if test "$png" = yes ; then
580 WM_CHECK_LIB(png, png_get_valid, [-lz -lm])
582 if test "x$ac_cv_lib_png_png_get_valid" = xyes; then
583 WM_CHECK_HEADER(png.h)
584 if test "x$ac_cv_header_png_h" = xyes; then
585 GFXLIBS="$GFXLIBS -lpng -lz"
586 supported_gfx="$supported_gfx PNG"
598 [ --disable-jpeg disable JPEG support through libjpeg],
599 jpeg=$enableval, jpeg=yes, jpeg=no)
601 if test "$jpeg" = yes; then
602 WM_CHECK_LIB(jpeg, jpeg_destroy_compress)
604 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then
608 WM_CHECK_HEADER(jpeglib.h)
609 if test "x$ac_cv_header_jpeglib_h" = xyes; then
610 GFXLIBS="$GFXLIBS -ljpeg"
611 supported_gfx="$supported_gfx JPEG"
622 [ --disable-gif disable GIF support through libgif or libungif],
623 gif=$enableval, gif=yes, gif=no)
625 if test "$gif" = yes; then
627 WM_CHECK_LIB(ungif, DGifOpenFileName, [$XLFLAGS $XLIBS])
628 if test "x$ac_cv_lib_ungif_DGifOpenFileName" = xyes; then
632 dnl libungif is the same thing as libgif for all practical purposes.
634 if test "x$my_libname" = x; then
635 WM_CHECK_LIB(gif, DGifOpenFileName, [$XLFLAGS $XLIBS])
636 if test "x$ac_cv_lib_gif_DGifOpenFileName" = xyes; then
641 if test "$my_libname" != x; then
642 WM_CHECK_HEADER(gif_lib.h)
643 if test "x$ac_cv_header_gif_lib_h" = xyes; then
644 GFXLIBS="$GFXLIBS $my_libname"
645 supported_gfx="$supported_gfx GIF"
656 [ --disable-tiff disable use of TIFF images through libtiff],
657 tif=$enableval, tif=yes, tif=no)
660 # TIFF can optionally have JPEG and/or zlib support. Must find out
661 # when they are supported so that correct library flags are passed during
662 # detection and linkage
665 # By default use xpm icons if tiff is not found.
669 if test "$tif" = yes; then
671 WM_CHECK_LIB(tiff, TIFFGetVersion, [-lm])
672 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then
678 unset ac_cv_lib_tiff_TIFFGetVersion
679 if test "x$my_libname" = x; then
680 WM_CHECK_LIB(tiff, TIFFGetVersion, [$ljpeg -lz -lm])
681 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then
682 my_libname="-ltiff -lz"
686 if test "x$my_libname" = x; then
687 WM_CHECK_LIB(tiff34, TIFFGetVersion, [$ljpeg -lm])
688 if test "x$ac_cv_lib_tiff34_TIFFGetVersion" = xyes; then
689 my_libname="-ltiff34"
694 if test "x$my_libname" != x; then
695 WM_CHECK_HEADER(tiffio.h)
696 if test "x$ac_cv_header_tiffio_h" = xyes; then
697 GFXLIBS="$my_libname $GFXLIBS"
699 supported_gfx="$supported_gfx TIFF"
705 LIBRARY_SEARCH_PATH="$lib_search_path"
706 HEADER_SEARCH_PATH="$inc_search_path"
708 AC_SUBST(LIBRARY_SEARCH_PATH)
709 AC_SUBST(HEADER_SEARCH_PATH)
716 dnl ==============================================
717 dnl End of Graphic Format Libraries
718 dnl ==============================================
724 [ --enable-debug enable debugging ],, enable_debug=no)
726 if test "$enable_debug" = yes; then
728 # Efence makes things too slow. Add it by hand in the Makefiles
729 # if it is really needed.
730 # AC_CHECK_LIB(efence, malloc, LIBS="$LIBS -lefence")
732 DFLAGS="-DWITHOUT_NANA"
737 dnl Sound support - Dan
738 dnl =============================================
741 [ --disable-sound disable sound support ],
742 sound=$enableval, sound=yes)
743 if test "$sound" = yes; then
748 # AC_PREFIX_PROGRAM(wmaker)
750 dnl Support for PIXMAPDIR option
751 dnl ============================
752 AC_ARG_WITH(pixmapdir,
753 [ --with-pixmapdir=PATH specify where pixmaps are located [DATADIR/pixmaps]])
755 if test "x$with_pixmapdir" != "x"; then
756 pixmapdir=$with_pixmapdir
758 pixmapdir=`eval echo ${datadir}/pixmaps`
761 AC_DEFINE_UNQUOTED(PIXMAPDIR, "$pixmapdir")
763 pkgdatadir=`eval echo $datadir`
764 AC_DEFINE_UNQUOTED(PKGDATADIR, "$pkgdatadir/WindowMaker")
766 _sysconfdir=`eval echo $sysconfdir`
767 AC_DEFINE_UNQUOTED(SYSCONFDIR, "$_sysconfdir")
770 dnl Support for GNUSTEP_LOCAL_ROOT, for WPrefs.app
771 dnl ==============================================
775 AC_ARG_WITH(appspath,
776 [ --with-appspath=PATH specify the directory for GNUstep applications], appspath=$withval )
778 if test "x$appspath" = "x"; then
779 gnustepdir='$(prefix)/GNUstep'
781 if test "x$GNUSTEP_LOCAL_ROOT" != "x" ; then
782 gnustepdir=`echo "$GNUSTEP_LOCAL_ROOT" | sed -e "s|^${prefix}|prefix|"`
783 gnustepdir=`echo $gnustepdir | sed -e 's|^prefix|${prefix}|'`
786 with_appspath=$gnustepdir/Apps
789 wprefsdir=$with_appspath/WPrefs.app
795 dnl Enable single appicon per wm instance+class combo -cls
796 dnl =====================================================
797 AC_ARG_ENABLE(single-icon,
798 [ --enable-single-icon use single application icon per WM_INSTANCE+WM_CLASS
800 if test "$enableval" = yes; then
801 AC_DEFINE(REDUCE_APPICONS)
805 dnl Enable User Defined Menu thing
806 dnl ==================================
807 AC_ARG_ENABLE(usermenu,
808 [ --enable-usermenu user defined menus for applications
810 if test "$enableval" = yes; then
817 dnl Nicolai: Program tests for Documentation Section
818 dnl =================================================
820 dnl AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, ,$PATH)
821 dnl if test "x$MAKEINFO" != "x" ; then
822 dnl DOCTYPES="$DOCTYPES info_doc"
824 dnl AC_CHECK_PROG(TEX, tex, tex, ,$PATH)
825 dnl if test "x$TEX" != "x" ; then
826 dnl DOCTYPES="$DOCTYPES dvi_doc"
828 dnl AC_CHECK_PROG(DVIPS, dvips, dvips, ,$PATH)
829 dnl if test "x$DVIPS" != "x" ; then
830 dnl DOCTYPES="$DOCTYPES ps_doc"
832 dnl AC_CHECK_PROG(PERL, perl, perl, ,$PATH)
833 dnl if test "x$PERL" != "x" ; then
834 dnl DOCTYPES="$DOCTYPES html_doc"
836 dnl AC_PATH_PROG(PERL_PATH, perl, perl, ,$PATH)
837 dnl AC_CHECK_PROG(TEXI2HTML, texi2html, texi2html, ,$PATH)
839 dnl AC_SUBST(DOCTYPES)
841 AC_OUTPUT(Makefile po/Makefile util/Makefile test/Makefile wmlib/Makefile \
842 WINGs/Makefile WINGs/Resources/Makefile src/Makefile src/wconfig.h \
843 wrlib/Makefile doc/Makefile WindowMaker/Makefile contrib/Makefile \
844 WindowMaker/Backgrounds/Makefile WindowMaker/Defaults/Makefile \
845 WindowMaker/IconSets/Makefile WindowMaker/Icons/Makefile \
846 WindowMaker/Pixmaps/Makefile WindowMaker/Styles/Makefile \
847 WindowMaker/Themes/Makefile \
848 WPrefs.app/Makefile WPrefs.app/tiff/Makefile WPrefs.app/xpm/Makefile \
849 WPrefs.app/po/Makefile )
854 dnl Output some helpful data for compiling wraster and WINGs/WUtil apps
855 dnl ===================================================================
858 dnl echo "WFLAGS=\"$LIBPL_INC_PATH -I$prefix/include\"" > WINGs-flags
859 dnl echo "WLIBS=\"-L$exec_prefix/lib -lWINGs -lwraster $LIBPL_LIBS $GFXLIBS -lm\""\
860 dnl | sed -e 's|\$(prefix)|'"$prefix|" >> WINGs-flags
862 dnl The #lp# and #rp# stuff below is a hack because [ and ] get lost when
865 cat <<EOF >get-wraster-flags
871 WCFLAGS="-I\$prefix/include $inc_search_path"
872 WLFLAGS="-L\$exec_prefix/lib $lib_search_path"
873 WLIBS="-lwraster $GFXLIBS $XLIBS -lm"
875 usage="Usage: get-wraster-flags #lp#--cflags#rp# #lp#--ldflags#rp# #lp#--libs#rp#"
877 if test \$# -eq 0; then
878 echo "\${usage}" 1>&2
882 while test \$# -gt 0; do
894 echo "\${usage}" 1>&2
904 cat <<EOF >get-wings-flags
910 WCFLAGS="-I\$prefix/include $inc_search_path"
911 WLFLAGS="-L\$exec_prefix/lib $lib_search_path"
912 WLIBS="-lWINGs -lwraster $GFXLIBS $XLIBS -lm $NETLIBS -lPropList"
914 usage="Usage: get-wings-flags #lp#--cflags#rp# #lp#--ldflags#rp# #lp#--libs#rp#"
916 if test \$# -eq 0; then
917 echo "\${usage}" 1>&2
921 while test \$# -gt 0; do
933 echo "\${usage}" 1>&2
943 cat <<EOF >get-wutil-flags
949 WCFLAGS="-I\$prefix/include $inc_search_path"
950 WLFLAGS="-L\$exec_prefix/lib $lib_search_path"
951 WLIBS="-lWUtil $NETLIBS -lPropList"
953 usage="Usage: get-wutil-flags #lp#--cflags#rp# #lp#--ldflags#rp# #lp#--libs#rp#"
955 if test \$# -eq 0; then
956 echo "\${usage}" 1>&2
960 while test \$# -gt 0; do
972 echo "\${usage}" 1>&2
982 sed 's/#lp#/[/g' get-wraster-flags | sed 's/#rp#/]/g' > wrlib/get-wraster-flags
983 sed 's/#lp#/[/g' get-wings-flags | sed 's/#rp#/]/g' > WINGs/get-wings-flags
984 sed 's/#lp#/[/g' get-wutil-flags | sed 's/#rp#/]/g' > WINGs/get-wutil-flags
986 chmod 755 wrlib/get-wraster-flags WINGs/get-wings-flags WINGs/get-wutil-flags
988 rm -f get-wraster-flags get-wings-flags get-wutil-flags
992 dnl Spit out the configuration
993 dnl ==========================
995 supported_gfx="$supported_gfx builtin-PPM"
997 if test "x$MOFILES" = "x"; then
1005 echo "Window Maker was configured as follows:"
1007 echo "Installation path prefix: $prefix"
1008 echo "Installation path prefix for binaries: $_bindir"
1009 echo "Installation path for WPrefs.app: $wprefsdir" | sed -e 's|\$(prefix)|'"$prefix|"
1010 echo "Graphic format libraries: $supported_gfx"
1011 echo "Sound support: $sound"
1012 echo "Translated message files to install: $mof"
1013 if test "x$MOFILES" != "x"; then
1014 echo "Installation path of translated messages: $NLSDIR" | sed -e 's|\$(prefix)|'"$prefix|"
1017 dnl WM_PRINT_REDCRAP_BUG_STATUS
1019 if test "x$ac_cv_header_jpeglib_h" != xyes; then
1020 echo "WARNING WARNING WARNING WARNING WARNING WARNING WARNING"
1022 echo "JPEG support will not be included because the JPEG library is"
1023 echo "not installed correctly or was not found. Background images"
1024 echo "from themes will not display as they usually are JPEG files."
1026 echo "To fix, download and install the jpeg library and/or make sure you"
1027 echo "installed all jpeg related packages, SPECIALLY the development packages"
1028 echo "like jpeg-devel (if you use some prepackaged version of libjpeg)."
1030 echo "WARNING WARNING WARNING WARNING WARNING WARNING WARNING"
1034 dnl This is for Emacs. I'm lazy, I know... (nicolai)
1035 dnl ================================================
1036 dnl Local Variables:
1037 dnl compile-command: "autoconf"