"Fossies" - the Fresh Open Source Software Archive

Member "alsa-oss-1.1.8/configure.ac" (7 Jan 2019, 835 Bytes) of package /linux/misc/alsa-oss-1.1.8.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.ac": 1.1.6_vs_1.1.8.

    1 AC_PREREQ(2.59)
    2 AC_INIT(alsa-oss, 1.1.8)
    3 AM_INIT_AUTOMAKE
    4 
    5 AM_MAINTAINER_MODE([enable])
    6 
    7 LIBTOOL_VERSION_INFO="0:0:0"
    8 AC_SUBST(LIBTOOL_VERSION_INFO)
    9 
   10 AC_PREFIX_DEFAULT(/usr)
   11 
   12 AC_PROG_CC
   13 AC_PROG_CXX
   14 AC_PROG_INSTALL
   15 AC_PROG_LN_S 
   16 AM_PROG_LIBTOOL
   17 
   18 dnl Check for aoss...
   19 AC_MSG_CHECKING(for aoss)
   20 AC_ARG_WITH(aoss,
   21   [  --with-aoss=yes,no     OSS -> ALSA emulation library build],
   22   with_aoss="$withval", with_aoss="yes")
   23 if test "$with_aoss" = "yes"; then
   24   AC_MSG_RESULT(yes)
   25 else
   26   AC_MSG_RESULT(no)
   27 fi
   28 AM_CONDITIONAL(WITH_AOSS, test x$with_aoss = xyes)
   29 
   30 if test "$with_aoss" = "yes"; then
   31   OLD_CFLAGS="$CFLAGS"
   32   OLD_LIBS="$LIBS"
   33   AM_PATH_ALSA(0.9.0)
   34   CFLAGS="$OLD_CFLAGS"
   35   LIBS="$OLD_LIBS"
   36 fi
   37 
   38 AC_OUTPUT(Makefile alsa/Makefile alsa/aoss alsa/aoss.old \
   39 	  oss-redir/Makefile test/Makefile \
   40           alsa/testaoss test/testaoss)