root/ossiedev/branches/mcarrick/ossiedev-trunk/platform/AudioDevice/configure.ac @ 9125

Revision 9125, 2.1 KB (checked in by mcarrick, 4 years ago)

pulling audio device, sig proc, decimator updates from trunk

Line 
1dnl
2dnl Copyright 2009 Virginia Polytechnic Institute and State University
3dnl
4dnl This file is part of the OSSIE AudioDevice.
5dnl
6dnl OSSIE AudioDevice is free software; you can redistribute it and/or modify
7dnl it under the terms of the GNU General Public License as published by
8dnl the Free Software Foundation; either version 2 of the License, or
9dnl (at your option) any later version.
10dnl
11dnl OSSIE AudioDevice is distributed in the hope that it will be useful,
12dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
13dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14dnl GNU General Public License for more details.
15dnl
16dnl You should have received a copy of the GNU General Public License
17dnl along with OSSIE AudioDevice; if not, write to the Free Software
18dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19dnl
20
21AC_INIT(AudioDevice, 0.7.3)
22AM_INIT_AUTOMAKE
23
24AC_PREFIX_DEFAULT("/sdr")
25
26AC_PROG_CXX
27AC_PROG_INSTALL
28AC_PROG_MAKE_SET
29
30AC_HEADER_SYS_WAIT
31
32AC_FUNC_FORK
33
34AC_LANG_PUSH([C++])
35
36AC_CHECK_LIB([omniORB4], [main], [], [AC_MSG_ERROR([cannot find omniORBi4 library])])
37AC_CHECK_LIB([omnithread], [main], [], [AC_MSG_ERROR([cannot find omnithread library])])
38AC_CHECK_LIB([omniDynamic4], [main], [], [AC_MSG_ERROR([cannot find omniDynamic4 library])])
39AC_CHECK_HEADERS([omniORB4/CORBA.h], [], [AC_MSG_ERROR([cannot find omniORB4 header files])])
40
41AC_CHECK_LIB([standardInterfaces], [main], [], [AC_MSG_ERROR([cannot find standardInterfaces])])
42AC_CHECK_HEADERS([standardinterfaces/complexShort.h], [], [AC_MSG_ERROR([cannot find standardInterfaces header files])])
43
44AC_CHECK_LIB([portaudio], [main], [], [AC_MSG_ERROR([cannot find portaudio library (try apt-get install libportaudio-dev)])])
45AC_CHECK_HEADERS([portaudio.h], [], [AC_MSG_ERROR([cannot find portaudio.h header (try apt-get install libportaudio-dev)])])
46
47AC_LANG_POP
48
49export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
50PKG_CHECK_MODULES(OSSIE, ossie >= 0.6.0,,exit)
51CXXFLAGS="$CXXFLAGS $OSSIE_CFLAGS"
52
53IDL_FLAGS="$OSSIE_CFLAGS"
54AC_SUBST(IDL_FLAGS)
55
56LIBS="$LIBS $OSSIE_LIBS -lportaudio"
57
58AC_SUBST(SI_PATH)
59
60AC_CONFIG_FILES(Makefile)
61
62AC_OUTPUT
Note: See TracBrowser for help on using the browser.