Some cleanup:
Changed the optimization value to -O3 Moved the (n)curses autoconf tests to the (n)curses driver section. Removed commented commands in configure.in Added define ACS_* test for curses driver
This commit is contained in:
+3
-9
@@ -23,10 +23,11 @@ AC_ARG_ENABLE(debug,
|
||||
AC_MSG_RESULT($debug)
|
||||
|
||||
if test $debug = "yes"; then
|
||||
dnl Enable debugging information
|
||||
CFLAGS="-g"
|
||||
else
|
||||
dnl CFLAGS="-Wno-unused -O6"
|
||||
CFLAGS="-O6"
|
||||
dnl Maximum optimization
|
||||
CFLAGS="-O3"
|
||||
fi
|
||||
CFLAGS="-Wall $CFLAGS"
|
||||
export CFLAGS
|
||||
@@ -37,12 +38,6 @@ AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_RANLIB
|
||||
|
||||
dnl Checks for libraries.
|
||||
dnl Replace `main' with a function in -lLCDstuff:
|
||||
dnl AC_CHECK_LIB(LCDstuff, main)
|
||||
dnl Replace `main' with a function in -lncurses:
|
||||
dnl AC_CHECK_LIB(ncurses, main)
|
||||
|
||||
dnl Solaris
|
||||
AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
|
||||
AC_CHECK_FUNC(connect,,[AC_CHECK_LIB(socket,connect)])
|
||||
@@ -74,7 +69,6 @@ dnl Checks for header files.
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h)
|
||||
AC_CHECK_HEADERS(curses.h ncurses.h)
|
||||
|
||||
dnl Check for particular preprocessor macros
|
||||
|
||||
|
||||
Reference in New Issue
Block a user