1dnl ## 2dnl ## OSSP uuid - Universally Unique Identifier 3dnl ## Copyright (c) 2004-2008 Ralf S. Engelschall <rse@engelschall.com> 4dnl ## Copyright (c) 2004-2008 The OSSP Project <http://www.ossp.org/> 5dnl ## 6dnl ## This file is part of OSSP uuid, a library for the generation 7dnl ## of UUIDs which can found at http://www.ossp.org/pkg/lib/uuid/ 8dnl ## 9dnl ## Permission to use, copy, modify, and distribute this software for 10dnl ## any purpose with or without fee is hereby granted, provided that 11dnl ## the above copyright notice and this permission notice appear in all 12dnl ## copies. 13dnl ## 14dnl ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 15dnl ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 16dnl ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17dnl ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 18dnl ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 19dnl ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 20dnl ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 21dnl ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22dnl ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 23dnl ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 24dnl ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25dnl ## SUCH DAMAGE. 26dnl ## 27dnl ## configure.ac: GNU Autoconf source script 28dnl ## 29 30AC_PREREQ(2.53) 31AC_INIT 32UUID_VERSION_RAW=`$ac_confdir/shtool version -l c -d short uuid_vers.h` 33UUID_VERSION_STR=`$ac_confdir/shtool version -l c -d long uuid_vers.h` 34UUID_VERSION_HEX=`$ac_confdir/shtool version -l c -d hex uuid_vers.h` 35$ac_confdir/shtool echo -e \ 36 "Configuring %BOSSP uuid%b (Universally Unique Identifier), version %B${UUID_VERSION_STR}%b" 37AC_SUBST(UUID_VERSION_RAW) 38AC_SUBST(UUID_VERSION_STR) 39AC_SUBST(UUID_VERSION_HEX) 40 41AC_PROG_MAKE_SET 42AC_PROG_CC 43AC_CHECK_DEBUGGING 44AC_CHECK_DMALLOC 45 46with_tags="" 47sinclude(libtool.m4) 48AC_PROG_LIBTOOL 49 50sinclude(uuid.ac) 51UUID_CHECK_ALL 52 53AC_CONFIG_HEADERS(config.h) 54AC_CONFIG_FILES([Makefile uuid-config uuid.pc uuid.h]) 55AC_CONFIG_COMMANDS([adjustment], [chmod a-w uuid.h; chmod a+x uuid-config]) 56AC_OUTPUT 57 58