------------------------------8<------------------------------ ./configure --help | grep .-includedir --includedir=DIR C header files [PREFIX/include] ------------------------------8<------------------------------
this would indicate the header files are by default to be installed in ... PREFIX/include? Right? Wrong. See yourself, what configure says: ------------------------------8<------------------------------ checking where we will install curses.h... ${prefix}/include/ncurses ------------------------------8<------------------------------ I beg your pardon? It gets better: ------------------------------8<------------------------------ ** Configuration summary for NCURSES 5.6 20061217: ... include directory: /usr/local/include/ncurses ** Include-directory is not in a standard location ------------------------------8<------------------------------ wot? you are saying the default settings result in a non-standard location? Great. Hate. digging into the configure script reveals: ------------------------------8<------------------------------ echo "$as_me:15163: checking where we will install curses.h" >&5 echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 test "$with_overwrite" = no && \ test "x$includedir" = 'x${prefix}/include' && \ includedir='${prefix}/include/ncurses'${LIB_SUFFIX} ------------------------------8<------------------------------ in other words: if you want the default which is $prefix/include, you get $prefix/include/ncurses... McFly? Knock, knock? Anybody in there?