dnl--------------------------------------------------------------------------
dnl C programming environment.
+dnl Set the master library list.
MLIB_LIBS=
+AC_SUBST([MLIB_LIBS])
dnl Headers.
AC_CHECK_HEADERS([float.h])
dnl Floating-point formats.
mdw_PROBE_FLTFMT
-dnl Set the master library list.
-AC_SUBST([MLIB_LIBS])
-
dnl--------------------------------------------------------------------------
dnl Terminal characteristics.
[want_unibilium=$withval],
[want_unibilium=auto])
-case $want_unibilium in no) ;; *) have_unibilium=check ;; esac
+case $want_unibilium in
+ no) have_unibilium=no ;;
+ *) have_unibilium=check ;;
+esac
case $have_unibilium in
check)
PKG_CHECK_MODULES([unibilium], [unibilium >= 2.0.0],
- [], [have_unibilium=no])
+ [CFLAGS="$CFLAGS $unibilium_CFLAGS"
+ LIBS="$LIBS $unibilium_LIBS"],
+ [have_unibilium=no])
;;
esac
-case $have_unibilium in check) have_unibilium=yes ;; esac
+case $have_unibilium in check) have_unibilium=yes ;; esac
case $want_unibilium,$have_unibilium in
yes,no)
AC_MSG_ERROR([`unibilium' library not found but explicitly requested])
[want_terminfo=$withval],
[want_terminfo=auto])
-case $want_terminfo in no) ;; *) have_terminfo=check ;; esac
+case $want_terminfo in
+ no) have_terminfo=no ;;
+ *) have_terminfo=check ;;
+esac
case $have_terminfo in
check) AC_CHECK_HEADERS([term.h], [], [have_terminfo=no]) ;;
esac
[want_termcap=$withval],
[want_termcap=auto])
-case $want_termcap in no) ;; *) have_termcap=check ;; esac
+case $want_termcap in
+ no) have_termcap=no ;;
+ *) have_termcap=check ;;
+esac
case $have_termcap in
check) AC_CHECK_HEADERS([termcap.h], [], [have_termcap=no]) ;;
esac
[sel/Makefile]
[struct/Makefile]
[sys/Makefile]
- [test/Makefile]
- [test/example/Makefile]
+ [test/Makefile] [test/example/Makefile]
[trace/Makefile]
- [ui/Makefile]
+ [ui/Makefile] [ui/example/Makefile]
[utils/Makefile]
[t/Makefile t/atlocal])
AC_OUTPUT