2 dnl Copyright (C) 2005, 2006, 2009, 2010 Free Software Foundation, Inc.
4 dnl This program is free software; you can redistribute it and/or modify
5 dnl it under the terms of the GNU General Public License as published by
6 dnl the Free Software Foundation; either version 3 of the License, or
7 dnl (at your option) any later version.
9 dnl This program is distributed in the hope that it will be useful,
10 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 dnl GNU General Public License for more details.
13 dnl You should have received a copy of the GNU General Public License
14 dnl along with this program; if not, write to the Free Software
15 dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 AC_DEFUN([GNASH_PATH_ALP],
20 dnl See if we're running under scratchbox, specifically ALP
26 if test x"$sbox" = xyes; then
28 for i in $incllist; do
29 if test -f $i/alp/bundlemgr.h; then
30 ac_cv_path_alp_incl="-I$i"
37 newlist="/opt/alp/lib /opt/alp/lib/tmp ${incllist}"
39 if test -f $i/libalp_bundlemgr.a -o -f $i/libalp_bundlemgr.${shlibext}; then
40 ac_cv_path_alp_lib="-L$i -lalp_bundlemgr ${ac_cv_path_alp_lib}"
45 if test -f $i/libalp_appmgr.a -o -f $i/libalp_appmgr.${shlibext}; then
46 ac_cv_path_alp_lib="${ac_cv_path_alp_lib} -lalp_appmgr"
51 if test -f $i/alp_max.a -o -f $i/alp_max.${shlibext}; then
52 ac_cv_path_alp_lib="${ac_cv_path_alp_lib} -lalp_max"
58 if test -f ${_SBOX_DIR}/tools/bin/bartender; then
59 BARTENDER=${_SBOX_DIR}/tools/bin/bartender
62 if test x"${ac_cv_path_alp_incl}" != x; then
63 ALP_CFLAGS="${ac_cv_path_alp_incl}"
66 if test x"${ac_cv_path_alp_lib}" != x; then
67 ALP_LIBS="${ac_cv_path_alp_lib}"
68 AC_DEFINE(HAVE_ALP, [1], [has the ALP/Hiker mobile framework])
80 # indent-tabs-mode: nil