]> git.draconx.ca Git - dxcommon.git/blobdiff - m4/curses.m4
Add some curses-related feature tests.
[dxcommon.git] / m4 / curses.m4
index f03711c57a05320852a28deab736db0cefbc75fc..57aa76e62d45769fb3749ed4b1a2ebbc2252d468 100644 (file)
@@ -5,7 +5,8 @@ dnl This is free software: you are free to do what the fuck you want to.
 dnl There is NO WARRANTY, to the extent permitted by law.
 
 AC_DEFUN([DX_LIB_CURSES],
-[DX_LIB_SETUP([curses])dnl
+[AC_BEFORE([$0], [_DX_CURSES_LINKTEST])dnl
+DX_LIB_SETUP([curses])dnl
 DX_LIB_PKGCONFIG_FLAGS([ncurses])
 AC_MSG_CHECKING([for curses])
 DX_LIB_SEARCH_LINK([curses],