view kpathsea/xt.ac @ 4238:a5a68c0afe56

[project @ 2002-12-25 21:04:33 by jwe]
author jwe
date Wed, 25 Dec 2002 21:04:34 +0000
parents faa5d0421460
children
line wrap: on
line source

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.
AC_PATH_XTRA
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
])