| Summary: | arts' configure fails to find my OSS installation | ||
|---|---|---|---|
| Product: | [Unmaintained] configure | Reporter: | Torsten Kasch <tk> |
| Component: | general | Assignee: | Stephan Kulow <coolo> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | patch for arts/configure.in.in | ||
Created attachment 4079 [details]
patch for arts/configure.in.in
Use KDE_CHECK_HEADERS() macro for sys/soundcard.h test so that CPPFLAGS are
used.
Subject: arts CVS commit by coolo: applying the patch to fix solaris OSS CCMAIL: 68382-done@bugs.kde.org M +3 -1 configure.in.in 1.96 --- arts/configure.in.in #1.95:1.96 @@ -58,5 +58,7 @@ AC_HEADER_DIRENT AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/cdefs.h fnmatch.h sysent.h strings.h sys/stat.h sys/select.h sys/socket.h linux/socket.h socketbits.h sigaction.h paths.h malloc.h monetary.h sys/param.h limits.h sys/mnttab.h mntent.h fstab.h sys/soundcard.h) +AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/cdefs.h fnmatch.h sysent.h strings.h sys/stat.h sys/select.h sys/socket.h linux/socket.h socketbits.h sigaction.h paths.h malloc.h monetary.h sys/param.h limits.h sys/mnttab.h mntent.h fstab.h) + +KDE_CHECK_HEADERS(sys/soundcard.h) dnl Checks for libraries. |
Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc version 2.95.3 20010315 (release) OS: Solaris I'm trying to ./configure a recent arts snapshot on my Solaris 8 x86 box. Having OSS installed in /opt/oss, I've tried to configure arts the following way: KDEDIR=/vol/kde-cvs QTDIR=/vol/qt-3.2.1 CPPFLAGS="-I/opt/oss/include" LDFLAGS="-R${KDEDIR}/lib -R${QTDIR}/lib -R/vol/local/lib -R/vol/graphics/lib" PKG_CONFIG_PATH=/vol/gtk-2.2.0/lib/pkgconfig export KDEDIR LDFLAGS QTDIR PKG_CONFIG_PATH ./configure \ --prefix=${KDEDIR} \ --with-qt-includes=${QTDIR}/include \ --with-qt-libraries=${QTDIR}/lib \ --with-extra-includes=/vol/local/include:/vol/graphics/include:/opt/oss/include \ --with-extra-libs=/vol/local/lib:/vol/graphics/lib Unfortunately this doesn't seem to pass /opt/oss/include for the autoconf test for <sys/soundcard.h> and thus HAVE_SYS_SOUNDCARD_H wouldn't get defined in config.h as it should. additional notes: * I'm using autoconf 2.53 * IIRC, this didn't work for arts from KDE 3.1.0 (at least)