-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-flags.m4
34 lines (28 loc) · 1.13 KB
/
config-flags.m4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
AC_ARG_ENABLE([x11],
[AS_HELP_STRING([--disable-x11],
[disable X11 support])],
[],
[enable_x11=yes])
AC_ARG_ENABLE([sound],
[AS_HELP_STRING([--disable-sound],
[Disable sound support])],
[],
[enable_sound=yes])
AC_ARG_WITH([ncurses-includedir],
[AS_HELP_STRING([--with-ncurses-includedir],
[Specify include directory to use for ncurses.h])],
[AC_SUBST([with_ncurses_includedir],
[$( echo $(cd $(dirname "$with_ncurses_includedir") && pwd -P)/$(basename "$with_ncurses_includedir") )])],
[with_ncurses_includedir=])
AC_ARG_WITH([ncursesw-libdir],
[AS_HELP_STRING([--with-ncursesw-libdir],
[Specify library directory for ncursesw])],
[AC_SUBST([with_ncursesw_libdir],
[$( echo $(cd $(dirname "$with_ncursesw_libdir") && pwd -P)/$(basename "$with_ncursesw_libdir") )])],
[with_ncursesw_libdir=])
AC_ARG_WITH([ncurses-libdir],
[AS_HELP_STRING([--with-ncurses-libdir],
[Specify library directory for ncurses])],
[AC_SUBST([with_ncurses_libdir],
[$( echo $(cd $(dirname "$with_ncurses_libdir") && pwd -P)/$(basename "$with_ncurses_libdir") )])],
[with_ncurses_libdir=])