File: acinclude.m4

package info (click to toggle)
ois 0.99+1.0rc1-2.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 976 kB
  • ctags: 1,022
  • sloc: cpp: 5,510; makefile: 101; ansic: 72; sh: 9
file content (16 lines) | stat: -rwxr-xr-x 535 bytes parent folder | download | duplicates (4)
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)
])