File: xt.ac

package info (click to toggle)
dvipsk-ja 5.94a%2Bjp1.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,824 kB
  • ctags: 4,012
  • sloc: ansic: 37,736; sh: 7,192; makefile: 620; perl: 365; csh: 47; awk: 35
file content (22 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dnl Included by web2c and xdvik to handle --with-x-toolkit.

# This defines --with-x implicitly (which is why we use that package
# name below), so put it here, so it comes first in the --help output.
# This reads best.

# Remember to add AC_PATH_XTRA when actually using X.

AC_ARG_WITH(x-toolkit,
  [  --with-x-toolkit=KIT    use a toolkit (KIT=no/yes/xt/athena)],
[	  case "${withval}" in
	    y | ye | yes )	val=yes ;;
	    x | xt )		val=xt  ;;
	    n | no )		val=no  ;;
	    a | at | ath | athe | athena ) val=athena ;;
	    * )
AC_MSG_WARN([unknown --with-x-toolkit argument \`$withval'; using yes.])
              val=yes;;
	  esac
	  with_x_toolkit=$val
])