[PATCH] FVWM cross-compiling fixes

Main message is here:
viewtopic.php?f=32&t=2106

Below is a split of configure.ac patch.
This patch fixes libraries detection in configure when cross-compiling and can be safely merged into fvwm sources:

--- fvwm-2.5.26/configure.ac.orig	2008-06-11 15:44:28.000000000 +0400
+++ fvwm-2.5.26/configure.ac	2008-06-11 15:44:46.000000000 +0400
@@ -792,7 +792,8 @@
 	 problem_xpm=": Internal xpm detection logic error"
        fi
      fi],
-   [with_xpm=no; problem_xpm=": Xpm test error, see config.log"])
+   [with_xpm=no; problem_xpm=": Xpm test error, see config.log"],
+   [echo $ac_n "cross compiling; assumed OK... $ac_c"])
   AC_MSG_RESULT($with_xpm)
   CPPFLAGS="$my_CPPFLAGS"
   LIBS="$my_LIBS"
@@ -840,7 +841,8 @@
 	 problem_png=": Internal png detection logic error"
        fi
      fi],
-   [with_png="no"; problem_png=": png test error, see config.log"])
+   [with_png="no"; problem_png=": png test error, see config.log"],
+   [echo $ac_n "cross compiling; assumed OK... $ac_c"])
   AC_MSG_RESULT($with_png)
   CPPFLAGS="$my_CPPFLAGS"
   LIBS="$my_LIBS"

Yes – duplicating your message, good intentions or otherwise, won’t expedite my reply to you any quicker than your first question – both of which I’ve read. Not to mention you’ve now created a dichotomy. Brilliant. Thanks for that. :neutral_face:

Your patch looks fine; send an email to fvwm-workers@fvwm.org however so other relevant people can see it.

– Thomas Adam

Sorry, but there was a kind of ‘request for comments’. Here is the patch exactly.

Thanks, I’ll do.