head 1.20; access; symbols AS_AFTER_RESTRUCTURING:1.3 OSSP_REL:1.1.1.1 OSSP_VEN:1.1.1; locks; strict; comment @# @; 1.20 date 2004.08.24.21.37.28; author ms; state Exp; branches; next 1.19; 1.19 date 2004.08.13.12.35.41; author ms; state Exp; branches; next 1.18; 1.18 date 2004.05.27.21.48.40; author ms; state Exp; branches; next 1.17; 1.17 date 2003.11.20.11.31.20; author ms; state Exp; branches; next 1.16; 1.16 date 2003.11.17.19.03.50; author ms; state Exp; branches; next 1.15; 1.15 date 2003.03.06.00.03.26; author ms; state Exp; branches; next 1.14; 1.14 date 2003.02.26.16.09.29; author ms; state Exp; branches; next 1.13; 1.13 date 2003.01.23.11.57.16; author ms; state Exp; branches; next 1.12; 1.12 date 2003.01.22.23.57.01; author ms; state Exp; branches; next 1.11; 1.11 date 2003.01.22.22.14.52; author ms; state Exp; branches; next 1.10; 1.10 date 2003.01.22.21.56.07; author ms; state Exp; branches; next 1.9; 1.9 date 2003.01.22.20.41.47; author ms; state Exp; branches; next 1.8; 1.8 date 2003.01.16.08.37.40; author ms; state Exp; branches; next 1.7; 1.7 date 2003.01.16.08.32.31; author ms; state Exp; branches; next 1.6; 1.6 date 2002.12.03.10.22.11; author ms; state Exp; branches; next 1.5; 1.5 date 2002.12.03.10.01.03; author ms; state Exp; branches; next 1.4; 1.4 date 2002.12.02.18.10.19; author ms; state Exp; branches; next 1.3; 1.3 date 2002.11.28.20.44.36; author ms; state Exp; branches; next 1.2; 1.2 date 2002.10.21.16.52.21; author ms; state Exp; branches; next 1.1; 1.1 date 2002.10.21.15.19.37; author ms; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.10.21.15.19.37; author ms; state Exp; branches; next ; desc @@ 1.20 log @Use correct with-qt expression as indicated by configure --help. @ text @## ## OSSP asgui - Accounting system graphical user interface ## Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2002-2004 Ralf S. Engelschall ## Copyright (c) 2002-2004 Michael Schloh von Bennewitz ## Copyright (c) 2002-2004 Cable & Wireless Telecommunications Services GmbH ## ## This file is part of OSSP GUI, a graphical user interface ## for OSSP which can be found at http://www.ossp.org/ ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## ## aclocal.m4: Autoconf M4 macros ## dnl ## dnl ## Look for SIOCGIFHWADDR dnl ## AC_DEFUN(AC_CHECK_SIOCGIFHWADDR,[ AC_MSG_CHECKING(whether has SIOCGIFHWADDR) AC_TRY_COMPILE([#include #include ], [ int i = SIOCGIFHWADDR; return 0;], AC_DEFINE(HAVE_SIOCGIFHWADDR, 1, [Define to 1 if defines or includes SIOCGIFHWADDR.]), AC_MSG_RESULT([no]), AC_MSG_RESULT([yes])) ])dnl dnl ## dnl ## Look for SIOCGIFCONF dnl ## AC_DEFUN(AC_CHECK_SIOCGIFCONF,[ AC_MSG_CHECKING(whether has SIOCGIFCONF) AC_TRY_COMPILE([#include #include ], [ int i = SIOCGIFCONF; return 0;], AC_DEFINE(HAVE_SIOCGIFCONF, 1, [Define to 1 if defines or includes SIOCGIFCONF.]), AC_MSG_RESULT([no]), AC_MSG_RESULT([yes])) ])dnl dnl ## dnl ## Look for SIOGHWADDR dnl ## AC_DEFUN(AC_CHECK_SIOGHWADDR,[ AC_MSG_CHECKING(whether has SIOGHWADDR) AC_TRY_COMPILE([#include #include ], [ int i = SIOGHWADDR; return 0;], AC_DEFINE(HAVE_SIOGHWADDR, 1, [Define to 1 if defines or includes SIOGHWADDR.]), AC_MSG_RESULT([no]), AC_MSG_RESULT([yes])) ])dnl dnl ## dnl ## Look for SIOCGENADDR dnl ## AC_DEFUN(AC_CHECK_SIOCGENADDR,[ AC_MSG_CHECKING(whether has SIOCGENADDR) AC_TRY_COMPILE([#include #include ], [ int i = SIOCGENADDR; return 0;], AC_DEFINE(HAVE_SIOCGENADDR, 1, [Define to 1 if defines or includes SIOCGENADDR.]), AC_MSG_RESULT([no]), AC_MSG_RESULT([yes])) ])dnl dnl ## dnl ## Check for sa_len member of the sockaddr dnl ## structure found in BSD systems dnl ## dnl ## configure.in: dnl ## AC_STRUCT_SA_LEN dnl ## AC_DEFUN(AC_STRUCT_SA_LEN, [AC_CACHE_CHECK([for sa_len in struct sockaddr], ac_cv_struct_sa_len, [AC_TRY_COMPILE([ #include #include ], [ struct sockaddr s; s.sa_len; ], ac_cv_struct_sa_len=yes, ac_cv_struct_sa_len=no)]) if test $ac_cv_struct_sa_len = yes; then AC_DEFINE(HAVE_SA_LEN, 1, [Define to 1 if your sockaddr has a sa_len member.]) fi ]) dnl ## dnl ## Support for Platform IDs dnl ## dnl ## configure.in: dnl ## AC_PLATFORM() dnl ## AC_DEFUN(AC_PLATFORM,[ if test ".$host" != .NONE && test ".$host" != .; then $1="$host" else $1=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess` fi $1=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub $$1` || exit 1 AC_SUBST($1) if test ".$enable_subdir" != .yes; then echo "Platform: ${TB}${$1}${TN}" fi ])dnl dnl ## dnl ## Support for Configuration Headers dnl ## dnl ## configure.in: dnl ## AC_HEADLINE(, , dnl ## , , dnl ## ) dnl ## AC_DEFUN(AC_HEADLINE,[dnl # configuration header if test ".`echo dummy [$]@@ | grep help`" = .; then # bootstrapping shtool ac_prog=[$]0 changequote(, )dnl ac_srcdir=`echo $ac_prog | sed -e 's%/[^/][^/]*$%%' -e 's%\([^/]\)/*$%\1%'` changequote([, ])dnl test ".$ac_srcdir" = ".$ac_prog" && ac_srcdir=. ac_shtool="$ac_srcdir/shtool" # find out terminal sequences TB=`$ac_shtool echo -n -e %B 2>/dev/null` TN=`$ac_shtool echo -n -e %b 2>/dev/null` # find out package version $3_STR="`$ac_shtool version -l c -d long $ac_srcdir/$4`" AC_SUBST($3_STR) # friendly header ;) if test ".$enable_headline" != .no; then echo "Configuring ${TB}$1${TN} ($2), Version ${TB}${$3_STR}${TN}" echo "$5" fi # additionally find out hex version $3_HEX="`$ac_shtool version -l c -d hex $ac_srcdir/$4`" AC_SUBST($3_HEX) fi ])dnl dnl ## dnl ## Check whether compiler option works dnl ## dnl ## configure.in: dnl ## AC_COMPILER_OPTION(, ,