bug-ncurses
[Top][All Lists]
Advanced

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

Failure building ncurses 5.6 for ARM9


From: Mel Wilson
Subject: Failure building ncurses 5.6 for ARM9
Date: Sat, 24 Mar 2007 10:29:39 -0400
User-agent: Thunderbird 1.5.0.8 (X11/20061025)

I'm trying to build ncurses-5.6 for use on an ARM9 system.  I'm
running the two-command sequence
    ./configure
    make
on the ARM9 system itself. The ncurses-5.6 source directory is on an NFS server off the ARM9 system.


The build fails with what seems to be a malformed command line
somewhere in make:

[ ... ]
make[1]: Entering directory `/mnt/a/home/mel/ncurses-5.6/c++'
cp ./etip.h.in etip.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
substituting autoconf'd values from ../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 0
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_STRSTREAM_H 0
... HAVE_TYPEINFO 0
... HAVE_VALUES_H 0
... USE_STRSTREAM_VSCAN 0
... USE_STRSTREAM_VSCAN_CAST 0
make[1]: Warning: File `../include/ncurses_cfg.h' has modification time 3.7e+06 s in the f
uture
cd ../objects; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE
 -DNDEBUG  -c ../c++/cursesf.cc
/bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../objects/cursesf.o] Error 127
make[1]: Leaving directory `/mnt/a/home/mel/ncurses-5.6/c++'
make: *** [all] Error 2
address@hidden:ncurses-5.6#

[==================================================================]


A few details re versions, etc. follow (I'm not sure what's important in reports like this,) and I've attached config.log and Makefile.

address@hidden:root# cat /proc/version
Linux version 2.4.26-ts11 (address@hidden) (gcc version 3.3.4) #2 Fri
Sep 29 15:40:06 MST 2006

address@hidden:root# gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 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.

address@hidden:root# make --version
GNU Make 3.80


address@hidden:root# cat /proc/cpuinfo
Processor       : Arm920Tid(wb) rev 0 (v4l)
BogoMIPS        : 99.94
Features        : swp half thumb

Hardware        : ep9301
Revision        : 0000
Serial          : 0000000000000000



Any advice will be appreciated.

        Thanks,         Mel.

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.52.20061216.  Invocation command line was

  $ ./configure 

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

hostname = dustpuppy
uname -m = armv4l
uname -r = 2.4.26-ts11
uname -s = Linux
uname -v = #2 Fri Sep 29 15:40:06 MST 2006

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

/bin/arch              = armv4l
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

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

configure:1080: PATH=".;."; conftest.sh
./configure: line 1081: conftest.sh: command not found
configure:1083: $? = 127
configure:1096: checking for egrep
configure:1106: result: grep -E
configure:1120: result: Configuring NCURSES 5.6 ABI 5 (Sat Mar 24 02:49:54 UTC 
2007)
configure:1225: checking build system type
configure:1243: result: armv4l-unknown-linux-gnu
configure:1250: checking host system type
configure:1264: result: armv4l-unknown-linux-gnu
configure:1272: checking target system type
configure:1286: result: armv4l-unknown-linux-gnu
configure:1317: result: Configuring for linux-gnu
configure:1341: checking for prefix
configure:1353: result: /usr
configure:1429: checking for gcc
configure:1444: found /usr/bin/gcc
configure:1452: result: gcc
configure:1680: checking for C compiler version
configure:1683: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 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:1686: $? = 0
configure:1688: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/arm-linux/3.3.5/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared 
--enable-__cxa_atexit --with-system-zlib --enable-nls 
--without-included-gettext --enable-clocale=gnu --enable-debug 
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc arm-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:1691: $? = 0
configure:1693: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1696: $? = 1
configure:1716: checking for C compiler default output
configure:1719: gcc    conftest.c  >&5
configure:1722: $? = 0
configure:1751: result: a.out
configure:1756: checking whether the C compiler works
configure:1762: ./a.out
configure:1765: $? = 0
configure:1780: result: yes
configure:1787: checking whether we are cross compiling
configure:1789: result: no
configure:1792: checking for executable suffix
configure:1794: gcc -o conftest    conftest.c  >&5
configure:1797: $? = 0
configure:1819: result: 
configure:1825: checking for object suffix
configure:1843: gcc -c   conftest.c >&5
configure:1846: $? = 0
configure:1865: result: o
configure:1869: checking whether we are using the GNU C compiler
configure:1890: gcc -c   conftest.c >&5
configure:1893: $? = 0
configure:1896: test -s conftest.o
configure:1899: $? = 0
configure:1911: result: yes
configure:1917: checking whether gcc accepts -g
configure:1935: gcc -c -g  conftest.c >&5
configure:1938: $? = 0
configure:1941: test -s conftest.o
configure:1944: $? = 0
configure:1954: result: yes
configure:1981: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:1984: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2085: checking version of gcc
configure:2089: result: 3.3.5
configure:2099: checking how to run the C preprocessor
configure:2125: gcc -E  conftest.c
configure:2131: $? = 0
configure:2158: gcc -E  conftest.c
configure:2155:28: ac_nonexistent.h: No such file or directory
configure:2164: $? = 1
configure: failed program was:
#line 2154 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2201: result: gcc -E
configure:2216: gcc -E  conftest.c
configure:2222: $? = 0
configure:2249: gcc -E  conftest.c
configure:2246:28: ac_nonexistent.h: No such file or directory
configure:2255: $? = 1
configure: failed program was:
#line 2245 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2296: checking whether gcc needs -traditional
configure:2331: result: no
configure:2338: checking whether gcc understands -c and -o together
configure:2354: gcc -c conftest.c -o conftest2.o >&5
configure:2357: $? = 0
configure:2359: gcc -c conftest.c -o conftest2.o >&5
configure:2362: $? = 0
configure:2373: result: yes
configure:2380: checking for POSIXized ISC
configure:2399: result: no
configure:2404: checking for gcc option to accept ANSI C
configure:2519: gcc -c -g -O2  -DCC_HAS_PROTOS  conftest.c >&5
configure:2522: $? = 0
configure:2525: test -s conftest.o
configure:2528: $? = 0
configure:2541: result: -DCC_HAS_PROTOS
configure:2664: checking for ldconfig
configure:2681: found /sbin/ldconfig
configure:2692: result: /sbin/ldconfig
configure:2703: checking if you want to ensure bool is consistent with C++
configure:2713: result: yes
configure:2770: checking for g++
configure:2796: result: no
configure:2770: checking for c++
configure:2796: result: no
configure:2770: checking for gpp
configure:2796: result: no
configure:2770: checking for aCC
configure:2796: result: no
configure:2770: checking for CC
configure:2796: result: no
configure:2770: checking for cxx
configure:2796: result: no
configure:2770: checking for cc++
configure:2796: result: no
configure:2770: checking for cl
configure:2796: result: no
configure:2770: checking for FCC
configure:2796: result: no
configure:2770: checking for KCC
configure:2796: result: no
configure:2770: checking for RCC
configure:2796: result: no
configure:2770: checking for xlC_r
configure:2796: result: no
configure:2770: checking for xlC
configure:2796: result: no
configure:2808: checking for C++ compiler version
configure:2811: g++ --version </dev/null >&5
./configure: line 1: g++: command not found
configure:2814: $? = 127
configure:2816: g++ -v </dev/null >&5
./configure: line 1: g++: command not found
configure:2819: $? = 127
configure:2821: g++ -V </dev/null >&5
./configure: line 1: g++: command not found
configure:2824: $? = 127
configure:2827: checking whether we are using the GNU C++ compiler
configure:2848: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:2851: $? = 127
configure: failed program was:
#line 2833 "configure"
#include "confdefs.h"

int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
configure:2869: result: no
configure:2875: checking whether g++ accepts -g
configure:2893: g++ -c -g  conftest.cc >&5
./configure: line 1: g++: command not found
configure:2896: $? = 127
configure: failed program was:
#line 2881 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
configure:2912: result: no
configure:2952: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:2955: $? = 127
configure: failed program was:
#line 2939 "configure"
#include "confdefs.h"
#include <stdlib.h>

int
main ()
{
exit (42);
  ;
  return 0;
}
configure:2952: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:2955: $? = 127
configure: failed program was:
#line 2939 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:2952: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:2955: $? = 127
configure: failed program was:
#line 2939 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void std::exit (int) throw (); using std::exit;
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:2952: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:2955: $? = 127
configure: failed program was:
#line 2939 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void std::exit (int); using std::exit;
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:2952: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:2955: $? = 127
configure: failed program was:
#line 2939 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void exit (int) throw ();
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:2952: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:2955: $? = 127
configure: failed program was:
#line 2939 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void exit (int);
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:2952: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:2955: $? = 127
configure: failed program was:
#line 2939 "configure"
#include "confdefs.h"
#include <stdlib.h>
void exit (int);
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:3019: checking for g++
configure:3050: result: no
configure:3081: checking if you want to build C++ binding and demo
configure:3091: result: yes
configure:3094: checking if you want to build with Ada95
configure:3104: result: yes
configure:3107: checking if you want to build programs such as tic
configure:3117: result: yes
configure:3120: checking if you wish to install curses.h
configure:3130: result: yes
configure:3156: checking for mawk
configure:3171: found /usr/bin/mawk
configure:3179: result: mawk
configure:3193: checking for egrep
configure:3203: result: grep -E
configure:3223: checking for a BSD compatible install
configure:3272: result: /usr/bin/install -c
configure:3297: checking for tdlint
configure:3323: result: no
configure:3297: checking for lint
configure:3323: result: no
configure:3297: checking for alint
configure:3323: result: no
configure:3330: checking whether ln -s works
configure:3334: result: yes
configure:3341: checking whether make sets ${MAKE}
configure:3361: result: yes
configure:3370: checking if filesystem supports mixed-case filenames
configure:3397: result: yes
configure:3405: checking for ctags
configure:3429: result: no
configure:3439: checking for etags
configure:3463: result: no
configure:3486: checking for makeflags variable
configure:3520: result: 
configure:3523: checking for long file names
configure:3562: result: yes
configure:3572: checking if filesystem supports mixed-case filenames
configure:3599: result: yes
configure:3643: checking for ranlib
configure:3658: found /usr/bin/ranlib
configure:3667: result: ranlib
configure:3717: checking for ld
configure:3732: found /usr/bin/ld
configure:3741: result: ld
configure:3791: checking for ar
configure:3806: found /usr/bin/ar
configure:3815: result: ar
configure:3831: checking for archiver options (symbol AR_OPTS)
configure:3840: result: rv
configure:3845: checking if you have specified an install-prefix
configure:3858: result: 
configure:4030: checking if you want to build libraries with libtool
configure:4040: result: no
configure:4170: checking if you want to build shared libraries
configure:4180: result: no
configure:4184: checking if you want to build static libraries
configure:4194: result: yes
configure:4198: checking if you want to build debug libraries
configure:4208: result: yes
configure:4212: checking if you want to build profiling libraries
configure:4222: result: no
configure:4230: checking for specified models
configure:4234: result:  normal debug
configure:4239: checking for default model
configure:4242: result: normal
configure:4267: checking if you want to build a separate terminfo library
configure:4277: result: no
configure:4283: checking if you want to link with the GPM mouse library
configure:4293: result: maybe
configure:4297: checking for gpm.h
configure:4307: gcc -E  conftest.c
configure:4304:17: gpm.h: No such file or directory
configure:4313: $? = 1
configure: failed program was:
#line 4303 "configure"
#include "confdefs.h"
#include <gpm.h>
configure:4332: result: no
configure:4803: checking for default loader flags
configure:4812: result: 
configure:4815: checking if rpath option should be used
configure:4825: result: no
configure:4835: checking if release/abi version should be used for shared libs
configure:4859: result: auto
configure:4868: checking which gcc option to use
configure:4887: gcc -c -g -O2 -fPIC  conftest.c >&5
configure:4890: $? = 0
configure:4893: test -s conftest.o
configure:4896: $? = 0
configure:4905: result: -fPIC
configure:5228: checking if you wish to install ncurses overwriting curses
configure:5238: result: yes
configure:5241: checking if external terminfo-database is used
configure:5251: result: yes
configure:5273: checking which terminfo source-file will be installed
configure:5281: result: ${top_srcdir}/misc/terminfo.src
configure:5284: checking whether to use hashed database instead of 
directory/tree
configure:5294: result: no
configure:5298: checking for list of fallback descriptions
configure:5308: result: 
configure:5312: checking if you want modern xterm or antique
configure:5326: result: xterm-new
configure:5336: checking for list of terminfo directories
configure:5389: result: /usr/share/terminfo
configure:5395: checking for default terminfo directory
configure:5438: result: /usr/share/terminfo
configure:5448: checking if big-core option selected
configure:5474: gcc -o conftest -g -O2   conftest.c  >&5
configure:5477: $? = 0
configure:5479: ./conftest
configure:5482: $? = 0
configure:5494: result: yes
configure:5501: checking if you want termcap-fallback support
configure:5511: result: no
configure:5627: checking if ~/.terminfo is wanted
configure:5637: result: yes
configure:5643: checking if you want to use restricted environment when running 
as root
configure:5653: result: yes
configure:5667: checking for remove
configure:5704: gcc -o conftest -g -O2   conftest.c  >&5
configure:5707: $? = 0
configure:5710: test -s conftest
configure:5713: $? = 0
configure:5723: result: yes
configure:5667: checking for unlink
configure:5704: gcc -o conftest -g -O2   conftest.c  >&5
configure:5707: $? = 0
configure:5710: test -s conftest
configure:5713: $? = 0
configure:5723: result: yes
configure:5807: checking if link/symlink functions work
configure:5850: gcc -o conftest -g -O2   conftest.c  >&5
configure:5853: $? = 0
configure:5855: ./conftest
configure:5858: $? = 0
configure:5850: gcc -o conftest -g -O2   conftest.c  >&5
configure:5853: $? = 0
configure:5855: ./conftest
configure:5858: $? = 0
configure:5876: result:  link symlink
configure:5894: checking if tic should use symbolic links
configure:5904: result: no
configure:5911: checking if tic should use hard links
configure:5918: result: yes
configure:5931: checking if you want broken-linker support code
configure:5941: result: no
configure:5966: checking if tputs should process BSD-style prefix padding
configure:5976: result: no
configure:5993: checking if gcc -U and -D options work together
configure:6021: gcc -c -g -O2 -UU_D_OPTIONS -DU_D_OPTIONS -DD_U_OPTIONS 
-UD_U_OPTIONS conftest.c >&5
configure:6024: $? = 0
configure:6027: test -s conftest.o
configure:6030: $? = 0
configure:6044: result: yes
configure:6070: checking if we must define _GNU_SOURCE
configure:6092: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:6084: error: `make' undeclared (first use in this function)
configure:6084: error: (Each undeclared identifier is reported only once
configure:6084: error: for each function it appears in.)
configure:6084: error: syntax error before "an"
configure:6095: $? = 1
configure: failed program was:
#line 6077 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
configure:6125: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure: In function `main':
configure:6117: error: `make' undeclared (first use in this function)
configure:6117: error: (Each undeclared identifier is reported only once
configure:6117: error: for each function it appears in.)
configure:6117: error: syntax error before "an"
configure:6128: $? = 1
configure: failed program was:
#line 6110 "configure"
#include "confdefs.h"
#include <sys/types.h>
int
main ()
{

#ifdef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
configure:6149: result: yes
configure:6445: checking if SIGWINCH is defined
configure:6467: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:6470: $? = 0
configure:6473: test -s conftest.o
configure:6476: $? = 0
configure:6524: result: yes
configure:6594: checking for nl_langinfo and CODESET
configure:6612: gcc -o conftest -g -O2  -D_GNU_SOURCE  conftest.c  >&5
configure:6615: $? = 0
configure:6618: test -s conftest
configure:6621: $? = 0
configure:6632: result: yes
configure:6646: checking if you want wide-character code
configure:6656: result: no
configure:7207: checking whether to enable _LP64 definition in curses.h
configure:7217: result: no
configure:7233: checking for special C compiler options needed for large files
configure:7307: result: no
configure:7313: checking for _FILE_OFFSET_BITS value needed for large files
configure:7341: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:7328: warning: left shift count >= width of type
configure:7328: warning: left shift count >= width of type
configure:7330: error: size of array `off_t_is_large' is negative
configure:7344: $? = 1
configure: failed program was:
#line 7321 "configure"
#include "confdefs.h"
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                       && LARGE_OFF_T % 2147483647 == 1)
                      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
configure:7380: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:7383: $? = 0
configure:7386: test -s conftest.o
configure:7389: $? = 0
configure:7400: result: 64
configure:7410: checking for _LARGE_FILES value needed for large files
configure:7438: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:7441: $? = 0
configure:7444: test -s conftest.o
configure:7447: $? = 0
configure:7497: result: no
configure:7510: checking for _LARGEFILE_SOURCE value needed for large files
configure:7530: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:7533: $? = 0
configure:7536: test -s conftest.o
configure:7539: $? = 0
configure:7581: result: no
configure:7595: checking for fseeko
configure:7613: gcc -o conftest -g -O2  -D_GNU_SOURCE  conftest.c  >&5
configure:7616: $? = 0
configure:7619: test -s conftest
configure:7622: $? = 0
configure:7632: result: yes
configure:7652: checking whether to use struct dirent64
configure:7680: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure: In function `main':
configure:7669: error: conflicting types for `readdir'
/usr/include/dirent.h:158: error: previous declaration of `readdir'
configure:7669: warning: extern declaration of `readdir' doesn't match global 
one
configure:7671: warning: initialization from incompatible pointer type
configure:7672: error: invalid operands to binary -
configure:7683: $? = 1
configure: failed program was:
#line 7659 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <dirent.h>

int
main ()
{

                /* if transitional largefile support is setup, this is true */
                extern struct dirent64 * readdir(DIR *);
                struct dirent64 *x = readdir((DIR *)0);
                struct dirent *y = readdir((DIR *)0);
                int z = x - y;

  ;
  return 0;
}
configure:7700: result: no
configure:7709: checking if you want tparm not to use X/Open fixed-parameter 
list
configure:7719: result: yes
configure:7725: checking for type of bool
configure:7735: result: auto
configure:7738: checking for alternate terminal capabilities file
configure:7749: result: Caps
configure:7753: checking for type of chtype
configure:7763: result: auto
configure:7767: checking for type of ospeed
configure:7777: result: short
configure:7781: checking for type of mmask_t
configure:7791: result: auto
configure:7795: checking if RCS identifiers should be compiled-in
configure:7805: result: no
configure:7813: checking format of man-pages
configure:7902: result:  gzip
configure:7909: checking for manpage renaming
configure:7951: result: /mnt/a/home/mel/ncurses-5.6/man/man_db.renames
configure:7954: checking if manpage aliases will be installed
configure:7965: result: yes
configure:7976: checking if manpage symlinks should be used
configure:7995: result: yes
configure:7999: checking for manpage tbl
configure:8010: result: no
configure:8311: checking if you want to build with function extensions
configure:8321: result: yes
configure:8358: checking for extended use of const keyword
configure:8368: result: no
configure:8375: checking if you want $NCURSES_NO_PADDING code
configure:8385: result: yes
configure:8391: checking for ANSI C header files
configure:8405: gcc -E  -D_GNU_SOURCE conftest.c
configure:8411: $? = 0
configure:8498: gcc -o conftest -g -O2  -D_GNU_SOURCE  conftest.c  >&5
configure:8501: $? = 0
configure:8503: ./conftest
configure:8506: $? = 0
configure:8519: result: yes
configure:8535: checking for sys/types.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8535: checking for sys/stat.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8535: checking for stdlib.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8535: checking for string.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8535: checking for memory.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8535: checking for strings.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8535: checking for inttypes.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8535: checking for stdint.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8535: checking for unistd.h
configure:8547: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8550: $? = 0
configure:8553: test -s conftest.o
configure:8556: $? = 0
configure:8566: result: yes
configure:8576: checking for signed char
configure:8597: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:8600: $? = 0
configure:8603: test -s conftest.o
configure:8606: $? = 0
configure:8616: result: yes
configure:8619: checking size of signed char
configure:8783: gcc -o conftest -g -O2  -D_GNU_SOURCE  conftest.c  >&5
configure:8786: $? = 0
configure:8788: ./conftest
configure:8791: $? = 0
configure:8807: result: 1
configure:8818: checking if you want to use signed Boolean array in term.h
configure:8828: result: no
configure:8833: checking if you want SIGWINCH handler
configure:8843: result: yes
configure:8850: checking if you want user-definable terminal capabilities like 
termcap
configure:8860: result: yes
configure:8868: checking if you want all development code
configure:8878: result: no
configure:8882: checking if you want hard-tabs code
configure:8892: result: no
configure:8899: checking if you want limited support for xmc
configure:8909: result: no
configure:8918: checking if you do not want to assume colors are white-on-black
configure:8928: result: yes
configure:8935: checking if you want hashmap scrolling-optimization code
configure:8945: result: yes
configure:8952: checking if you want colorfgbg code
configure:8962: result: no
configure:8969: checking if you want to use experimental extended colors
configure:8979: result: no
configure:9009: checking if you want to use experimental extended mouse encoding
configure:9019: result: no
configure:9038: checking if you want experimental safe-sprintf code
configure:9048: result: no
configure:9075: checking if you want experimental wgetch-events code
configure:9085: result: no
configure:9094: checking if you want to display full commands during build
configure:9110: result: yes
configure:9114: checking if you want to see compiler warnings
configure:9122: result: 
configure:9464: checking for gcc __attribute__ directives...
checking for gcc __attribute__((scanf))
configure:9505: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:9508: $? = 0
checking for gcc __attribute__((printf))
configure:9505: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:9508: $? = 0
checking for gcc __attribute__((unused))
configure:9505: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:9508: $? = 0
checking for gcc __attribute__((noreturn))
configure:9505: gcc -c -g -O2  -D_GNU_SOURCE conftest.c >&5
configure:9508: $? = 0
configure:9522: checking if you want to enable runtime assertions
configure:9532: result: no
configure:9550: checking if you want to use dmalloc for testing
configure:9566: result: no
configure:9751: checking if you want to use dbmalloc for testing
configure:9767: result: no
configure:9952: checking if you want to use valgrind for testing
configure:9968: result: no
configure:10051: checking if you want to perform memory-leak testing
configure:10061: result: no
configure:10106: checking whether to add trace feature to all models
configure:10116: result: no
configure:10197: checking for gettimeofday
configure:10234: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:10237: $? = 0
configure:10240: test -s conftest
configure:10243: $? = 0
configure:10253: result: yes
configure:10321: checking if -lm needed for math functions
configure:10343: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
/tmp/ccIWUwhh.o(.text+0x14): In function `main':
/mnt/a/home/mel/ncurses-5.6/configure:10336: undefined reference to `sin'
collect2: ld returned 1 exit status
configure:10346: $? = 1
configure: failed program was:
#line 10328 "configure"
#include "confdefs.h"

        #include <stdio.h>
        #include <math.h>

int
main ()
{
double x = rand(); printf("result = %g\n", sin(x))
  ;
  return 0;
}
configure:10362: result: yes
configure:10370: checking for ANSI C header files
configure:10498: result: yes
configure:10511: checking for dirent.h that defines DIR
configure:10532: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:10535: $? = 0
configure:10538: test -s conftest.o
configure:10541: $? = 0
configure:10551: result: yes
configure:10564: checking for opendir in -ldir
configure:10591: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c 
-ldir   >&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure:10594: $? = 1
configure: failed program was:
#line 10572 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir ();
int
main ()
{
opendir ();
  ;
  return 0;
}
configure:10611: result: no
configure:10673: checking whether time.h and sys/time.h may both be included
configure:10695: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:10698: $? = 0
configure:10701: test -s conftest.o
configure:10704: $? = 0
configure:10714: result: yes
configure:10724: checking for regular-expression headers
configure:10749: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:10752: $? = 0
configure:10755: test -s conftest
configure:10758: $? = 0
configure:10840: result: regex.h
configure:10876: checking for fcntl.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for getopt.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for limits.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for locale.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for poll.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for sys/bsdtypes.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10883:26: sys/bsdtypes.h: No such file or directory
configure:10892: $? = 1
configure: failed program was:
#line 10882 "configure"
#include "confdefs.h"
#include <sys/bsdtypes.h>
configure:10911: result: no
configure:10876: checking for sys/ioctl.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for sys/param.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for sys/poll.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for sys/select.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for sys/time.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for sys/times.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for ttyent.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:10876: checking for unistd.h
configure:10911: result: yes
configure:10876: checking for wctype.h
configure:10886: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:10892: $? = 0
configure:10911: result: yes
configure:11030: checking if sys/time.h works with sys/select.h
configure:11057: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11060: $? = 0
configure:11063: test -s conftest.o
configure:11066: $? = 0
configure:11078: result: yes
configure:11092: checking for gcc option to accept ANSI C
configure:11149: gcc  -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11152: $? = 0
configure:11155: test -s conftest.o
configure:11158: $? = 0
configure:11175: result: none needed
configure:11183: checking for an ANSI C-conforming const
configure:11247: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11250: $? = 0
configure:11253: test -s conftest.o
configure:11256: $? = 0
configure:11266: result: yes
configure:11276: checking for inline
configure:11293: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11296: $? = 0
configure:11299: test -s conftest.o
configure:11302: $? = 0
configure:11313: result: inline
configure:11339: checking for type of chtype
configure:11384: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11387: $? = 0
configure:11389: ./conftest
configure:11392: $? = 0
configure:11407: result: long
configure:11418: checking if unsigned literals are legal
configure:11437: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11440: $? = 0
configure:11443: test -s conftest.o
configure:11446: $? = 0
configure:11458: result: yes
configure:11473: checking if external errno is declared
configure:11498: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11501: $? = 0
configure:11504: test -s conftest.o
configure:11507: $? = 0
configure:11518: result: yes
configure:11533: checking if external errno exists
configure:11555: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11558: $? = 0
configure:11561: test -s conftest
configure:11564: $? = 0
configure:11575: result: yes
configure:11588: checking if data-only library module links
configure:11599: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11602: $? = 0
ar: creating conftest.a
configure:11622: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11625: $? = 0
configure:11649: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c 
conftest.a  >&5
configure:11652: $? = 0
configure:11654: ./conftest
configure:11657: $? = 0
configure:11672: result: yes
configure:11707: checking for getcwd
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for getegid
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for geteuid
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for getttynam
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for issetugid
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
/tmp/cc6vIxAU.o(.text+0x14): In function `main':
/mnt/a/home/mel/ncurses-5.6/configure:11735: undefined reference to `issetugid'
collect2: ld returned 1 exit status
configure:11747: $? = 1
configure: failed program was:
#line 11713 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char issetugid (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char issetugid ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_issetugid) || defined (__stub___issetugid)
choke me
#else
f = issetugid;
#endif

  ;
  return 0;
}
configure:11763: result: no
configure:11707: checking for poll
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for remove
configure:11763: result: yes
configure:11707: checking for select
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for setbuf
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for setbuffer
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for setvbuf
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for sigaction
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for sigvec
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for strdup
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for strstr
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11723: warning: conflicting types for built-in function `strstr'
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for tcgetpgrp
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for times
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11707: checking for vsnprintf
configure:11744: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11723: warning: conflicting types for built-in function `vsnprintf'
configure:11747: $? = 0
configure:11750: test -s conftest
configure:11753: $? = 0
configure:11763: result: yes
configure:11831: checking for isascii
configure:11850: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11853: $? = 0
configure:11856: test -s conftest
configure:11859: $? = 0
configure:11870: result: yes
configure:11877: checking whether sigaction needs _POSIX_SOURCE
configure:11894: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:11897: $? = 0
configure:11900: test -s conftest.o
configure:11903: $? = 0
configure:11950: result: no
configure:11954: checking if nanosleep really works
configure:11989: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:11992: $? = 0
configure:11994: ./conftest
configure:11997: $? = 0
configure:12009: result: yes
configure:12023: checking for termio.h
configure:12033: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:12039: $? = 0
configure:12058: result: yes
configure:12023: checking for termios.h
configure:12033: gcc -E  -D_GNU_SOURCE -DNDEBUG conftest.c
configure:12039: $? = 0
configure:12058: result: yes
configure:12023: checking for unistd.h
configure:12058: result: yes
configure:12126: checking whether termios.h needs _POSIX_SOURCE
configure:12141: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:12144: $? = 0
configure:12147: test -s conftest.o
configure:12150: $? = 0
configure:12196: result: no
configure:12201: checking for tcgetattr
configure:12236: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:12239: $? = 0
configure:12242: test -s conftest
configure:12245: $? = 0
configure:12255: result: yes
configure:12261: checking for vsscanf function or workaround
configure:12284: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:12287: $? = 0
configure:12290: test -s conftest
configure:12293: $? = 0
configure:12386: result: vsscanf
configure:12404: checking for working mkstemp
configure:12511: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:12514: $? = 0
configure:12516: ./conftest
configure:12519: $? = 0
configure:12534: result: yes
configure:12555: checking whether setvbuf arguments are reversed
configure:12583: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure: In function `main':
configure:12575: warning: passing arg 2 of `setvbuf' makes pointer from integer 
without a cast
configure:12575: warning: passing arg 3 of `setvbuf' makes integer from pointer 
without a cast
configure:12586: $? = 0
configure:12588: ./conftest
configure:12591: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 12566 "configure"
#include "confdefs.h"
#include <stdio.h>
/* If setvbuf has the reversed format, exit 0. */
int
main ()
{
  /* This call has the arguments reversed.
     A reversed system may check and see that the address of main
     is not _IOLBF, _IONBF, or _IOFBF, and return nonzero.  */
  if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
    return(1);
  putc('\r', stdout);
  return(0);                    /* Non-reversed systems segv here.  */
}
configure:12604: result: no
configure:12615: checking return type of signal handlers
configure:12643: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:12646: $? = 0
configure:12649: test -s conftest.o
configure:12652: $? = 0
configure:12662: result: void
configure:12669: checking for type sigaction_t
configure:12689: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure: In function `main':
configure:12682: error: `sigaction_t' undeclared (first use in this function)
configure:12682: error: (Each undeclared identifier is reported only once
configure:12682: error: for each function it appears in.)
configure:12682: error: syntax error before "x"
configure:12692: $? = 1
configure: failed program was:
#line 12676 "configure"
#include "confdefs.h"

#include <signal.h>
int
main ()
{
sigaction_t x
  ;
  return 0;
}
configure:12709: result: no
configure:12715: checking declaration of size-change
configure:12774: gcc -c -g -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:12777: $? = 0
configure:12780: test -s conftest.o
configure:12783: $? = 0
size-change succeeded ()
configure:12802: result: yes
configure:12819: checking for memmove
configure:12856: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:12859: $? = 0
configure:12862: test -s conftest
configure:12865: $? = 0
configure:12875: result: yes
configure:13007: checking if poll really works
configure:13038: gcc -o conftest -g -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:13041: $? = 0
configure:13043: ./conftest
configure:13046: $? = 0
configure:13058: result: yes
configure:13314: checking if we should include stdbool.h
configure:13334: gcc -c -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure: In function `main':
configure:13327: error: `bool' undeclared (first use in this function)
configure:13327: error: (Each undeclared identifier is reported only once
configure:13327: error: for each function it appears in.)
configure:13327: error: syntax error before "foo"
configure:13337: $? = 1
configure: failed program was:
#line 13322 "configure"
#include "confdefs.h"

int
main ()
{
bool foo = false
  ;
  return 0;
}
configure:13366: gcc -c -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure:13369: $? = 0
configure:13372: test -s conftest.o
configure:13375: $? = 0
configure:13389: result: yes
configure:13395: checking for builtin bool type
configure:13418: gcc -c -O2  -D_GNU_SOURCE -DNDEBUG conftest.c >&5
configure: In function `main':
configure:13411: error: `bool' undeclared (first use in this function)
configure:13411: error: (Each undeclared identifier is reported only once
configure:13411: error: for each function it appears in.)
configure:13411: error: syntax error before "x"
configure:13421: $? = 1
configure: failed program was:
#line 13403 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <sys/types.h>

int
main ()
{
bool x = false
  ;
  return 0;
}
configure:13442: result: no
configure:14587: checking for size of bool
configure:14640: gcc -o conftest -O2  -D_GNU_SOURCE -DNDEBUG  conftest.c  >&5
configure:14643: $? = 0
configure:14645: ./conftest
configure:14648: $? = 0
configure:14666: result: unsigned char
configure:14714: checking for gnatmake
configure:14738: result: no
configure:14980: checking for library subsets
configure:14993: result: termlib+ext_tinfo+base+ext_funcs
configure:15031: checking default library suffix
configure:15042: result: 
configure:15045: checking default library-dependency suffix
configure:15074: result: .a
configure:15077: checking default object directory
configure:15093: result: objects
configure:15098: checking c++ library-dependency suffix
configure:15124: result: .a
configure:15163: checking where we will install curses.h
configure:15168: result: ${prefix}/include
configure:15189: checking for src modules
configure:15252: result: ncurses progs tack panel menu form
configure:15498: creating ./config.status

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

This file was extended by config.status 2.52.20061216, executed with
  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  > ./config.status 
on dustpuppy

config.status:16149: creating include/MKterm.h.awk
config.status:16149: creating include/curses.head
config.status:16149: creating include/termcap.h
config.status:16149: creating include/unctrl.h
config.status:16149: creating man/Makefile
config.status:16149: creating include/Makefile
config.status:16149: creating ncurses/Makefile
config.status:16149: creating progs/Makefile
config.status:16149: creating tack/Makefile
config.status:16149: creating panel/Makefile
config.status:16149: creating menu/Makefile
config.status:16149: creating form/Makefile
config.status:16149: creating test/Makefile
config.status:16149: creating misc/Makefile
config.status:16149: creating c++/Makefile
config.status:16149: creating misc/run_tic.sh
config.status:16149: creating misc/ncurses-config
config.status:16149: creating Makefile
config.status:16246: creating include/ncurses_cfg.h
config.status:16328: include/ncurses_cfg.h is unchanged

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

ac_cv_build=armv4l-unknown-linux-gnu
ac_cv_build_alias=armv4l-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=no
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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_func_fseeko=yes
ac_cv_func_getcwd=yes
ac_cv_func_getegid=yes
ac_cv_func_geteuid=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_getttynam=yes
ac_cv_func_issetugid=no
ac_cv_func_link=yes
ac_cv_func_memmove=yes
ac_cv_func_poll=yes
ac_cv_func_remove=yes
ac_cv_func_select=yes
ac_cv_func_setbuf=yes
ac_cv_func_setbuffer=yes
ac_cv_func_setvbuf=yes
ac_cv_func_setvbuf_reversed=no
ac_cv_func_sigaction=yes
ac_cv_func_sigvec=yes
ac_cv_func_strdup=yes
ac_cv_func_strstr=yes
ac_cv_func_symlink=yes
ac_cv_func_tcgetpgrp=yes
ac_cv_func_times=yes
ac_cv_func_unlink=yes
ac_cv_func_vsnprintf=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_getopt_h=yes
ac_cv_header_gpm_h=no
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_poll_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_bsdtypes_h=no
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_poll_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_times_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_termio_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_time=yes
ac_cv_header_ttyent_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_wctype_h=yes
ac_cv_host=armv4l-unknown-linux-gnu
ac_cv_host_alias=armv4l-unknown-linux-gnu
ac_cv_lib_dir_opendir=no
ac_cv_objext=o
ac_cv_path_LDCONFIG=/sbin/ldconfig
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_MAKE_LOWER_TAGS=no
ac_cv_prog_MAKE_UPPER_TAGS=no
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_LD=ld
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_egrep='grep -E'
ac_cv_prog_gcc_traditional=no
ac_cv_prog_gnat_exists=no
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_signed_char=1
ac_cv_sys_file_offset_bits=64
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_target=armv4l-unknown-linux-gnu
ac_cv_target_alias=armv4l-unknown-linux-gnu
ac_cv_type_signal=void
ac_cv_type_signed_char=yes
am_cv_langinfo_codeset=yes
cf_cv_1UL=1UL
cf_cv_abi_version=5
cf_cv_ansi_cc=-DCC_HAS_PROTOS
cf_cv_builtin_bool=1
cf_cv_cc_bool_type=0
cf_cv_cc_u_d_options=yes
cf_cv_dcl_errno=yes
cf_cv_define_sigwinch=yes
cf_cv_do_symlinks=yes
cf_cv_enable_lp64=0
cf_cv_func_mkstemp=yes
cf_cv_func_nanosleep=yes
cf_cv_func_vsscanf=vsscanf
cf_cv_gnu_source=yes
cf_cv_have_errno=yes
cf_cv_have_isascii=yes
cf_cv_have_tcgetattr=yes
cf_cv_header_stdbool_h=1
cf_cv_ld_rpath=no
cf_cv_link_dataonly=yes
cf_cv_link_funcs=' link symlink'
cf_cv_makeflags=
cf_cv_mixedcase=yes
cf_cv_need_libm=yes
cf_cv_prog_CC_c_o=yes
cf_cv_regex=regex.h
cf_cv_rel_version=5.6
cf_cv_rm_so_locs=no
cf_cv_shlib_version=rel
cf_cv_shlib_version_infix=no
cf_cv_sizechange=yes
cf_cv_src_modules='ncurses progs tack panel menu form'
cf_cv_struct_dirent64=no
cf_cv_subst_AR_OPTS=rv
cf_cv_sys_time_select=yes
cf_cv_system_name=linux-gnu
cf_cv_timestamp='Sat Mar 24 02:49:54 UTC 2007'
cf_cv_type_of_bool='unsigned char'
cf_cv_type_sigaction=no
cf_cv_typeof_chtype=long
cf_cv_typeof_mmask_t=long
cf_cv_unsigned_literals=yes
cf_cv_working_poll=yes

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

#define SYSTEM_NAME "linux-gnu"
#define CC_HAS_PROTOS 1
#ifdef __cplusplus
void exit (int);
#endif
#define MIXEDCASE_FILENAMES 1
#define HAVE_LONG_FILE_NAMES 1
#define MIXEDCASE_FILENAMES 1
#define USE_DATABASE 1
#define TERMINFO_DIRS "/usr/share/terminfo"
#define TERMINFO "/usr/share/terminfo"
#define HAVE_BIG_CORE 1
#define PURE_TERMINFO 1
#define USE_HOME_TERMINFO 1
#define USE_ROOT_ENVIRON 1
#define HAVE_REMOVE 1
#define HAVE_UNLINK 1
#define HAVE_LINK 1
#define HAVE_SYMLINK 1
#define USE_LINKS 1
#define HAVE_LANGINFO_CODESET 1
#define _FILE_OFFSET_BITS 64
#define HAVE_FSEEKO 1
#define HAVE_CURSES_VERSION 1
#define HAVE_HAS_KEY 1
#define HAVE_RESIZETERM 1
#define HAVE_RESIZE_TERM 1
#define HAVE_USE_DEFAULT_COLORS 1
#define HAVE_WRESIZE 1
#define NCURSES_EXT_FUNCS 1
#define NCURSES_NO_PADDING 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 SIZEOF_SIGNED_CHAR 1
#define USE_SIGWINCH 1
#define USE_ASSUMED_COLOR 1
#define USE_HASHMAP 1
#define GCC_SCANF 1
#define GCC_PRINTF 1
#define GCC_UNUSED __attribute__((unused))
#define GCC_NORETURN __attribute__((noreturn))
#define NDEBUG 1
#define HAVE_NC_ALLOC_H 1
#define HAVE_GETTIMEOFDAY 1
#define STDC_HEADERS 1
#define HAVE_DIRENT_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_REGEX_H_FUNCS 1
#define HAVE_FCNTL_H 1
#define HAVE_GETOPT_H 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_POLL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_TTYENT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_WCTYPE_H 1
#define HAVE_SYS_TIME_SELECT 1
#define CC_HAS_INLINE_FUNCS 1
#define TYPEOF_CHTYPE long
#define HAVE_ERRNO 1
#define HAVE_GETCWD 1
#define HAVE_GETEGID 1
#define HAVE_GETEUID 1
#define HAVE_GETTTYNAM 1
#define HAVE_POLL 1
#define HAVE_REMOVE 1
#define HAVE_SELECT 1
#define HAVE_SETBUF 1
#define HAVE_SETBUFFER 1
#define HAVE_SETVBUF 1
#define HAVE_SIGACTION 1
#define HAVE_SIGVEC 1
#define HAVE_STRDUP 1
#define HAVE_STRSTR 1
#define HAVE_TCGETPGRP 1
#define HAVE_TIMES 1
#define HAVE_VSNPRINTF 1
#define HAVE_ISASCII 1
#define HAVE_NANOSLEEP 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_TCGETATTR 1
#define HAVE_VSSCANF 1
#define HAVE_MKSTEMP 1
#define RETSIGTYPE void
#define HAVE_SIZECHANGE 1
#define HAVE_WORKING_POLL 1
#define HAVE_SLK_COLOR 1
#define HAVE_PANEL_H 1
#define HAVE_LIBPANEL 1
#define HAVE_MENU_H 1
#define HAVE_LIBMENU 1
#define HAVE_FORM_H 1
#define HAVE_LIBFORM 1
#define NCURSES_PATHSEP ':'
#define NCURSES_VERSION_STRING "5.6.20061217"


configure: exit 0
# $Id: Makefile.in,v 1.24 2005/01/29 19:30:06 tom Exp $
##############################################################################
# Copyright (c) 1998-2004,2005 Free Software Foundation, Inc.                #
#                                                                            #
# Permission is hereby granted, free of charge, to any person obtaining a    #
# copy of this software and associated documentation files (the "Software"), #
# to deal in the Software without restriction, including without limitation  #
# the rights to use, copy, modify, merge, publish, distribute, distribute    #
# with modifications, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the  #
# following conditions:                                                      #
#                                                                            #
# The above copyright notice and this permission notice shall be included in #
# all copies or substantial portions of the Software.                        #
#                                                                            #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
# DEALINGS IN THE SOFTWARE.                                                  #
#                                                                            #
# Except as contained in this notice, the name(s) of the above copyright     #
# holders shall not be used in advertising or otherwise to promote the sale, #
# use or other dealings in this Software without prior written               #
# authorization.                                                             #
##############################################################################
#
# Author: Thomas E. Dickey <address@hidden> 1996,1997
#
# Master Makefile for ncurses library.

SHELL = /bin/sh

DESTDIR=
CF_MFLAGS =  DESTDIR="$(DESTDIR)"



NCURSES_MAJOR   = 5
NCURSES_MINOR   = 6
NCURSES_PATCH   = 20061217

prefix          = /usr
exec_prefix     = ${prefix}

bindir          = ${exec_prefix}/bin
ticdir          = /usr/share/terminfo
includedir      = ${prefix}/include
libdir          = ${exec_prefix}/lib
mandir          = ${prefix}/man

INSTALL         = /usr/bin/install -c
INSTALL_DATA    = ${INSTALL} -m 644

DIRS_TO_MAKE    = lib objects obj_g

all ::  $(DIRS_TO_MAKE)

$(DIRS_TO_MAKE) :
        mkdir $@

preinstall :
        @ echo ''
        @ echo '** Configuration summary for NCURSES 
$(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):'
        @ echo ''
        @ echo '     extended funcs: '`test 1 != 0 && echo yes || echo no`
        @ echo '     xterm terminfo: 'xterm-new
        @ echo ''
        @ echo '      bin directory: '$(bindir)
        @ echo '      lib directory: '$(libdir)
        @ echo '  include directory: '$(includedir)
        @ echo '      man directory: '$(mandir)
        @ echo ' terminfo directory: '$(ticdir)
        @ echo ''
        @ test "$(includedir)" = "$(prefix)/include" || \
                echo '** Include-directory is not in a standard location'
        @ test ! -f $(includedir)/termcap.h || \
                fgrep NCURSES_VERSION $(includedir)/termcap.h >/dev/null || \
                echo '** Will overwrite non-ncurses termcap.h'
        @ test ! -f $(includedir)/curses.h || \
                fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \
                echo '** Will overwrite non-ncurses curses.h'

# Put the common rules here so that we can easily construct the list of
# directories to visit.
all \
clean \
distclean \
mostlyclean \
realclean \
depend \
sources \
tags \
uninstall \
install ::
        cd man && ${MAKE} ${CF_MFLAGS} $@
        cd include && ${MAKE} ${CF_MFLAGS} $@
        cd ncurses && ${MAKE} ${CF_MFLAGS} $@
        cd progs && ${MAKE} ${CF_MFLAGS} $@
        cd tack && ${MAKE} ${CF_MFLAGS} $@
        cd panel && ${MAKE} ${CF_MFLAGS} $@
        cd menu && ${MAKE} ${CF_MFLAGS} $@
        cd form && ${MAKE} ${CF_MFLAGS} $@
        cd test && ${MAKE} ${CF_MFLAGS} $@
        cd misc && ${MAKE} ${CF_MFLAGS} $@
        cd c++ && ${MAKE} ${CF_MFLAGS} $@

libs \
install.libs \
uninstall.libs \
install.includes \
uninstall.includes ::
        cd include && ${MAKE} ${CF_MFLAGS} $@

lint \
libs \
lintlib \
install.libs \
uninstall.libs \
install.ncurses \
uninstall.ncurses ::
        cd ncurses && ${MAKE} ${CF_MFLAGS} $@

lint \
libs \
lintlib \
install.libs \
uninstall.libs \
install.progs \
uninstall.progs ::
        cd progs && ${MAKE} ${CF_MFLAGS} $@

lint \
libs \
lintlib \
install.libs \
uninstall.libs \
install.tack \
uninstall.tack ::
        cd tack && ${MAKE} ${CF_MFLAGS} $@

install.includes \
uninstall.includes \
lint \
libs \
lintlib \
install.libs \
uninstall.libs \
install.panel \
uninstall.panel ::
        cd panel && ${MAKE} ${CF_MFLAGS} $@

install.includes \
uninstall.includes \
lint \
libs \
lintlib \
install.libs \
uninstall.libs \
install.menu \
uninstall.menu ::
        cd menu && ${MAKE} ${CF_MFLAGS} $@

install.includes \
uninstall.includes \
lint \
libs \
lintlib \
install.libs \
uninstall.libs \
install.form \
uninstall.form ::
        cd form && ${MAKE} ${CF_MFLAGS} $@

lint \
libs \
lintlib \
install.libs \
uninstall.libs \
install.test \
uninstall.test ::
        cd test && ${MAKE} ${CF_MFLAGS} $@

install.includes \
uninstall.includes \
libs \
lintlib \
install.libs \
uninstall.libs \
install.c++ \
uninstall.c++ ::
        cd c++ && ${MAKE} ${CF_MFLAGS} $@

install.data \
uninstall.data ::
        cd misc && ${MAKE} ${CF_MFLAGS} $@

install.man \
uninstall.man ::
        cd man && ${MAKE} ${CF_MFLAGS} $@

distclean ::
        rm -f config.cache config.log config.status Makefile 
include/ncurses_cfg.h
        rm -f headers.sh headers.sed
        rm -rf ${DIRS_TO_MAKE}
# $Id: Makefile.in,v 1.78 2006/10/21 17:07:49 tom Exp $
##############################################################################
# Copyright (c) 1998-2005,2006 Free Software Foundation, Inc.                #
#                                                                            #
# Permission is hereby granted, free of charge, to any person obtaining a    #
# copy of this software and associated documentation files (the "Software"), #
# to deal in the Software without restriction, including without limitation  #
# the rights to use, copy, modify, merge, publish, distribute, distribute    #
# with modifications, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the  #
# following conditions:                                                      #
#                                                                            #
# The above copyright notice and this permission notice shall be included in #
# all copies or substantial portions of the Software.                        #
#                                                                            #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
# DEALINGS IN THE SOFTWARE.                                                  #
#                                                                            #
# Except as contained in this notice, the name(s) of the above copyright     #
# holders shall not be used in advertising or otherwise to promote the sale, #
# use or other dealings in this Software without prior written               #
# authorization.                                                             #
##############################################################################
#
# Author: Thomas E. Dickey
#
#  Simple makefile for c++ window class demo

# turn off _all_ suffix rules; we'll generate our own
.SUFFIXES:

SHELL           = /bin/sh

CF_MFLAGS       = 

x               = 
o               = .o

MODEL           = ../objects
DESTDIR         = 
srcdir          = .
prefix          = /usr
exec_prefix     = ${prefix}
libdir          = ${exec_prefix}/lib
includedir      = ${prefix}/include

LIBTOOL         = 
LIBTOOL_CLEAN   = 
LIBTOOL_COMPILE = 
LIBTOOL_LINK    = 
LIBTOOL_INSTALL = 
LIBTOOL_UNINSTALL = 

INSTALL         = /usr/bin/install -c
INSTALL_DATA    = ${INSTALL} -m 644

AR              = ar
AR_OPTS         = rv

CXX_AR          = 
CXX_AR_OPTS     = 
RANLIB          = ranlib

CXX             = 
CPP             = 
CXXFLAGS        =  
CXXLIBS         = 

INCDIR          = ../include
CPPFLAGS        = -I../c++ -I$(INCDIR) -I$(srcdir) -DHAVE_CONFIG_H -I. 
-I../include  -D_GNU_SOURCE -DNDEBUG

CCFLAGS         = $(CPPFLAGS) $(CXXFLAGS)

CFLAGS_LIBTOOL  = $(CCFLAGS)
CFLAGS_NORMAL   = $(CCFLAGS)
CFLAGS_DEBUG    = $(CCFLAGS) -g -DTRACE
CFLAGS_PROFILE  = $(CCFLAGS) -pg
CFLAGS_SHARED   = $(CCFLAGS) -fPIC

CFLAGS_DEFAULT  = $(CFLAGS_NORMAL)

NCURSES_MAJOR   = 5
NCURSES_MINOR   = 6
REL_VERSION     = 5.6
ABI_VERSION     = 5

LOCAL_LIBDIR    = /mnt/a/home/mel/ncurses-5.6/lib

LINK            =  $(LIBTOOL_LINK) $(CXX) 
SHLIB_DIRS      = -L../lib
SHLIB_LIST      = $(SHLIB_DIRS) -lncurses 

LIBROOT         = ncurses++

LIBNAME_LIBTOOL = lib$(LIBROOT).la
LIBNAME_NORMAL  = lib$(LIBROOT).a
LIBNAME         = lib$(LIBROOT).a

LINK_FLAGS      =  -L../lib -l$(LIBROOT)

LINK_LIBTOOL    =  -L../lib ../lib/$(LIBNAME)
LINK_NORMAL     = $(LINK_FLAGS)
LINK_DEBUG      = $(LINK_FLAGS)
LINK_PROFILE    = $(LINK_FLAGS)
LINK_SHARED     = $(LINK_FLAGS)

LDFLAGS         = -L../lib -lform -lmenu -lpanel -lncurses   \
           $(CXXLIBS)

LDFLAGS_LIBTOOL = $(LDFLAGS) $(CFLAGS_LIBTOOL)
LDFLAGS_NORMAL  = $(LDFLAGS) $(CFLAGS_NORMAL)
LDFLAGS_DEBUG   = $(LDFLAGS) $(CFLAGS_DEBUG)
LDFLAGS_PROFILE = $(LDFLAGS) $(CFLAGS_PROFILE)
LDFLAGS_SHARED  = $(LDFLAGS) $(CFLAGS_SHARED) 

LDFLAGS_DEFAULT = $(LINK_NORMAL) $(LDFLAGS_NORMAL)

AUTO_SRC        = \
                etip.h

all \
libs ::         $(AUTO_SRC) ../lib/$(LIBNAME)

all ::          demo$x

sources :       $(AUTO_SRC)

depend :

tags:
        ctags *.[h] *.cc

# Build a conventional library for installing, since a shared library would
# pull in all of the ncurses libraries (panel, menu, form, ncurses) as direct
# dependencies.
LIB_OBJS = \
        $(MODEL)/cursesf$o \
        $(MODEL)/cursesm$o \
        $(MODEL)/cursesw$o \
        $(MODEL)/cursespad$o \
        $(MODEL)/cursesp$o \
        $(MODEL)/cursslk$o \
        $(MODEL)/cursesapp$o \
        $(MODEL)/cursesmain$o

../lib/$(LIBNAME_NORMAL) : $(LIB_OBJS)
        $(CXX_AR) $(CXX_AR_OPTS) $@ $?
        $(RANLIB) $@

../lib/$(LIBNAME_LIBTOOL) : $(LIB_OBJS)
        cd ../lib && $(LIBTOOL_LINK) $(CXX) $(CXXFLAGS) \
                -o $(LIBNAME) $(LIB_OBJS:$o=.lo) \
                -rpath $(INSTALL_PREFIX)$(libdir) \
                -version-info $(NCURSES_MAJOR):$(NCURSES_MINOR) $(SHLIB_LIST)

OBJS_DEMO = $(MODEL)/demo$o

$(MODEL)/demo$o : $(srcdir)/demo.cc \
        $(cursesf_h) $(cursesm_h) $(cursesapp_h)

demo$x: $(OBJS_DEMO) \
        ../lib/$(LIBNAME)  \
        ../lib/libform.a ../lib/libmenu.a ../lib/libpanel.a ../lib/libncurses.a 
         $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT)

etip.h: $(srcdir)/etip.h.in $(srcdir)/edit_cfg.sh
        cp $(srcdir)/etip.h.in $@
        sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@

$(DESTDIR)$(libdir) :
        sh $(srcdir)/../mkinstalldirs $@

install \
install.libs:: ../lib/$(LIBNAME) $(DESTDIR)$(libdir)
        $(LIBTOOL_INSTALL) $(INSTALL) ../lib/$(LIBNAME) 
$(DESTDIR)$(libdir)/$(LIBNAME)

uninstall \
uninstall.libs::
        -$(LIBTOOL_UNINSTALL) rm -f $(DESTDIR)$(libdir)/$(LIBNAME)

mostlyclean ::
        -rm -f core tags TAGS *~ *.bak *.i *.ii *.ln *.atac trace

clean :: mostlyclean
        -sh -c "if test -n '$x' ; then $(MAKE) clean x=''; fi"
        -rm -rf $(MODEL)/SunWS_cache
        -$(LIBTOOL_CLEAN) rm -f demo$x $(AUTO_SRC) ../lib/$(LIBNAME) 
$(LIB_OBJS) $(OBJS_DEMO)
        -rm -rf .libs

distclean :: clean
        -rm -f Makefile

realclean :: distclean

###############################################################################

cursesw_h       = $(srcdir)/cursesw.h \
                  etip.h \
                  $(INCDIR)/curses.h

cursesp_h       = $(srcdir)/cursesp.h \
                  $(cursesw_h) \
                  $(INCDIR)/panel.h

cursesf_h       = $(srcdir)/cursesf.h \
                  $(cursesp_h) \
                  $(INCDIR)/form.h

cursesm_h       = $(srcdir)/cursesm.h \
                  $(cursesp_h) \
                  $(INCDIR)/menu.h

cursslk_h       = $(srcdir)/cursslk.h \
                  $(cursesw_h)

cursesapp_h     = $(srcdir)/cursesapp.h \
                  $(cursslk_h)

$(INCDIR)/form.h :
        cd ../form && $(MAKE) $@

$(INCDIR)/menu.h :
        cd ../menu && $(MAKE) $@

$(INCDIR)/panel.h :
        cd ../panel && $(MAKE) $@

###############################################################################
# The remainder of this file is automatically generated during configuration
###############################################################################

# generated by mk-0th.awk
#   libname:    c++
#   subsets:    termlib+ext_tinfo+base+ext_funcs

.SUFFIXES: .c .cc .h .i .ii
.c.i :
        $(CPP) $(CPPFLAGS) $< >$@
.cc.ii :
        $(CPP) $(CPPFLAGS) $< >$@
.h.i :
        $(CPP) $(CPPFLAGS) $< >$@

C_SRC = \
        $(srcdir)/cursesf.cc \
        $(srcdir)/cursesm.cc \
        $(srcdir)/cursesp.cc \
        $(srcdir)/cursesw.cc \
        $(srcdir)/cursespad.cc \
        $(srcdir)/cursslk.cc \
        $(srcdir)/cursesapp.cc \
        $(srcdir)/cursesmain.cc \
        $(srcdir)/demo.cc

lintlib :
        @echo no action needed

# generated by mk-1st.awk (subset=termlib+ext_tinfo+base+ext_funcs)
#  name:          c++
#  traces:        DEBUG
#  MODEL:         NORMAL
#  model:         objects
#  prefix:        lib
#  suffix:        .a
#  subset:        termlib+ext_tinfo+base+ext_funcs
#  ShlibVer:      rel
#  ShlibVerInfix: no
#  DoLinks:       yes
#  rmSoLocs:      no
#  ldconfig:      /sbin/ldconfig
#  overwrite:     yes
#  depend:        ../include/ncurses_cfg.h
#  host:          armv4l-unknown-linux-gnu

NORMAL_OBJS = \
        ../objects/cursesf$o \
        ../objects/cursesm$o \
        ../objects/cursesp$o \
        ../objects/cursesw$o \
        ../objects/cursespad$o \
        ../objects/cursslk$o \
        ../objects/cursesapp$o \
        ../objects/cursesmain$o \
        ../objects/demo$o

$(NORMAL_OBJS) : ../include/ncurses_cfg.h

mostlyclean::
        -rm -f $(NORMAL_OBJS)

clean ::
        -rm -f $(NORMAL_OBJS)

# generated by mk-2nd.awk
#   model:      objects
#   MODEL:      NORMAL
#   echo:       yes
#   subset:     termlib+ext_tinfo+base+ext_funcs
#   crenames:   yes
#   cxxrenames: 
#   traces:     DEBUG
#   srcdir:     .

../objects/cursesf$o :  $(srcdir)/cursesf.cc \
                        $(cursesf_h) \
                        $(cursesapp_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/cursesf.cc

../objects/cursesm$o :  $(srcdir)/cursesm.cc \
                        $(cursesm_h) \
                        $(cursesapp_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/cursesm.cc

../objects/cursesp$o :  $(srcdir)/cursesp.cc \
                        $(cursesp_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/cursesp.cc

../objects/cursesw$o :  $(srcdir)/cursesw.cc \
                        $(cursesw_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/cursesw.cc

../objects/cursespad$o :        $(srcdir)/cursespad.cc \
                        $(cursesw_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/cursespad.cc

../objects/cursslk$o :  $(srcdir)/cursslk.cc \
                        $(cursslk_h) \
                        $(cursesapp_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/cursslk.cc

../objects/cursesapp$o :        $(srcdir)/cursesapp.cc \
                        $(cursesapp_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/cursesapp.cc

../objects/cursesmain$o :       $(srcdir)/cursesmain.cc \
                        $(cursesapp_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/cursesmain.cc

../objects/demo$o :     $(srcdir)/demo.cc \
                        $(cursesf_h) \
                        $(cursesm_h) \
                        $(cursesapp_h)
        cd ../objects; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_NORMAL) -c 
../c++/demo.cc


# generated by mk-1st.awk (subset=termlib+ext_tinfo+base+ext_funcs)
#  name:          c++
#  traces:        DEBUG
#  MODEL:         DEBUG
#  model:         obj_g
#  prefix:        lib
#  suffix:        _g.a
#  subset:        termlib+ext_tinfo+base+ext_funcs
#  ShlibVer:      rel
#  ShlibVerInfix: no
#  DoLinks:       yes
#  rmSoLocs:      no
#  ldconfig:      /sbin/ldconfig
#  overwrite:     yes
#  depend:        ../include/ncurses_cfg.h
#  host:          armv4l-unknown-linux-gnu

DEBUG_OBJS = \
        ../obj_g/cursesf$o \
        ../obj_g/cursesm$o \
        ../obj_g/cursesp$o \
        ../obj_g/cursesw$o \
        ../obj_g/cursespad$o \
        ../obj_g/cursslk$o \
        ../obj_g/cursesapp$o \
        ../obj_g/cursesmain$o \
        ../obj_g/demo$o

$(DEBUG_OBJS) : ../include/ncurses_cfg.h

mostlyclean::
        -rm -f $(DEBUG_OBJS)

clean ::
        -rm -f $(DEBUG_OBJS)

# generated by mk-2nd.awk
#   model:      obj_g
#   MODEL:      DEBUG
#   echo:       yes
#   subset:     termlib+ext_tinfo+base+ext_funcs
#   crenames:   yes
#   cxxrenames: 
#   traces:     DEBUG
#   srcdir:     .

../obj_g/cursesf$o :    $(srcdir)/cursesf.cc \
                        $(cursesf_h) \
                        $(cursesapp_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c 
../c++/cursesf.cc

../obj_g/cursesm$o :    $(srcdir)/cursesm.cc \
                        $(cursesm_h) \
                        $(cursesapp_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c 
../c++/cursesm.cc

../obj_g/cursesp$o :    $(srcdir)/cursesp.cc \
                        $(cursesp_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c 
../c++/cursesp.cc

../obj_g/cursesw$o :    $(srcdir)/cursesw.cc \
                        $(cursesw_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c 
../c++/cursesw.cc

../obj_g/cursespad$o :  $(srcdir)/cursespad.cc \
                        $(cursesw_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c 
../c++/cursespad.cc

../obj_g/cursslk$o :    $(srcdir)/cursslk.cc \
                        $(cursslk_h) \
                        $(cursesapp_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c 
../c++/cursslk.cc

../obj_g/cursesapp$o :  $(srcdir)/cursesapp.cc \
                        $(cursesapp_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c 
../c++/cursesapp.cc

../obj_g/cursesmain$o : $(srcdir)/cursesmain.cc \
                        $(cursesapp_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c 
../c++/cursesmain.cc

../obj_g/demo$o :       $(srcdir)/demo.cc \
                        $(cursesf_h) \
                        $(cursesm_h) \
                        $(cursesapp_h)
        cd ../obj_g; $(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEBUG) -c ../c++/demo.cc

${DESTDIR}${includedir} :
        sh ${srcdir}/../mkinstalldirs $@

install \
install.libs \
install.includes :: ${AUTO_SRC} ${DESTDIR}${includedir} \
                $(srcdir)/cursesapp.h \
                $(srcdir)/cursesf.h \
                $(srcdir)/cursesm.h \
                $(srcdir)/cursesp.h \
                $(srcdir)/cursesw.h \
                $(srcdir)/cursslk.h \
                etip.h
        @ (cd ${DESTDIR}${includedir} && rm -f cursesapp.h) ; ../headers.sh 
${INSTALL_DATA} ${DESTDIR}${includedir} ${srcdir} $(srcdir)/cursesapp.h
        @ (cd ${DESTDIR}${includedir} && rm -f cursesf.h) ; ../headers.sh 
${INSTALL_DATA} ${DESTDIR}${includedir} ${srcdir} $(srcdir)/cursesf.h
        @ (cd ${DESTDIR}${includedir} && rm -f cursesm.h) ; ../headers.sh 
${INSTALL_DATA} ${DESTDIR}${includedir} ${srcdir} $(srcdir)/cursesm.h
        @ (cd ${DESTDIR}${includedir} && rm -f cursesp.h) ; ../headers.sh 
${INSTALL_DATA} ${DESTDIR}${includedir} ${srcdir} $(srcdir)/cursesp.h
        @ (cd ${DESTDIR}${includedir} && rm -f cursesw.h) ; ../headers.sh 
${INSTALL_DATA} ${DESTDIR}${includedir} ${srcdir} $(srcdir)/cursesw.h
        @ (cd ${DESTDIR}${includedir} && rm -f cursslk.h) ; ../headers.sh 
${INSTALL_DATA} ${DESTDIR}${includedir} ${srcdir} $(srcdir)/cursslk.h
        @ (cd ${DESTDIR}${includedir} && rm -f etip.h) ; ../headers.sh 
${INSTALL_DATA} ${DESTDIR}${includedir} ${srcdir} etip.h

uninstall \
uninstall.libs \
uninstall.includes ::
        -@ (cd ${DESTDIR}${includedir} && rm -f cursesapp.h)
        -@ (cd ${DESTDIR}${includedir} && rm -f cursesf.h)
        -@ (cd ${DESTDIR}${includedir} && rm -f cursesm.h)
        -@ (cd ${DESTDIR}${includedir} && rm -f cursesp.h)
        -@ (cd ${DESTDIR}${includedir} && rm -f cursesw.h)
        -@ (cd ${DESTDIR}${includedir} && rm -f cursslk.h)
        -@ (cd ${DESTDIR}${includedir} && rm -f etip.h)

reply via email to

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