1
# Process this file with autoconf to produce a configure script.
3
#################################################################################
4
# Linux Management Providers (LMP), Simple Identity Management provider package
5
# Copyright (C) 2007 Frederic Desmons, ETRI <desmons@etri.re.kr, desmons_frederic@yahoo.fr>
7
# This program is being developed under the "OpenDRIM" project.
8
# The "OpenDRIM" project web page: http://opendrim.sourceforge.net
9
# The "OpenDRIM" project mailing list: opendrim@googlegroups.com
11
# This program is free software; you can redistribute it and/or
12
# modify it under the terms of the GNU General Public License
13
# as published by the Free Software Foundation; version 2
16
# This program is distributed in the hope that it will be useful,
17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
# GNU General Public License for more details.
21
# You should have received a copy of the GNU General Public License
22
# along with this program; if not, write to the Free Software
23
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
#################################################################################
26
#################################################################################
27
# To contributors, please leave your contact information in this section
28
# AND comment your changes in the source code.
30
# Modified by 2009 Khahramon NURIDDINOV, TUIT <qahramon0786@gmail.com>
31
# Modified by 2009 Guillaume BOTTEX, ETRI <guillaumebottex@etri.re.kr>
32
#################################################################################
35
AC_COPYRIGHT([[###############################################################################
36
Note: This Copyright statement covers the OpenDRIM original parts of this file.
37
It does NOT concern the parts generated by autoconf.
38
Linux Management Providers (LMP), Simple_Identity_Management provider package
39
Copyright (C) 2007 Frederic Desmons, ETRI <desmons@etri.re.kr, desmons_frederic@yahoo.fr>
41
This program is being developed under the "OpenDRIM" project.
42
The "OpenDRIM" project web page: http://opendrim.sourceforge.net
43
The "OpenDRIM" project mailing list: opendrim@googlegroups.com
45
This program is free software; you can redistribute it and/or
46
modify it under the terms of the GNU General Public License
47
as published by the Free Software Foundation; version 2
50
This program is distributed in the hope that it will be useful,
51
but WITHOUT ANY WARRANTY; without even the implied warranty of
52
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53
GNU General Public License for more details.
55
You should have received a copy of the GNU General Public License
56
along with this program; if not, write to the Free Software
57
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
58
###############################################################################]])
60
AC_INIT(Simple_Identity_Management provider package, -, -)
62
AC_CONFIG_HEADER([config.h])
63
AM_INIT_AUTOMAKE([foreign])
76
AC_ARG_VAR([CIMSERVER],[the target CIM server (pegasus|sfcb|openwbem).])
77
AC_ARG_VAR([CIMNAMESPACE],[the target CIM namespace (default: root/cimv2)])
78
AC_ARG_VAR([INTEROPNAMESPACE],[the target interoperability namespace (default: Interop (pegasus and sfcb) or root/Interop (openwbem))])
79
AC_ARG_VAR([PROVIDERDIR],[the directory where the CMPI providers will be installed.])
80
AC_ARG_VAR([COMMONLIBDIR],[the directory where the package common libraries will be installed.])
82
# Checks for programs.
88
# Check for CIM server (defined in acinclude.m4)
91
# Check for CIM namespace (defined in acinclude.m4)
94
# Check for interoperability namespace (defined in acinclude.m4)
95
CHECK_INTEROPNAMESPACE
97
# Check for OpenDRIM Common library (defined in acinclude.m4)
98
CHECK_OPENDRIMCOMMONLIBRARY
100
# Checks for header files.
104
AC_CHECK_HEADERS([pthread.h])
106
# Check for CMPI headers (defined in acinclude.m4)
109
# Check for OpenDRIM Common headers (defined in acinclude.m4)
110
CHECK_OPENDRIMCOMMONHEADERS
112
# Checks for typedefs, structures, and compiler characteristics.
122
AC_CONFIG_FILES([Makefile Common/Makefile OpenDRIM_AccountOnSystem/Makefile OpenDRIM_AccountCapabilities/Makefile OpenDRIM_AccountIdentity/Makefile OpenDRIM_AccountAssignedIdentity/Makefile OpenDRIM_GroupAssignedIdentity/Makefile OpenDRIM_AccountManagementServiceAffectsIdentity/Makefile OpenDRIM_AccountManagementService/Makefile OpenDRIM_HostedAccountManagementService/Makefile OpenDRIM_RegisteredSimpleIdentityManagementProfile/Makefile OpenDRIM_AccountManagementServiceConformsToProfile/Makefile OpenDRIM_Group/Makefile OpenDRIM_AccountManagementServiceCapabilities/Makefile OpenDRIM_AccountAssociatedCapabilities/Makefile OpenDRIM_GroupIdentity/Makefile OpenDRIM_IdentityInGroup/Makefile OpenDRIM_AccountManagementCapabilities/Makefile OpenDRIM_Account/Makefile OpenDRIM_GroupOnSystem/Makefile test/Makefile])
124
CFLAGS="$CFLAGS -D$HW -DCMPI_PLATFORM_LINUX_GENERIC_GNU -I../Common -I$OPENDRIMCOMMONINCLUDE -I$OPENDRIMCOMMONINCLUDE/cmpi"
125
CPPFLAGS="$CPPFLAGS -D$HW -DCMPI_PLATFORM_LINUX_GENERIC_GNU -I../Common -I$OPENDRIMCOMMONINCLUDE -I$OPENDRIMCOMMONINCLUDE/cmpi"
127
echo "-------------------------------------------------------"
128
echo "CIMSERVER: " $CIMSERVER
129
echo "PROVIDERDIR: " $PROVIDERDIR
130
echo "COMMONLIBDIR: " $COMMONLIBDIR
131
echo "CFLAGS : " $CFLAGS
132
echo "CXXFLAGS : " $CXXFLAGS
133
echo "CPPFLAGS:" $CPPFLAGS
134
echo "-------------------------------------------------------"
138
echo "You may now run make"