Subject: configure bombs at setvbuf test with g++ on Solaris

From: [email-masked]
Date: Wed, 15 Sep 1999 17:44:39 -0500 (CDT)

Full_Name: Greg Ward
Version: 2.2.2
CVS_Date: 
OS: Solaris 2.6
X_Server: Sun
Submission from: (NULL) (209.206.24.143)

Trying to build with gcc/g++ 2.8.1 under Solaris 2.6.  `configure' script
crashes in the AC_FUNC_SETVBUF_REVERSED macro (line 159 of configure.in).
Session transcript:

$ CXX=g++ ./configure 
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
[...]
checking for sigaction... yes
checking for siginterrupt... yes
checking for sig_atomic_t... yes
checking whether setvbuf arguments are reversed... configure: error: can
not run test program while cross compiling

However, if I disable C++ compilation, it works:

$ ./configure --without-cxx
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
[...]
Configuration:

  FVWM Version:             2.2.2

  Build extra modules?      no
  Have ReadLine support?    no
  Have RPlay support?       no
  Have XPM support?         no: Xpm library or header not found!

Not sure if this is a fvwm-configure-script bug or an Autoconf bug.
I tried stripping down configure.in to isolate the bug but was
unsuccessful -- will try harder if assistance is needed!

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]