Try editing configure to put some diagnostics in.  Find out which
branch it's taking and what the valud of $cross_compiling is.

J'


On Thu, Feb 05, 2009 at 02:05:04AM -0200, Michel Boaventura wrote:
     nothing either. I'm starting to think that its maybe a bug on
     configure because of this:
     on configure.log I get:
     
     configure:34377: result: no
     configure:34395: checking whether strnlen is declared
     configure:34424: i686-mingw32-gcc -std=gnu99 -c -g -O2
     -Wdeclaration-after-statement -fgnu89-inline  conftest.c >&5
     conftest.c: In function 'main':
     conftest.c:163: error: 'strnlen' undeclared (first use in this function)
     conftest.c:163: error: (Each undeclared identifier is reported only once
     conftest.c:163: error: for each function it appears in.)
     configure:34431: $? = 1
     
     and then this:
     
     configure:58374: checking for working strnlen
     configure:58449: result: yes
     
     and on the very bottom, this:
     
     ac_cv_func_strnlen_working=yes
     
     
     So configure can't find strnlen, and then tells that it works. If you
     look at configure script there is:
     
       { $as_echo "$as_me:$LINENO: checking for working strnlen" >&5
     $as_echo_n "checking for working strnlen... " >&6; }
     if test "${ac_cv_func_strnlen_working+set}" = set; then
       $as_echo_n "(cached) " >&6
     else
       if test "$cross_compiling" = yes; then
       ac_cv_func_strnlen_working=no
     else
     
     as far as I understand this, ac_cv_func_strnlen_working from the first
     if should be the return of the compile of the strnlen test, and
     because its 1 (configure:34431: $? = 1) the first if should return
     false, and how we are doing cross_compiling the
     ac_func_strnlen_working should be set to 'no', but it is set to yes.
     
     Am I interpreting it wrong?
     
     
     _______________________________________________
     pspp-dev mailing list
     [email protected]
     http://lists.gnu.org/mailman/listinfo/pspp-dev

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to