--- FSViewer.app-0.2.5/configure.ac.vns 2002-11-15 20:57:39 +0300 +++ FSViewer.app-0.2.5/configure.ac 2005-05-22 20:21:45 +0400 @@ -72,6 +72,15 @@ AC_MSG_ERROR("Danger Will Robinson: Unable to find get-wraster-flags in $PATH variable."); fi +AC_CHECK_PROG(GETWINGSFLAGS,get-wings-flags,get-wings-flags,,[$PATH]) +if test -z "$GETWINGSFLAGS"; then + AC_MSG_ERROR(['get-wings-flags' command was not found in \$PATH, please upgrade your WindowMaker.]) +fi +CFLAGS="$CFLAGS `get-wings-flags --cflags`" +LDFLAGS="$LDFLAGS `get-wings-flags --ldflags`" +LIBS="$LIBS `get-wings-flags --libs`" + + AC_CHECK_LIB(Xmu, XmuClientWindow) dnl Support for extralibs @@ -87,7 +96,7 @@ fi AC_CHECK_LIB(WMaker, WMAppSetMainMenu) -AC_CHECK_LIB(WINGs, WMAppSetMainMenu, , , $LIBS) + dnl Checks for PropList (not necessary since version 0.2.3b) dnl AC_CHECK_HEADERS(proplist.h,, AC_MSG_WARN(Can't find PropList include-file: Please install libPropList (included in WindowMaker)))