comparison configure.ac @ 14430:2e1ad5ecb6e4

[gaim-migrate @ 17144] sadrul said the last version didn't work for him, so now we're trying absolute include paths which still work fine for me committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sun, 03 Sep 2006 19:06:50 +0000
parents f3645fe3da47
children 289490ee84d1
comparison
equal deleted inserted replaced
14429:59b4751c8f1e 14430:2e1ad5ecb6e4
819 LIBS_save="$LIBS" 819 LIBS_save="$LIBS"
820 LIBS="$LIBS $GNT_LIBS" 820 LIBS="$LIBS $GNT_LIBS"
821 821
822 dnl # Some distros put the headers in ncursesw/, some don't 822 dnl # Some distros put the headers in ncursesw/, some don't
823 found_ncurses_h=no 823 found_ncurses_h=no
824 for f in ncurses.h ncursesw/ncurses.h 824 for f in /usr/include/ncurses.h /usr/include/ncursesw/ncurses.h
825 do 825 do
826 AC_CHECK_HEADER($f,[ 826 AC_CHECK_HEADER($f,[
827 AC_MSG_CHECKING([if $f supports wide characters]) 827 AC_MSG_CHECKING([if $f supports wide characters])
828 AC_TRY_COMPILE([ 828 AC_TRY_COMPILE([
829 #define _XOPEN_SOURCE_EXTENDED 829 #define _XOPEN_SOURCE_EXTENDED
833 # error get_wch not found! 833 # error get_wch not found!
834 #endif 834 #endif
835 ], [ 835 ], [
836 dir=`dirname $f` 836 dir=`dirname $f`
837 if test x"$dir" != x"." ; then 837 if test x"$dir" != x"." ; then
838 GNT_CFLAGS="-I $dir/" 838 GNT_CFLAGS="-I$dir/"
839 else 839 else
840 GNT_CFLAGS="" 840 GNT_CFLAGS=""
841 fi 841 fi
842 842
843 found_ncurses_h=yes 843 found_ncurses_h=yes