emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs configure warning on MacOSX.3 +patch


From: Dan Hoey
Subject: emacs configure warning on MacOSX.3 +patch
Date: Fri, 21 Nov 2003 19:38:13 -0500 (EST)

The problem:

./configure --enable-carbon-app --without-x --prefix=/usr/local/emacs

on MacOSX.3 tests for the presence of the "net/if.h" header and
verifies it by running it through the compiler.  But net/if.h assumes
the inclusion of "sys/socket.h" (which in turn assumes sys/types.h).
It issues the dire warning

| checking net/if.h usability... no
| checking net/if.h presence... yes
| configure: WARNING: net/if.h: present but cannot be compiled
| configure: WARNING: net/if.h: check for missing prerequisite headers?
| configure: WARNING: net/if.h: proceeding with the preprocessor's result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to address@hidden ##
| configure: WARNING:     ## ------------------------------------ ##
| checking for net/if.h... yes

which leads to all kinds of nonsense on bug-gnu-autoconf.  The
compilation errors in config.log are

| configure:18046: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
| In file included from configure:18206:
| /usr/include/net/if.h:186: error: field `ifru_addr' has incomplete type
| /usr/include/net/if.h:187: error: field `ifru_dstaddr' has incomplete type
| /usr/include/net/if.h:188: error: field `ifru_broadaddr' has incomplete type
| /usr/include/net/if.h:219: error: field `ifra_addr' has incomplete type
| /usr/include/net/if.h:220: error: field `ifra_broadaddr' has incomplete type
| /usr/include/net/if.h:221: error: field `ifra_mask' has incomplete type
| /usr/include/net/if.h:290: error: field `addr' has incomplete type
| /usr/include/net/if.h:291: error: field `dstaddr' has incomplete type

I include a more generous helping of config.log at the end of this
message in case it might help.

I wrote a patch for configure.in (version 1.358) to clear up the
error.  I put in code to include sys/socket.h if it exists.  But then
there's a typedef u_char, which requires including sys/types.h as
well.

I'm not sure whether there's a less confusing way of fixing this
problem.  Note that we now have symbols HAVE_SOCKETS,
HAVE_INET_SOCKETS, and HAVE_SYS_SOCKET_H.  The include of sys/socket.h
in process.c is conditioned on HAVE_SOCKETS, which is defined in
src/m/*.h.
================================================================ 
                The patch
================================================================
% diff -c -F'^AC_' configure.in{.~1.358.~,}
*** configure.in.~1.358.~       Sun Nov 16 13:32:34 2003
--- configure.in        Fri Nov 21 18:09:02 2003
*************** AC_CHECK_FUNC(socket, , ok_so_far=no)
*** 2510,2516 ****
            [Define to 1 if you have inet sockets.])
  fi
  
! AC_CHECK_HEADERS(sys/ioctl.h net/if.h)
  
  if test -f /usr/lpp/X11/bin/smt.exp; then
    AC_DEFINE(HAVE_AIX_SMT_EXP, 1,
--- 2510,2525 ----
            [Define to 1 if you have inet sockets.])
  fi
  
! AC_CHECK_HEADERS(sys/socket.h sys/ioctl.h)
! 
! AC_CHECK_HEADERS(net/if.h,,,
! [[#ifdef HAVE_SYS_TYPES_H
! #include <sys/types.h>
! #endif
! #ifdef HAVE_SYS_SOCKET_H
! #include <sys/socket.h>
! #endif
! ]])
  
  if test -f /usr/lpp/X11/bin/smt.exp; then
    AC_DEFINE(HAVE_AIX_SMT_EXP, 1,
================================================================
     More of config.log
================================================================
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --enable-carbon-app --without-x --prefix=/usr/local/emacs

## --------- ##
## Platform. ##
## --------- ##

hostname = Dans-Computer.local
uname -m = Power Macintosh
uname -r = 7.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT 2003; 
root:xnu/xnu-517.obj~1/RELEASE_PPC 

/usr/bin/uname -p = powerpc
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
         Darwin Kernel Version 7.0.0:
Wed Sep 24 15:48:39 PDT 2003; root:xnu/xnu-517.obj~1/RELEASE_PPC


Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc7400 (PowerPC 7400)
Processor active: 0
Primary memory available: 384.00 megabytes.
Default processor set: 66 tasks, 151 threads, 1 processors
Load average: 1.79, Mach factor: 0.39
unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /Users/hoey


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1590: checking build system type
configure:1608: result: powerpc-apple-darwin7.0.0
configure:1616: checking host system type
configure:1630: result: powerpc-apple-darwin7.0.0
configure:2701: checking for gcc
configure:2717: found /usr/bin/gcc
configure:2727: result: gcc
configure:2971: checking for C compiler version
configure:2974: gcc --version </dev/null >&5
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2977: $? = 0
configure:2979: gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
configure:2982: $? = 0
configure:2984: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2987: $? = 1
configure:3011: checking for C compiler default output
configure:3014: gcc    conftest.c  >&5
configure:3017: $? = 0
configure:3063: result: a.out
configure:3068: checking whether the C compiler works
configure:3074: ./a.out
configure:3077: $? = 0
configure:3094: result: yes
configure:3101: checking whether we are cross compiling
configure:3103: result: no
configure:3106: checking for suffix of executables
configure:3108: gcc -o conftest    conftest.c  >&5
configure:3111: $? = 0
configure:3136: result: 
configure:3142: checking for suffix of object files
configure:3164: gcc -c   conftest.c >&5
configure:3167: $? = 0
configure:3189: result: o
configure:3193: checking whether we are using the GNU C compiler
configure:3218: gcc -c   conftest.c >&5
configure:3221: $? = 0
configure:3224: test -s conftest.o
configure:3227: $? = 0
configure:3240: result: yes
configure:3246: checking whether gcc accepts -g
configure:3268: gcc -c -g  conftest.c >&5
configure:3271: $? = 0
configure:3274: test -s conftest.o
configure:3277: $? = 0
configure:3288: result: yes
configure:3305: checking for gcc option to accept ANSI C
configure:3366: gcc  -c -g -O2  conftest.c >&5
configure:3369: $? = 0
configure:3372: test -s conftest.o
configure:3375: $? = 0
configure:3393: result: none needed
configure:3411: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:3414: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3558: checking whether ln -s works
configure:3562: result: yes
configure:3574: checking how to run the C preprocessor
configure:3692: result: gcc -E -no-cpp-precomp
configure:3717: gcc -E -no-cpp-precomp  conftest.c
configure:3723: $? = 0
configure:3755: gcc -E -no-cpp-precomp  conftest.c
configure:3755:28: ac_nonexistent.h: No such file or directory
configure:3761: $? = 1
configure: failed program was:
| #line 3746 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MAIL_USE_POP 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3815: checking for a BSD-compatible install
configure:3869: result: /usr/bin/install -c
configure:3922: checking for ranlib
configure:3938: found /usr/bin/ranlib
configure:3949: result: ranlib
configure:3964: checking for install-info
configure:3982: found /usr/bin/install-info
configure:3994: result: /usr/bin/install-info
configure:4003: checking for install-info
configure:4033: result: /usr/bin/install-info
configure:4042: checking for install-info
configure:4073: result: /usr/bin/install-info
configure:4094: checking for egrep
configure:4104: result: grep -E
configure:4110: checking for AIX
configure:4133: result: no
configure:4144: checking the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable...
configure:4301: checking for special C compiler options needed for large files
configure:4381: result: no
configure:4387: checking for _FILE_OFFSET_BITS value needed for large files
configure:4419: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
configure:4422: $? = 0
configure:4425: test -s conftest.o
configure:4428: $? = 0
configure:4484: result: no
configure:4494: checking for _LARGE_FILES value needed for large files
configure:4526: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
configure:4529: $? = 0
configure:4532: test -s conftest.o
configure:4535: $? = 0
configure:4591: result: no
configure:4606: checking for ANSI C header files
configure:4632: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
configure:4635: $? = 0
configure:4638: test -s conftest.o
configure:4641: $? = 0
configure:4730: gcc -o conftest -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src    conftest.c  >&5  
configure:4733: $? = 0
configure:4735: ./conftest
configure:4738: $? = 0
configure:4753: result: yes
configure:4777: checking for sys/types.h
configure:4794: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
configure:4797: $? = 0
configure:4800: test -s conftest.o
configure:4803: $? = 0
configure:4814: result: yes
configure:4777: checking for sys/stat.h
configure:4794: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
configure:4797: $? = 0
configure:4800: test -s conftest.o
configure:4803: $? = 0
configure:4814: result: yes
================[6279 lines omitted]================================
configure:17919: checking arpa/inet.h presence
configure:17930: gcc -E -no-cpp-precomp -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c
configure:17936: $? = 0
configure:17955: result: yes
configure:17991: checking for arpa/inet.h
configure:17998: result: yes
configure:18033: checking sys/ioctl.h usability
configure:18046: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
configure:18049: $? = 0
configure:18052: test -s conftest.o
configure:18055: $? = 0
configure:18065: result: yes
configure:18069: checking sys/ioctl.h presence
configure:18080: gcc -E -no-cpp-precomp -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c
configure:18086: $? = 0
configure:18105: result: yes
configure:18141: checking for sys/ioctl.h
configure:18148: result: yes
configure:18033: checking net/if.h usability
configure:18046: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
In file included from configure:18206:
/usr/include/net/if.h:186: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:187: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:188: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:219: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:220: error: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:221: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:290: error: field `addr' has incomplete type
/usr/include/net/if.h:291: error: field `dstaddr' has incomplete type
configure:18049: $? = 1
configure: failed program was:
| #line 18035 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MAIL_USE_POP 1
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_TERMCAP_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_TERM_H 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STRUCT_UTIMBUF 1
| #define RETSIGTYPE void
| #define HAVE_SPEED_T 1
| #define HAVE_TIMEVAL 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_TM_GMTOFF 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define POINTER_TYPE void
| #define HAVE_LONG_FILE_NAMES 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_XIM 1
| #define USE_XIM 1
| #define XRegisterIMInstantiateCallback_arg6 XPointer
| #define HAVE_CARBON 1
| #define HAVE_H_ERRNO 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LIBM 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETDOMAINNAME 1
| #define HAVE_DUP2 1
| #define HAVE_RENAME 1
| #define HAVE_CLOSEDIR 1
| #define HAVE_MKDIR 1
| #define HAVE_RMDIR 1
| #define HAVE_RANDOM 1
| #define HAVE_LRAND48 1
| #define HAVE_BCOPY 1
| #define HAVE_BCMP 1
| #define HAVE_LOGB 1
| #define HAVE_FREXP 1
| #define HAVE_FMOD 1
| #define HAVE_RINT 1
| #define HAVE_CBRT 1
| #define HAVE_RES_INIT 1
| #define HAVE_SETSID 1
| #define HAVE_STRERROR 1
| #define HAVE_FPATHCONF 1
| #define HAVE_SELECT 1
| #define HAVE_MKTIME 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_TZSET 1
| #define HAVE_SETLOCALE 1
| #define HAVE_UTIMES 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_SETPGID 1
| #define HAVE_GETCWD 1
| #define HAVE_GETWD 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_MBLEN 1
| #define HAVE_MBRLEN 1
| #define HAVE_MBSINIT 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_SETITIMER 1
| #define HAVE_UALARM 1
| #define HAVE_INDEX 1
| #define HAVE_RINDEX 1
| #define HAVE_SENDTO 1
| #define HAVE_RECVFROM 1
| #define HAVE_GETSOCKOPT 1
| #define HAVE_SETSOCKOPT 1
| #define HAVE_GETSOCKNAME 1
| #define HAVE_GETPEERNAME 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MEMMOVE 1
| #define HAVE_FSYNC 1
| #define HAVE_BZERO 1
| #define HAVE_MEMSET 1
| #define HAVE_MEMCMP 1
| #define HAVE_MEMMOVE 1
| #define HAVE_DIFFTIME 1
| #define HAVE_MEMCPY 1
| #define HAVE_MBLEN 1
| #define HAVE_MBRLEN 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ALARM 1
| #define BROKEN_MKTIME 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_FSEEKO 1
| #define GETPGRP_VOID 1
| #define HAVE_STRFTIME 1
| #define HAVE_LIBNCURSES 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_INET_SOCKETS 1
| #define HAVE_SYS_IOCTL_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if.h>
configure:18065: result: no
configure:18069: checking net/if.h presence
configure:18080: gcc -E -no-cpp-precomp -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c
configure:18086: $? = 0
configure:18105: result: yes
configure:18125: WARNING: net/if.h: present but cannot be compiled
configure:18127: WARNING: net/if.h: check for missing prerequisite headers?
configure:18129: WARNING: net/if.h: proceeding with the preprocessor's result
configure:18141: checking for net/if.h
configure:18148: result: yes
configure:18170: checking whether system supports dynamic ptys
configure:18181: result: no
configure:18185: checking for pid_t
configure:18210: gcc -c -g -O2 -fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src   conftest.c >&5
configure:18213: $? = 0
configure:18216: test -s conftest.o
configure:18219: $? = 0
configure:18230: result: yes
================================[541 lines omitted]================
configure:19329: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on Dans-Computer.local

config.status:682: creating Makefile
config.status:682: creating lib-src/Makefile.c
config.status:682: creating oldXMenu/Makefile
config.status:682: creating man/Makefile
config.status:682: creating lwlib/Makefile
config.status:682: creating src/Makefile.c
config.status:682: creating lisp/Makefile
config.status:682: creating lispref/Makefile
config.status:682: creating lispintro/Makefile
config.status:682: creating leim/Makefile
config.status:779: creating src/config.h
config.status:1328: executing default commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-apple-darwin7.0.0
ac_cv_build_alias=powerpc-apple-darwin7.0.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_volatile=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func___fpending=no
ac_cv_func_alarm=yes
ac_cv_func_alloca_works=yes
ac_cv_func_bcmp=yes
ac_cv_func_bcopy=yes
ac_cv_func_bzero=yes
ac_cv_func_cbrt=yes
ac_cv_func_closedir=yes
ac_cv_func_difftime=yes
ac_cv_func_dup2=yes
ac_cv_func_euidaccess=no
ac_cv_func_fmod=yes
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_fpathconf=yes
ac_cv_func_frexp=yes
ac_cv_func_fseeko=yes
ac_cv_func_fsync=yes
ac_cv_func_ftime=no
ac_cv_func_gai_strerror=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_getcwd=yes
ac_cv_func_getdelim=no
ac_cv_func_getdomainname=yes
ac_cv_func_gethostname=yes
ac_cv_func_getline=no
ac_cv_func_getloadavg=yes
ac_cv_func_getloadavg_setgid=no
ac_cv_func_getpagesize=yes
ac_cv_func_getpeername=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getpt=no
ac_cv_func_getsockname=yes
ac_cv_func_getsockopt=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_getwd=yes
ac_cv_func_grantpt=no
ac_cv_func_index=yes
ac_cv_func_logb=yes
ac_cv_func_lrand48=yes
ac_cv_func_malloc_get_state=no
ac_cv_func_malloc_set_state=no
ac_cv_func_mblen=yes
ac_cv_func_mbrlen=yes
ac_cv_func_mbsinit=yes
ac_cv_func_memcmp=yes
ac_cv_func_memcpy=yes
ac_cv_func_memmove=yes
ac_cv_func_mempcpy=no
ac_cv_func_memset=yes
ac_cv_func_mkdir=yes
ac_cv_func_mkstemp=yes
ac_cv_func_mktime=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_mremap=no
ac_cv_func_posix_memalign=no
ac_cv_func_pstat_getdynamic=no
ac_cv_func_random=yes
ac_cv_func_recvfrom=yes
ac_cv_func_rename=yes
ac_cv_func_res_init=yes
ac_cv_func_rindex=yes
ac_cv_func_rint=yes
ac_cv_func_rmdir=yes
ac_cv_func_select=yes
ac_cv_func_sendto=yes
ac_cv_func_setitimer=yes
ac_cv_func_setlocale=yes
ac_cv_func_setpgid=yes
ac_cv_func_setrlimit=yes
ac_cv_func_setsid=yes
ac_cv_func_setsockopt=yes
ac_cv_func_shutdown=yes
ac_cv_func_socket=yes
ac_cv_func_strerror=yes
ac_cv_func_strftime=yes
ac_cv_func_strsignal=yes
ac_cv_func_sysinfo=no
ac_cv_func_touchlock=no
ac_cv_func_tzset=yes
ac_cv_func_ualarm=yes
ac_cv_func_utimes=yes
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_func_working_mktime=no
ac_cv_have_decl_sys_siglist=yes
ac_cv_header_Carbon_Carbon_h=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_coff_h=no
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_linux_version_h=no
ac_cv_header_locale_h=yes
ac_cv_header_machine_soundcard_h=no
ac_cv_header_maillock_h=no
ac_cv_header_memory_h=yes
ac_cv_header_net_if_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_pty_h=no
ac_cv_header_soundcard_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_ext_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys__mbstate_t_h=no
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_soundcard_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_systeminfo_h=no
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_timeb_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_un_h=yes
ac_cv_header_sys_vlimit_h=no
ac_cv_header_sys_wait_h=yes
ac_cv_header_term_h=yes
ac_cv_header_termcap_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_utime_h=yes
ac_cv_header_vfork_h=no
ac_cv_host=powerpc-apple-darwin7.0.0
ac_cv_host_alias=powerpc-apple-darwin7.0.0
ac_cv_lib_Xbsd_main=no
ac_cv_lib_dnet_dnet_ntoa=no
ac_cv_lib_intl_dgettext=no
ac_cv_lib_kstat_kstat_open=no
ac_cv_lib_lockfile_maillock=no
ac_cv_lib_m_sqrt=yes
ac_cv_lib_mail_maillock=no
ac_cv_lib_ncurses_tparm=yes
ac_cv_lib_ossaudio__oss_ioctl=no
ac_cv_lib_pthreads_cma_open=no
ac_cv_member_struct_ifreq_ifr_addr=no
ac_cv_member_struct_ifreq_ifr_broadaddr=no
ac_cv_member_struct_ifreq_ifr_flags=no
ac_cv_member_struct_ifreq_ifr_hwaddr=no
ac_cv_member_struct_ifreq_ifr_netmask=no
ac_cv_member_struct_tm_tm_gmtoff=yes
ac_cv_member_struct_tm_tm_zone=yes
ac_cv_objext=o
ac_cv_path_INSTALL_INFO=/usr/bin/install-info
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP='gcc -E -no-cpp-precomp'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_liblockfile=no
ac_cv_prog_make_make_set=yes
ac_cv_struct_tm=time.h
ac_cv_sys_file_offset_bits=no
ac_cv_sys_large_files=no
ac_cv_sys_largefile_CC=no
ac_cv_sys_largefile_source=no
ac_cv_sys_long_file_names=yes
ac_cv_type_mbstate_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_working_alloca_h=yes
emacs_cv_c_restrict=__restrict
emacs_cv_c_restrict_arr=yes
emacs_cv_gettimeofday_two_arguments=yes
emacs_cv_langinfo_codeset=yes
emacs_cv_localtime_cache=no
emacs_cv_netdb_declares_h_errno=yes
emacs_cv_speed_t=yes
emacs_cv_struct_exception=yes
emacs_cv_struct_timeval=yes
emacs_cv_struct_timezone=yes
emacs_cv_struct_utimbuf=yes
emacs_cv_var___after_morecore_hook=no
emacs_cv_void_star=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALLOCA=''
CC='gcc'
CFLAGS='-g -O2'
CPP='gcc -E -no-cpp-precomp'
CPPFLAGS='-fpascal-strings -fno-common -DMAC_OSX -I../mac/src  '
C_SWITCH_X_SITE=''
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
GETLOADAVG_LIBS=''
GTK_CFLAGS=''
GTK_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='/usr/bin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KMEM_GROUP=''
LDFLAGS=''
LD_SWITCH_X_SITE=''
LD_SWITCH_X_SITE_AUX=''
LIBOBJS=' mktime$U.o'
LIBS='-lncurses -lm  '
LIBSOUND=''
LN_S='ln -s'
LTLIBOBJS=' mktime$U.lo'
MAINT='#'
NEED_SETGID='false'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
X_TOOLKIT_TYPE='none'
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
archlibdir='${libexecdir}/emacs/${version}/${configuration}'
bindir='${exec_prefix}/bin'
bitmapdir=''
build='powerpc-apple-darwin7.0.0'
build_alias=''
build_cpu='powerpc'
build_os='darwin7.0.0'
build_vendor='apple'
c_switch_machine=''
c_switch_system='-fpascal-strings -fno-common -DMAC_OSX -I../mac/src'
canonical='powerpc-apple-darwin7.0.0'
carbon_appdir='/Applications'
configuration='powerpc-apple-darwin7.0.0'
datadir='${prefix}/share'
docdir='${datadir}/emacs/${version}/etc'
etcdir='${datadir}/emacs/${version}/etc'
exec_prefix='${prefix}'
gamedir='${localstatedir}/games/emacs'
gameuser='games'
host='powerpc-apple-darwin7.0.0'
host_alias=''
host_cpu='powerpc'
host_os='darwin7.0.0'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
liblockfile='no'
lispdir='${datadir}/emacs/${version}/lisp'
lisppath='${locallisppath}:${lispdir}'
locallisppath='${datadir}/emacs/${version}/site-lisp:${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
localstatedir='${prefix}/var'
machfile='m/powermac.h'
mandir='${prefix}/man'
oldincludedir='/usr/include'
opsysfile='s/darwin.h'
prefix='/usr/local/emacs'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
srcdir='/Users/hoey/emtest/emacs'
sysconfdir='${prefix}/etc'
target_alias=''
version='21.3.50'
x_default_search_path=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define BROKEN_MKTIME 1
#define C_SWITCH_X_SITE 
#define EMACS_CONFIGURATION "powerpc-apple-darwin7.0.0"
#define EMACS_CONFIG_OPTIONS "'--enable-carbon-app' '--without-x' 
'--prefix=/usr/local/emacs'"
#define GETPGRP_VOID 1
#define HAVE_ALARM 1
#define HAVE_ALLOCA 1
#define HAVE_ALLOCA_H 1
#define HAVE_BCMP 1
#define HAVE_BCOPY 1
#define HAVE_BZERO 1
#define HAVE_CARBON 1
#define HAVE_CBRT 1
#define HAVE_CLOSEDIR 1
#define HAVE_DECL_SYS_SIGLIST 1
#define HAVE_DIFFTIME 1
#define HAVE_DUP2 1
#define HAVE_FCNTL_H 1
#define HAVE_FMOD 1
#define HAVE_FORK 1
#define HAVE_FPATHCONF 1
#define HAVE_FREXP 1
#define HAVE_FSEEKO 1
#define HAVE_FSYNC 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETCWD 1
#define HAVE_GETDOMAINNAME 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETLOADAVG 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPEERNAME 1
#define HAVE_GETSOCKNAME 1
#define HAVE_GETSOCKOPT 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETWD 1
#define HAVE_H_ERRNO 1
#define HAVE_INDEX 1
#define HAVE_INET_SOCKETS 1
#define HAVE_INTTYPES_H 1
#define HAVE_LANGINFO_CODESET 1
#define HAVE_LIBM 1
#define HAVE_LIBNCURSES 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_LOGB 1
#define HAVE_LONG_FILE_NAMES 1
#define HAVE_LRAND48 1
#define HAVE_MBLEN 1
#define HAVE_MBLEN 1
#define HAVE_MBRLEN 1
#define HAVE_MBRLEN 1
#define HAVE_MBSINIT 1
#define HAVE_MBSTATE_T 1
#define HAVE_MEMCMP 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_MENUS 1
#define HAVE_MKDIR 1
#define HAVE_MKSTEMP 1
#define HAVE_MKTIME 1
#define HAVE_MMAP 1
#define HAVE_NET_IF_H 1
#define HAVE_RANDOM 1
#define HAVE_RECVFROM 1
#define HAVE_RENAME 1
#define HAVE_RES_INIT 1
#define HAVE_RINDEX 1
#define HAVE_RINT 1
#define HAVE_RMDIR 1
#define HAVE_SELECT 1
#define HAVE_SENDTO 1
#define HAVE_SETITIMER 1
#define HAVE_SETLOCALE 1
#define HAVE_SETPGID 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSID 1
#define HAVE_SETSOCKOPT 1
#define HAVE_SHUTDOWN 1
#define HAVE_SIZE_T 1
#define HAVE_SPEED_T 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRERROR 1
#define HAVE_STRFTIME 1
#define HAVE_STRINGS_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSIGNAL 1
#define HAVE_STRUCT_TM_TM_ZONE 1
#define HAVE_STRUCT_TM_TM_ZONE 1
#define HAVE_STRUCT_UTIMBUF 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIMEB_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_TERMCAP_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERM_H 1
#define HAVE_TIMEVAL 1
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
#define HAVE_TM_ZONE 1
#define HAVE_TZSET 1
#define HAVE_UALARM 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_XIM 1
#define LD_SWITCH_X_SITE 
#define LD_SWITCH_X_SITE_AUX 
#define MAIL_USE_POP 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define POINTER_TYPE void
#define PROTOTYPES 1
#define RETSIGTYPE void
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define UNEXEC_SRC unexmacosx.c
#define USE_XIM 1
#define XRegisterIMInstantiateCallback_arg6 XPointer
#define _GNU_SOURCE 1
#define __PROTOTYPES 1
#define __restrict_arr __restrict
#define config_machfile "m/powermac.h"
#define config_opsysfile "s/darwin.h"

configure: exit 0
================================================================
Dan
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]