福原です.
Yamada Kazuo wrote:
> + echo -n 'checking whether getservbyport_r takes 6 args... '
> checking whether getservbyport_r takes 6 args... + echo 'configure:2231: checking whether
> getservbyport_r takes 6 args'
> + cat
> + eval echo configure:2242: '"${CC-cc}' -c '$CFLAGS' '$CPPFLAGS' 'conftest.$ac_ext' '1>&5"'
> ++ echo configure:2242: 'gcc -c -g -O2 -D_REENTRANT conftest.c 1>&5'
> + echo 'configure: failed program was:'
> + cat conftest.c
> + rm -rf conftest.c
> + renf=no
> + echo no
> no
ここで私のところと違う結果になっていますね.
config.log と confdefs.h というファイルが出来ていると思います.
config.log の方は
configure:2119: checking for getservbyport_r
から先の部分を,confdef.h の方は全部見せていただけますか.
私のところでは (わざと getservbyport_r でエラーを起こした時の )confdefs.h は
次のようになっています.
$ cat confdefs.h
#define PACKAGE "iplog"
#define VERSION "2.2.3"
#define HAVE___ATTRIBUTE__ 1
#define HAVE_DPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_GETOPT_LONG 1
#define HAVE_LOCALTIME_R 1
#define HAVE_INET_ATON 1
#define HAVE_VSNPRINTF 1
#define HAVE_SNPRINTF 1
#define HAVE_GETPAGESIZE 1
#define HAVE_PATHS_H 1
#define STDC_HEADERS 1
#define HAVE_IN_PORT_T 1
#define HAVE_PTHREAD_CANCEL 1
#define HAVE_GETSERVBYPORT_R 1
$
--
福原 <makoto@xxxxxxxxxxxxxxxxxx>