]> git.pld-linux.org Git - packages/ecasound.git/commitdiff
- more fixes (added missing [] quotes).
authorkloczek <kloczek@pld-linux.org>
Thu, 24 Oct 2002 07:41:24 +0000 (07:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ecasound-ac_fix.patch -> 1.3

ecasound-ac_fix.patch

index 5d1afe004ad7778db8416561ac28500d018e63da..b53d782d59af353f3446a14212e6b54509a5d4a1 100644 (file)
  AC_MSG_CHECKING(whether to enable debugging)
  AC_ARG_ENABLE(debug,
  [  --enable-debug             Enable debugging (default = no)],
+@@ -189,25 +180,25 @@
+ dnl ---
+ dnl Check for ncurses/termcap
+ dnl ---
+-AC_CHECK_LIB(ncurses, main, termcap_library=ncurses,
+-      AC_CHECK_LIB(termcap, main, termcap_library=termcap,
++AC_CHECK_LIB(ncurses, main, [termcap_library=ncurses],
++      AC_CHECK_LIB(termcap, main, [termcap_library=termcap],
+               AC_MSG_ERROR([** neither termcap nor ncurses library is installed (needed by the console mode user interface) **])))
+ AC_ARG_ENABLE(ncurses,
+ [  --disable-ncurses          Disable ncurses (default = no)],
+-termcap_library=none)
+-AM_CONDITIONAL(USE_NCURSES, test $termcap_library = ncurses)
+-AM_CONDITIONAL(USE_TERMCAP, test $termcap_library = termcap)
++[termcap_library=none])
++AM_CONDITIONAL(USE_NCURSES, [test $termcap_library = ncurses])
++AM_CONDITIONAL(USE_TERMCAP, [test $termcap_library = termcap])
+ if test x$termcap_library = xtermcap; then
+       AC_DEFINE(USE_TERMCAP)
+ fi
+ if test x$termcap_library = xncurses; then
+       AC_CHECK_HEADER(curses.h,
+-              AC_CHECK_HEADER(term.h,, AC_MSG_ERROR([*** curses headers not installed ***])),
+-                      AC_CHECK_HEADER(ncurses/curses.h, [ 
+-                              AC_CHECK_HEADER(ncurses/term.h,, AC_MSG_ERROR([*** curses headers not installed ***]))
++              [AC_CHECK_HEADER(term.h, [], AC_MSG_ERROR([*** curses headers not installed ***]))],
++                      [AC_CHECK_HEADER(ncurses/curses.h, [ 
++                              AC_CHECK_HEADER(ncurses/term.h, [], AC_MSG_ERROR([*** curses headers not installed ***]))
+                               CXXFLAGS="-DHAVE_NCURSES_CURSES_H $CXXFLAGS"
+                                       ],
+-                                      AC_MSG_ERROR([*** curses headers not installed ***]))
++                                      AC_MSG_ERROR([*** curses headers not installed ***]))]
+         )
+       AC_DEFINE(USE_NCURSES)
+ fi
+@@ -385,19 +376,19 @@
+ dnl Check for readline.h or readline/readline.h (same with history.h)
+ dnl and for readline and history libraries
+ dnl
+-AM_CONDITIONAL(SYSTEM_READLINE, test x$enable_sysreadline = xyes)
++AM_CONDITIONAL(SYSTEM_READLINE, [test x$enable_sysreadline = xyes])
+ if test x$enable_sysreadline = xyes; then
+-  AC_CHECK_HEADER(readline.h, readline_includes=/usr/include, 
+-    AC_CHECK_HEADER(readline/readline.h,
+-      readline_includes=/usr/include/readline,
+-      AC_MSG_ERROR([*** readline headers not installed ***]))
++  AC_CHECK_HEADER(readline.h, [readline_includes=/usr/include],
++    [AC_CHECK_HEADER(readline/readline.h,
++      [readline_includes=/usr/include/readline],
++      AC_MSG_ERROR([*** readline headers not installed ***]))]
+   )
+-  AC_CHECK_HEADER(history.h,,
+-    AC_CHECK_HEADER(readline/history.h,,
+-      AC_MSG_ERROR([*** readline history headers not installed ***]))
++  AC_CHECK_HEADER(history.h, [],
++    [AC_CHECK_HEADER(readline/history.h, [],
++      AC_MSG_ERROR([*** readline history headers not installed ***]))]
+   )
+-  AC_CHECK_LIB(readline, main,, AC_MSG_ERROR([*** readline support not installed ***]))
+-  AC_CHECK_LIB(history, main,, AC_MSG_ERROR([*** readline history support not installed ***]))
++  AC_CHECK_LIB(readline, main, [], AC_MSG_ERROR([*** readline support not installed ***]))
++  AC_CHECK_LIB(history, main, [], AC_MSG_ERROR([*** readline history support not installed ***]))
+   AC_SUBST(readline_includes)
+ else
+   AC_CONFIG_SUBDIRS(readline-4.0)
This page took 0.038741 seconds and 4 git commands to generate.