[ofa-general] [PATCH] opensm: remove obsolete configure.in and spec.in files
Sasha Khapyorsky
sashak at voltaire.com
Sat Sep 15 11:36:40 PDT 2007
This removes not used configure.in and *.spec.in files from opensm
subdirectories.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/complib/Makefile.am | 6 +--
opensm/complib/configure.in | 69 ------------------
opensm/complib/libosmcomp.spec.in | 38 ----------
opensm/include/configure.in | 44 ------------
opensm/libvendor/Makefile.am | 5 +-
opensm/libvendor/configure.in | 80 ---------------------
opensm/libvendor/libosmvendor.spec.in | 38 ----------
opensm/opensm/configure.in | 86 -----------------------
opensm/osmeventplugin/Makefile.am | 7 +--
opensm/osmeventplugin/configure.in | 66 -----------------
opensm/osmeventplugin/libosmeventplugin.spec.in | 38 ----------
opensm/osmtest/configure.in | 75 --------------------
12 files changed, 3 insertions(+), 549 deletions(-)
delete mode 100644 opensm/complib/configure.in
delete mode 100644 opensm/complib/libosmcomp.spec.in
delete mode 100644 opensm/include/configure.in
delete mode 100644 opensm/libvendor/configure.in
delete mode 100644 opensm/libvendor/libosmvendor.spec.in
delete mode 100644 opensm/opensm/configure.in
delete mode 100644 opensm/osmeventplugin/configure.in
delete mode 100644 opensm/osmeventplugin/libosmeventplugin.spec.in
delete mode 100644 opensm/osmtest/configure.in
diff --git a/opensm/complib/Makefile.am b/opensm/complib/Makefile.am
index a77964e..2967c87 100644
--- a/opensm/complib/Makefile.am
+++ b/opensm/complib/Makefile.am
@@ -76,11 +76,7 @@ libosmcompinclude_HEADERS = $(srcdir)/../include/complib/cl_atomic.h \
$(srcdir)/../include/complib/cl_vector.h
# headers are distributed as part of the include dir
-EXTRA_DIST = $(srcdir)/libosmcomp.spec.in $(srcdir)/libosmcomp.map \
- $(srcdir)/libosmcomp.ver
-
-dist-hook: libosmcomp.spec
- cp libosmcomp.spec $(distdir)
+EXTRA_DIST = $(srcdir)/libosmcomp.map $(srcdir)/libosmcomp.ver
# as we can not use libtool -release since it actually changes the SONAME
# to the full release name instead of keeping it to the original
diff --git a/opensm/complib/configure.in b/opensm/complib/configure.in
deleted file mode 100644
index 33d5ffc..0000000
--- a/opensm/complib/configure.in
+++ /dev/null
@@ -1,69 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.57)
-AC_INIT(complib, 2.3.0, general at lists.openfabrics.org)
-AC_CONFIG_SRCDIR([cl_spinlock.c])
-AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE
-
-dnl the library version info is available in the file: libosmcomp.ver
-complib_api_version=`grep LIBVERSION $srcdir/libosmcomp.ver | sed 's/LIBVERSION=//'`
-if test -z $complib_api_version; then
- complib_api_version=1:0:0
-fi
-AC_SUBST(complib_api_version)
-
-dnl Checks for programs
-AC_PROG_CC
-AC_PROG_GCC_TRADITIONAL
-AC_PROG_LIBTOOL
-
-dnl Checks for libraries
-AC_CHECK_LIB(pthread, pthread_mutex_init, [],
- AC_MSG_ERROR([pthread_mutex_init() not found. libosmcomp requires libpthread.]))
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h sys/time.h syslog.h unistd.h])
-
-dnl Checks for library functions
-AC_FUNC_MALLOC
-AC_FUNC_MEMCMP
-AC_CHECK_FUNCS([gettimeofday memset strerror])
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_C_INLINE
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-
-dnl We use --version-script with ld if possible
-AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
- if test -n "`$LD --help < /dev/null 2>/dev/null | grep version-script`"; then
- ac_cv_version_script=yes
- else
- ac_cv_version_script=no
- fi)
-
-AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes")
-
-dnl Support debug mode build - if enable-debug provided the DEBUG variable is set
-AC_ARG_ENABLE(debug,
-[ --enable-debug Turn on debug mode],
-[case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
-esac],[debug=false])
-AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
-
-# we have to revive the env CFLAGS as some how they are being overwritten...
-# see http://sources.redhat.com/automake/automake.html#Flag-Variables-Ordering
-# for why they should NEVER be modified by the configure to allow for user
-# overrides.
-CFLAGS=$ac_env_CFLAGS_value
-
-
-AC_CONFIG_FILES([Makefile libosmcomp.spec])
-AC_OUTPUT
diff --git a/opensm/complib/libosmcomp.spec.in b/opensm/complib/libosmcomp.spec.in
deleted file mode 100644
index 12d581f..0000000
--- a/opensm/complib/libosmcomp.spec.in
+++ /dev/null
@@ -1,38 +0,0 @@
-
-%define ver @VERSION@
-%define RELEASE 1
-%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
-
-Summary: OpenIB InfiniBand OpenSM Component Library
-Name: libosmcomp
-Version: %ver
-Release: %rel%{?dist}
-License: GPL/BSD
-Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Source: http://openfabrics.org/~halr/management/%{name}-%{version}.tar.gz
-Url: http://openfabrics.org/
-Requires:
-
-%description
-libosmcomp provides the OS component library for OpenSM.
-
-%prep
-%setup -q
-
-%build
-%configure
-make
-
-%install
-make DESTDIR=${RPM_BUILD_ROOT} install
-# remove unpackaged files from the buildroot
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root)
-%{_libdir}/libosmcomp*.so.*
-%doc ChangeLog
diff --git a/opensm/include/configure.in b/opensm/include/configure.in
deleted file mode 100644
index 195923a..0000000
--- a/opensm/include/configure.in
+++ /dev/null
@@ -1,44 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.57)
-AC_INIT(libinc, 2.2.1, general at lists.openfabrics.org)
-AC_CONFIG_SRCDIR()
-AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE()
-AM_INIT_AUTOMAKE(infiniband, 2.2.1)
-AM_PROG_LIBTOOL
-
-dnl Checks for programs
-AC_PROG_CC
-
-dnl Checks for libraries
-dnl AC_CHECK_LIB - need to provide symbol and library... what do we depend on?
-
-dnl Checks for header files.
-AC_HEADER_STDC
-
-dnl Checks for library functions
-AC_CHECK_FUNCS()
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_C_INLINE
-
-AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
- if test -n "`$LD --help < /dev/null 2>/dev/null | grep version-script`"; then
- ac_cv_version_script=yes
- else
- ac_cv_version_script=no
- fi)
-
-AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes")
-
-# we have to revive the env CFALGS as some how they are being overwritten...
-# see http://sources.redhat.com/automake/automake.html#Flag-Variables-Ordering
-# for why they should NEVER be modified by the configure to allow for user
-# overrides.
-CFLAGS=$ac_env_CFLAGS_value
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/opensm/libvendor/Makefile.am b/opensm/libvendor/Makefile.am
index cb8baaa..9fbfc9b 100644
--- a/opensm/libvendor/Makefile.am
+++ b/opensm/libvendor/Makefile.am
@@ -87,10 +87,7 @@ libosmvendorincludedir = $(includedir)/infiniband/vendor
libosmvendorinclude_HEADERS = $(HDRS)
# headers are distributed as part of the include dir
-EXTRA_DIST = libosmvendor.spec.in $(srcdir)/libosmvendor.map $(srcdir)/libosmvendor.ver
-
-dist-hook: libosmvendor.spec
- cp libosmvendor.spec $(distdir)
+EXTRA_DIST = $(srcdir)/libosmvendor.map $(srcdir)/libosmvendor.ver
# as we can not use libtool -release since it actually changes the SONAME
# to the full release name instead of keeping it to the original
diff --git a/opensm/libvendor/configure.in b/opensm/libvendor/configure.in
deleted file mode 100644
index e7730cd..0000000
--- a/opensm/libvendor/configure.in
+++ /dev/null
@@ -1,80 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.57)
-AC_INIT(libosmvendor, 2.2.1, general at lists.openfabrics.org)
-AC_CONFIG_SRCDIR([osm_vendor_ibumad.c])
-AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE
-
-dnl the library version info is available in the file: libosmvendor.ver
-osmvendor_api_version=`grep LIBVERSION $srcdir/libosmvendor.ver |sed 's/LIBVERSION=//'`
-if test -z $osmvendor_api_version; then
- osmvendor_api_version=1:0:0
-fi
-AC_SUBST(osmvendor_api_version)
-
-AC_ARG_ENABLE(libcheck, [ --disable-libcheck do not test for presence of
-ib libraries],
-[ if test x$enableval = xno ; then
- disable_libcheck=yes
- fi
-])
-
-dnl Checks for programs
-AC_PROG_CC
-AC_PROG_GCC_TRADITIONAL
-AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
-
-dnl Select appropriate vendor type
-OPENIB_APP_OSMV_SEL
-
-dnl Checks for libraries
-OPENIB_APP_OSMV_CHECK_LIB
-
-dnl Checks for header files.
-AC_HEADER_DIRENT
-AC_HEADER_STDC
-OPENIB_APP_OSMV_CHECK_HEADER
-AC_CHECK_HEADERS([fcntl.h stddef.h stdint.h sys/ioctl.h])
-
-dnl Checks for library functions
-AC_FUNC_CLOSEDIR_VOID
-AC_CHECK_FUNCS([memset strerror strstr])
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_C_INLINE
-AC_TYPE_SIZE_T
-
-AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
- if test -n "`$LD --help < /dev/null 2>/dev/null | grep version-script`"; then
- ac_cv_version_script=yes
- else
- ac_cv_version_script=no
- fi)
-
-AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes")
-
-dnl support debug mode
-AC_ARG_ENABLE(debug,
-[ --enable-debug Turn on debug mode],
-[case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
-esac],[debug=false])
-AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
-
-# we have to revive the env CFLAGS as some how they are being overwritten...
-# see http://sources.redhat.com/automake/automake.html#Flag-Variables-Ordering
-# for why they should NEVER be modified by the configure to allow for user
-# overrides.
-CFLAGS=$ac_env_CFLAGS_value
-
-AC_CONFIG_FILES([Makefile libosmvendor.spec])
-AC_OUTPUT
diff --git a/opensm/libvendor/libosmvendor.spec.in b/opensm/libvendor/libosmvendor.spec.in
deleted file mode 100644
index 5753afb..0000000
--- a/opensm/libvendor/libosmvendor.spec.in
+++ /dev/null
@@ -1,38 +0,0 @@
-
-%define ver @VERSION@
-%define RELEASE 1
-%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
-
-Summary: OpenIB InfiniBand OpenSM Vendor Library
-Name: libosmvendor
-Version: %ver
-Release: %rel%{?dist}
-License: GPL/BSD
-Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Source: http://openfabrics.org/~halr/management/%{name}-%{version}.tar.gz
-Url: http://openfabrics.org/
-Requires:
-
-%description
-libosmvendor provides the vendor library for OpenSM.
-
-%prep
-%setup -q
-
-%build
-%configure
-make
-
-%install
-make DESTDIR=${RPM_BUILD_ROOT} install
-# remove unpackaged files from the buildroot
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root)
-%{_libdir}/libosmvendor*.so.*
-%doc ChangeLog
diff --git a/opensm/opensm/configure.in b/opensm/opensm/configure.in
deleted file mode 100644
index a49538d..0000000
--- a/opensm/opensm/configure.in
+++ /dev/null
@@ -1,86 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.57)
-AC_INIT(opensm, 2.2.1, general at lists.openfabrics.org)
-AC_CONFIG_SRCDIR([osm_opensm.c])
-AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE
-
-dnl the library version info is available in the file: libopensm.ver
-opensm_api_version=`grep LIBVERSION $srcdir/libopensm.ver | sed 's/LIBVERSION=//'`
-if test -z $opensm_api_version; then
- opensm_api_version=1:0:0
-fi
-AC_SUBST(opensm_api_version)
-
-dnl Checks for programs
-AC_PROG_CXX
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
-AM_PROG_LEX
-AC_PROG_YACC
-
-dnl Checks for libraries
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS([fcntl.h stdlib.h sys/time.h unistd.h])
-
-dnl Checks for library functions
-#AC_FUNC_MALLOC
-AC_FUNC_VPRINTF
-AC_CHECK_FUNCS([gettimeofday localtime_r strcspn strtol strtoull])
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_C_INLINE
-AC_TYPE_PID_T
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-AC_STRUCT_TM
-AC_C_VOLATILE
-
-AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
- if test -n "`$LD --help < /dev/null 2>/dev/null | grep version-script`"; then
- ac_cv_version_script=yes
- else
- ac_cv_version_script=no
- fi)
-
-AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes")
-
-dnl support debug mode
-AC_ARG_ENABLE(debug,
-[ --enable-debug Turn on debug mode],
-[case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
-esac],[debug=false])
-AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
-
-dnl check if they want the socket console
-OPENIB_OSM_CONSOLE_SOCKET_SEL
-
-dnl select performance manager or not
-OPENIB_OSM_PERF_MGR_SEL
-
-dnl select example event plugin or not
-OPENIB_OSM_DEFAULT_EVENT_PLUGIN_SEL
-
-dnl Provide user option to select vendor
-OPENIB_APP_OSMV_SEL
-
-# we have to revive the env CFALGS as some how they are being overwritten...
-# see http://sources.redhat.com/automake/automake.html#Flag-Variables-Ordering
-# for why they should NEVER be modified by the configure to allow for user
-# overrides.
-CFLAGS=$ac_env_CFLAGS_value
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/opensm/osmeventplugin/Makefile.am b/opensm/osmeventplugin/Makefile.am
index 1b7dad0..1404c11 100644
--- a/opensm/osmeventplugin/Makefile.am
+++ b/opensm/osmeventplugin/Makefile.am
@@ -31,9 +31,4 @@ libosmeventpluginincludedir = $(includedir)/infiniband/complib
libosmeventplugininclude_HEADERS =
# headers are distributed as part of the include dir
-EXTRA_DIST = $(srcdir)/libosmeventplugin.spec.in $(srcdir)/libosmeventplugin.map \
- $(srcdir)/libosmeventplugin.ver
-
-dist-hook: libosmeventplugin.spec
- cp libosmeventplugin.spec $(distdir)
-
+EXTRA_DIST = $(srcdir)/libosmeventplugin.map $(srcdir)/libosmeventplugin.ver
diff --git a/opensm/osmeventplugin/configure.in b/opensm/osmeventplugin/configure.in
deleted file mode 100644
index bf86d35..0000000
--- a/opensm/osmeventplugin/configure.in
+++ /dev/null
@@ -1,66 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.57)
-AC_INIT(libosmeventplugin, 1.0.0, general at lists.openfabrics.org)
-AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE
-
-dnl the library version info is available in the file: libosmeventplugin.ver
-osmeventplugin_api_version=`grep LIBVERSION $srcdir/libosmeventplugin.ver | sed 's/LIBVERSION=//'`
-if test -z $osmeventplugin_api_version; then
- osmeventplugin_api_version=1:0:0
-fi
-AC_SUBST(osmeventplugin_api_version)
-
-dnl Checks for programs
-AC_PROG_CC
-AC_PROG_GCC_TRADITIONAL
-AC_PROG_LIBTOOL
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h sys/time.h syslog.h unistd.h])
-
-dnl Checks for library functions
-AC_FUNC_MALLOC
-AC_FUNC_MEMCMP
-AC_CHECK_FUNC([time])
-dnl AC_CHECK_FUNC([cl_plock_excl_acquire], [],
-dnl AC_MSG_ERROR([cl_plock_excl_acquire not found, libosmeventplugin requires libosmcomp]))
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_C_INLINE
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-
-dnl We use --version-script with ld if possible
-AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
- if test -n "`$LD --help < /dev/null 2>/dev/null | grep version-script`"; then
- ac_cv_version_script=yes
- else
- ac_cv_version_script=no
- fi)
-
-AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes")
-
-dnl Support debug mode build - if enable-debug provided the DEBUG variable is set
-AC_ARG_ENABLE(debug,
-[ --enable-debug Turn on debug mode],
-[case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
-esac],[debug=false])
-AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
-
-# we have to revive the env CFLAGS as some how they are being overwritten...
-# see http://sources.redhat.com/automake/automake.html#Flag-Variables-Ordering
-# for why they should NEVER be modified by the configure to allow for user
-# overrides.
-CFLAGS=$ac_env_CFLAGS_value
-
-
-AC_CONFIG_FILES([Makefile libosmeventplugin.spec])
-AC_OUTPUT
diff --git a/opensm/osmeventplugin/libosmeventplugin.spec.in b/opensm/osmeventplugin/libosmeventplugin.spec.in
deleted file mode 100644
index 60ab1b7..0000000
--- a/opensm/osmeventplugin/libosmeventplugin.spec.in
+++ /dev/null
@@ -1,38 +0,0 @@
-
-%define ver @VERSION@
-%define RELEASE 1
-%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
-
-Summary: OpenIB InfiniBand OpenSM Event Database Library
-Name: libibeventdb
-Version: %ver
-Release: %rel%{?dist}
-License: GPL/BSD
-Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Source: http://openfabrics.org/~halr/management/%{name}-%{version}.tar.gz
-Url: http://openfabrics.org/
-Requires: opensm
-
-%description
-libibeventdb provides a default plugin for the OpenSM event database
-
-%prep
-%setup -q
-
-%build
-%configure
-make
-
-%install
-make DESTDIR=${RPM_BUILD_ROOT} install
-# remove unpackaged files from the buildroot
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root)
-%{_libdir}/libibeventdb*.so.*
-%doc ChangeLog
diff --git a/opensm/osmtest/configure.in b/opensm/osmtest/configure.in
deleted file mode 100644
index 8470487..0000000
--- a/opensm/osmtest/configure.in
+++ /dev/null
@@ -1,75 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.57)
-AC_INIT([osmtest.c])
-
-#AC_INIT(opensm, 0.9.0, general at lists.openfabrics.org)
-#AC_CONFIG_SRCDIR([osm_sa_service_record_ctrl.c])
-AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(osmtest, 0.9.0)
-
-dnl Checks for programs
-AC_PROG_CXX
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
-
-dnl Checks for libraries
-#AC_CHECK_LIB(osmcomp, cl_thread_pool_init, [],
-# AC_MSG_ERROR([cl_thread_pool_init() not found. opensm requires libosmcomp.]))
-#AC_CHECK_LIB(osmvendor, osm_vendor_init, [],
-# AC_MSG_ERROR([osm_vendor_init() not found. opensm requires libosmvendor.]))
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS([fcntl.h stdlib.h sys/time.h unistd.h])
-
-dnl Checks for library functions
-#AC_FUNC_MALLOC
-AC_FUNC_VPRINTF
-AC_CHECK_FUNCS([gettimeofday localtime_r strcspn strtol strtoull])
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_C_INLINE
-AC_TYPE_PID_T
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-AC_STRUCT_TM
-AC_C_VOLATILE
-
-AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
- if test -n "`$LD --help < /dev/null 2>/dev/null | grep version-script`"; then
- ac_cv_version_script=yes
- else
- ac_cv_version_script=no
- fi)
-
-AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes")
-
-dnl support debug mode
-AC_ARG_ENABLE(debug,
-[ --enable-debug Turn on debug mode],
-[case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
-esac],[debug=false])
-AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
-
-
-dnl Provide user option to select vendor
-OPENIB_APP_OSMV_SEL
-
-# we have to revive the env CFALGS as some how they are being overwritten...
-# see http://sources.redhat.com/automake/automake.html#Flag-Variables-Ordering
-# for why they should NEVER be modified by the configure to allow for user
-# overrides.
-CFLAGS=$ac_env_CFLAGS_value
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
--
1.5.3.1.91.gd3392
More information about the general
mailing list