35 lines
931 B
Diff
35 lines
931 B
Diff
--- configure.old 2013-07-30 19:42:51.000000000 +0200
|
|
+++ configure 2013-07-30 19:47:26.000000000 +0200
|
|
@@ -163,31 +163,7 @@
|
|
echo 'Fails.'
|
|
fi
|
|
|
|
-
|
|
-if [ ! -r /usr/include/term.h ]; then
|
|
- note 'term.h'
|
|
- if [ -r /usr/include/ncurses/term.h ]; then
|
|
- echo "Found in /usr/include/ncurses"
|
|
- extraflags="$extraflags -I/usr/include/ncurses"
|
|
- else
|
|
- for i in pkg local; do
|
|
- if [ -r /usr/$i/include/term.h ]; then
|
|
- echo "Found in /usr/$i/include"
|
|
- extralibs="$extralibs -L/usr/$i/lib"
|
|
- extraflags="$extraflags -I/usr/$i/include"
|
|
- break
|
|
- else
|
|
- false
|
|
- fi
|
|
- done ||
|
|
- {
|
|
- echo 'Not found!' >&2
|
|
- echo 'Do you have the ncurses devel package installed?' >&2
|
|
- echo 'If you know where term.h is, please email the author!' >&2
|
|
- exit 1
|
|
- }
|
|
- fi
|
|
-fi
|
|
+extraflags="$extraflags $NIX_CFLAGS_COMPILE"
|
|
|
|
note 'base and dirname'
|
|
if gcc_defines "__GLIBC__" || gcc_defines "__CYGWIN__" ; then
|