head 1.26; access; symbols AS_AFTER_RESTRUCTURING:1.5 OSSP_REL:1.1.1.1 OSSP_VEN:1.1.1; locks; strict; comment @# @; 1.26 date 2004.05.27.21.48.41; author ms; state Exp; branches; next 1.25; 1.25 date 2004.05.27.21.33.31; author ms; state Exp; branches; next 1.24; 1.24 date 2003.11.20.11.31.20; author ms; state Exp; branches; next 1.23; 1.23 date 2003.11.17.19.03.50; author ms; state Exp; branches; next 1.22; 1.22 date 2003.07.29.18.20.09; author ms; state Exp; branches; next 1.21; 1.21 date 2003.05.16.18.52.55; author ms; state Exp; branches; next 1.20; 1.20 date 2003.01.23.17.48.44; author ms; state Exp; branches; next 1.19; 1.19 date 2003.01.22.22.14.52; author ms; state Exp; branches; next 1.18; 1.18 date 2003.01.22.20.41.47; author ms; state Exp; branches; next 1.17; 1.17 date 2003.01.21.14.41.15; author ms; state Exp; branches; next 1.16; 1.16 date 2003.01.17.17.22.58; author ms; state Exp; branches; next 1.15; 1.15 date 2003.01.16.11.51.19; author ms; state Exp; branches; next 1.14; 1.14 date 2003.01.16.08.37.40; author ms; state Exp; branches; next 1.13; 1.13 date 2003.01.16.08.32.31; author ms; state Exp; branches; next 1.12; 1.12 date 2002.12.18.15.47.47; author ms; state Exp; branches; next 1.11; 1.11 date 2002.12.09.16.44.37; author ms; state Exp; branches; next 1.10; 1.10 date 2002.12.03.11.54.03; author ms; state Exp; branches; next 1.9; 1.9 date 2002.12.03.10.48.25; author ms; state Exp; branches; next 1.8; 1.8 date 2002.12.03.10.01.03; author ms; state Exp; branches; next 1.7; 1.7 date 2002.12.02.18.10.19; author ms; state Exp; branches; next 1.6; 1.6 date 2002.12.02.13.25.36; author ms; state Exp; branches; next 1.5; 1.5 date 2002.11.28.20.44.36; author ms; state Exp; branches; next 1.4; 1.4 date 2002.11.18.17.38.59; author ms; state Exp; branches; next 1.3; 1.3 date 2002.11.08.12.21.34; author ms; state Exp; branches; next 1.2; 1.2 date 2002.10.21.16.52.22; 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.26 log @Modernize copyright text in source and graphic headers. @ 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 asgui, an accounting system graphical user ## interface which can be found at http://www.ossp.org/pkg/tool/asgui/. ## ## 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. ## ## configure.in: Autoconf configure template ## dnl Version requirement and information AC_PREREQ(2.53) AC_REVISION(1.0) AC_INIT ASGUI_VERSION_STR=`./shtool version -l c -d long as_version.cpp` ./shtool echo -e "Configuring %BOSSP as-gui%b, version %B${ASGUI_VERSION_STR}%b" AC_SUBST(ASGUI_VERSION_STR) dnl Process this file with autoconf AC_CONFIG_HEADERS(ac_config.h) AC_LANG_CPLUSPLUS dnl Checks basic requirements AC_PROG_CXX AC_PROG_CXXCPP AC_PROG_INSTALL AC_PROG_CC AC_PROG_CPP AC_PROG_CC_STDC dnl Checks header requirements AC_HEADER_STDC AC_HEADER_TIME AC_CHECK_HEADERS(sys/sockio.h net/if.h netinet/in.h) dnl Portable thread conf from acx_pthread.m4 autoconf macro ACX_PTHREAD CFLAGS="$CFLAGS $PTHREAD_CFLAGS" CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" LIBS="`echo $PTHREAD_CFLAGS | sed -e 's;.*\(-[[pmk]]thread[[s]]*\).*;\1;'` $LIBS" dnl Do Qt checks PKG_CHECK_MODULES(QT, qt >= 3.2.0, have_qt=true, AC_MSG_ERROR([No qt installation found])) AC_SUBST(QT_LIBS) AC_SUBST(QT_CFLAGS) dnl Find Qt locations AC_CHECK_QT AC_SUBST(QTBASE) AC_CHECK_UIC AC_SUBST(UIC) AC_CHECK_MOC AC_SUBST(MOC) dnl Check generic libraries AC_CHECK_LIB(dl, dlopen, [LIBS="$LIBS -ldl"]) AC_CHECK_LIB(rt, sched_get_priority_min, [LIBS="$LIBS -lrt"]) dnl Check other requirements AC_PROG_MAKE_SET AC_CHECK_DEBUGGING dnl Check low level network device necessities # AC_CHECK_SIOCGIFHWADDR # AC_CHECK_SIOGHWADDR # AC_CHECK_SIOCGIFCONF # AC_CHECK_SIOCGENADDR # AC_STRUCT_SA_LEN dnl Check for Dmalloc library AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, [AC_DEFINE(WITH_DMALLOC, 1, [Define to 1 if building with Dmalloc])]) dnl Test for the local CORBA implementation AC_TEST_MICO AC_SUBST(CORBABASE) dnl Test for the local SOAP implementation AC_TEST_ESOAP AC_SUBST(SOAPBASE) dnl Check data type sizes of particular architecture dnl Hack: We're really interested in the unsigned types, dnl but they're the same size according to ISO C++ AC_CHECK_SIZEOF(char) AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) enable_shared=no export enable_shared enable_headline=no export enable_headline dnl Make all the necessary Makefiles AC_OUTPUT(Makefile) @ 1.25 log @remove all usage of fundamental type 'long long', because it is not specified by the ISO C++ (14882) standard. @ text @d3 4 a6 4 ## Copyright (c) 2002-2003 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2002-2003 Ralf S. Engelschall ## Copyright (c) 2002-2003 Michael Schloh von Bennewitz ## Copyright (c) 2002-2003 Cable & Wireless Telecommunications Services GmbH @ 1.24 log @Handle the time consuming bureaucracy of changing a company name. @ text @a112 1 AC_CHECK_SIZEOF(long long) @ 1.23 log @More reliably detect X11 features like Xft and Xrender, and integrate pkg-config aclocal M4 macro to call pkg-config from within a configure script. We use that to learn about the underlying Qt installation at build time. @ text @a3 1 ## Copyright (c) 2002-2003 Cable & Wireless Deutschland (http://www.cw.com/de/) d6 1 @ 1.22 log @Allow compiling with new qt library version 3.2 using threads. @ text @d65 17 a105 22 dnl Find out where the Qt implementation resides AC_CHECK_QT AC_SUBST(QTBASE) AC_CHECK_UIC AC_SUBST(UIC) AC_CHECK_MOC AC_SUBST(MOC) dnl Check our X environment AC_PATH_X if test ".$no_x" = .yes; then AC_ERROR([X11 includes and libraries are required, but none were found.]) else if test $x_includes; then CXXFLAGS="$CXXFLAGS -I$x_includes" fi if test $x_libraries; then LDFLAGS="$LDFLAGS -L$x_libraries" LIBS="$LIBS -lX11 -lXext -lSM -lm" fi fi a113 9 dnl Check some X resources, typical of XFree86 AC_CHECK_LIB(Xft, XftFreeTypeOpen, [LIBS="$LIBS -lXft"]) AC_CHECK_LIB(Xrender, XRenderFindFormat, [LIBS="$LIBS -lXrender"]) AC_CHECK_LIB(Xinerama, XineramaIsActive, [LIBS="$LIBS -lXinerama"]) AC_CHECK_LIB(GL, glBegin, [LIBS="$LIBS -lGL"]) AC_CHECK_LIB(ICE, IceOpenConnection, [LIBS="$LIBS -lICE"]) AC_CHECK_LIB(dl, dlopen, [LIBS="$LIBS -ldl"]) AC_CHECK_LIB(rt, sched_get_priority_min, [LIBS="$LIBS -lrt"]) @ 1.21 log @Remember to vimize (!), and substitute some comment symbols. @ text @d127 1 @ 1.20 log @More configure fixes to help Linux systems with broken or missing X11 pieces. @ text @d70 5 a74 5 dnl AC_CHECK_SIOCGIFHWADDR dnl AC_CHECK_SIOGHWADDR dnl AC_CHECK_SIOCGIFCONF dnl AC_CHECK_SIOCGENADDR dnl AC_STRUCT_SA_LEN @ 1.19 log @More autoconf network device madness. @ text @d102 1 d104 2 d108 1 @ 1.18 log @Test for sa_len in struct sockaddr. @ text @d68 7 a74 3 AC_CHECK_SIOCGIFHWADDR AC_CHECK_SIOCGENADDR AC_STRUCT_SA_LEN @ 1.17 log @First cut at a UUID class. @ text @d70 1 @ 1.16 log @Get CORBA::WString_var for free by defining wstring in IDL, and remove unused autoconf datatype size tests. @ text @d102 9 @ 1.15 log @Small buildconf and UUID fixes to get build running again. @ text @a101 5 dnl Check type sizes AC_CHECK_SIZEOF(char) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) @ 1.14 log @Add logic to connect and syncronize with a CORBA server. Hard code usage of MICO libraries into build configuration. @ text @d57 1 a57 1 AC_CHECK_HEADERS(net/if.h netinet/in.h) @ 1.13 log @Add logic to connect and syncronize with a SOAP server. Hard code usage of EasySOAP libraries into build configuration. @ text @d76 4 @ 1.12 log @Release new alpha version 0.5.8. @ text @d76 4 @ 1.11 log @Disable help menu until implemented, simplify click condition, and adjust autoconf requirements. @ text @d38 1 a38 1 ./shtool echo -e "Configuring %BOSSP asgui%b, version %B${ASGUI_VERSION_STR}%b" @ 1.10 log @Bug fix pointer derefernce in GUID generator, and improve more portable build configuration network header file handling. @ text @d33 1 a33 1 AC_PREREQ(2.56) @ 1.9 log @At least fix detection of net/if.h. @ text @d57 1 a57 3 AC_CHECK_HEADER(net/if.h,,, [#include #include ]) @ 1.8 log @More autoconf macro changes to support GUID generation. @ text @d57 3 a59 1 AC_CHECK_HEADER(net/if.h) @ 1.7 log @Added GUID generation logic, and build configuration changes to support it. @ text @d57 1 a57 5 AC_CHECK_HEADER([net/if.h], [AC_DEFINE([HAVE_NET_IF_H], 1, [Define to 1 if net/if.h is present])], [AC_MSG_ERROR(You don't have net/if.h)]) dnl AC_CHECK_HEADER(net/if.h, [HAVE_NET_IF_H = yes]) @ 1.6 log @Logic changes to correct the buildconf after CVS restructure. @ text @d53 2 d56 6 d72 2 d97 5 @ 1.5 log @Massive build configuration preparation, added boilerplate header text, and cleaned up whitespace. @ text @d37 3 a39 3 TITRAQ_VERSION_STR=`./shtool version -l c -d long titraq_version.cpp` ./shtool echo -e "Configuring %BOSSP asgui%b, version %B${TITRAQ_VERSION_STR}%b" AC_SUBST(TITRAQ_VERSION_STR) @ 1.4 log @Minor build configuration update. @ text @d2 5 a6 4 ## OSSP titraq - Graphical user interface for time accounting ## Copyright (c) 2002 Cable & Wireless Deutschland GmbH ## Copyright (c) 2002 The OSSP Project ## Copyright (c) 2002 Ralf S. Engelschall d8 2 a9 2 ## This file is part of OSSP GUI, a graphical user interface ## for OSSP which can be found at http://www.ossp.org/ d35 5 a41 1 AC_INIT @ 1.3 log @Abandonment of all karm sources, and total reworking of project titraq. @ text @d32 1 a32 1 AC_PREREQ(2.53) d37 1 a37 1 AC_CONFIG_HEADER(ac_config.h) @ 1.2 log @First KDE strips, and limited documentation changes. @ text @d54 1 a54 1 LIBS="$PTHREAD_CFLAGS $LIBS" d83 2 a84 1 dnl Check typical FreeBSD resources @ 1.1 log @Initial revision @ text @d28 1 a28 1 ## configure.in: Plain old documentation file @ 1.1.1.1 log @Birth of OSSP titraq GUI for Cable & Wireless Muenchen accounting system. @ text @@