summaryrefslogtreecommitdiff
path: root/TAO/m4/tao.m4
blob: 3faa51981fd340f1d6850ad437c2e49a928894bf (plain)
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
34
35
36
37
38
39
40
41
42
43
44
dnl -------------------------------------------------------------------------
dnl       $Id$
dnl
dnl       tao.m4
dnl
dnl       ACE M4 include file which contains TAO specific M4 macros
dnl       for enabling/disabling certain TAO features.
dnl
dnl -------------------------------------------------------------------------

dnl  Copyright (C) 1998, 1999, 2000, 2002  Ossama Othman
dnl
dnl  All Rights Reserved
dnl
dnl This library is free software; you can redistribute it and/or
dnl modify it under the current ACE distribution terms.
dnl
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


AC_DEFUN([TAO_ENABLE_MINIMUM_CORBA],
[AC_ARG_ENABLE([minimum-corba],
              AS_HELP_STRING([--enable-minimum-corba],
		             [build TAO with minimum corba support [[[no]]]]),
[
case "${enableval}" in
  yes)
    tao_user_enable_minimum_corba=yes
    ;;
  no)
    tao_user_enable_minimum_corba=no
    ;;
  *)
    AC_MSG_ERROR([bad value ${enableval} for --enable-minimum-corba])
    ;;
esac
],[
tao_user_enable_minimum_corba=no
])
AM_CONDITIONAL([BUILD_MINIMUM_CORBA], 
	       [test X$tao_user_enable_minimum_corba = Xyes])
])