File: acinclude.m4

package info (click to toggle)
ois 1.2.0-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 936 kB
  • ctags: 1,475
  • sloc: cpp: 8,462; makefile: 101; ansic: 70; sh: 8
file content (16 lines) | stat: -rwxr-xr-x 535 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

AC_DEFUN([OIS_USE_STLPORT],
[AC_ARG_WITH(stlport, 
             AC_HELP_STRING([--with-stlport=PATH],
                           [the path to STLPort.]),
             ac_cv_use_stlport=$withval,
             ac_cv_use_stlport=no)
 AC_CACHE_CHECK([whether to use STLPort], ac_cv_use_stlport,
                ac_cv_use_stlport=no)
 if test x$ac_cv_use_stlport != xno; then
     STLPORT_CFLAGS="-I$ac_cv_use_stlport/stlport"
     STLPORT_LIBS="-L$ac_cv_use_stlport/lib -lstlport"
 fi
 AC_SUBST(STLPORT_CFLAGS)
 AC_SUBST(STLPORT_LIBS)
])