diff options
Diffstat (limited to 'us_maker_edition/configure')
-rwxr-xr-x | us_maker_edition/configure | 219 |
1 files changed, 209 insertions, 10 deletions
diff --git a/us_maker_edition/configure b/us_maker_edition/configure index 29cfe233..38945e6d 100755 --- a/us_maker_edition/configure +++ b/us_maker_edition/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65 for ultrastardx 1.1-beta. +# Generated by GNU Autoconf 2.65 for ultrastardx 1.1-RC. # # Report bugs to <http://sourceforge.net/tracker/?group_id=191560&atid=937872>. # @@ -553,8 +553,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ultrastardx' PACKAGE_TARNAME='ultrastardx' -PACKAGE_VERSION='1.1-beta' -PACKAGE_STRING='ultrastardx 1.1-beta' +PACKAGE_VERSION='1.1-RC' +PACKAGE_STRING='ultrastardx 1.1-RC' PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?group_id=191560&atid=937872' PACKAGE_URL='' @@ -562,6 +562,13 @@ ac_unique_file="src/ultrastardx.dpr" ac_subst_vars='LTLIBOBJS LIBOBJS DEFINE_HAVE_PORTMIXER +libpcre_LIBDIR +DEFINE_HAVE_LIBPCRE +libpcre_VERSION_INT +libpcre_VERSION_RELEASE +libpcre_VERSION_MINOR +libpcre_VERSION_MAJOR +libpcre_VERSION DEFINE_HAVE_PORTAUDIO portaudio_VERSION_INT portaudio_VERSION_RELEASE @@ -738,7 +745,9 @@ libswscale_VERSION libprojectM_VERSION libprojectM_INCLUDEDIR libprojectM_DATADIR -portaudio_VERSION' +portaudio_VERSION +libpcre_VERSION +libpcre_LIBDIR' # Initialize some variables set by options. @@ -1280,7 +1289,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ultrastardx 1.1-beta to adapt to many kinds of systems. +\`configure' configures ultrastardx 1.1-RC to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1345,7 +1354,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ultrastardx 1.1-beta:";; + short | recursive ) echo "Configuration of ultrastardx 1.1-RC:";; esac cat <<\_ACEOF @@ -1411,6 +1420,10 @@ Some influential environment variables: /usr/share/projectM), overriding pkg-config portaudio_VERSION version of portaudio, overriding pkg-config + libpcre_VERSION + version of libpcre, overriding pkg-config + libpcre_LIBDIR + library dir (e.g. /usr/lib, /sw/lib, ...), overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1478,7 +1491,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ultrastardx configure 1.1-beta +ultrastardx configure 1.1-RC generated by GNU Autoconf 2.65 Copyright (C) 2009 Free Software Foundation, Inc. @@ -1617,7 +1630,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ultrastardx $as_me 1.1-beta, which was +It was created by ultrastardx $as_me 1.1-RC, which was generated by GNU Autoconf 2.65. Invocation command line was $ $0 $@ @@ -5774,6 +5787,192 @@ eof fi + +# find pcre +libpcre_PKG="libpcre" + + have_lib="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $libpcre_PKG" >&5 +$as_echo_n "checking for $libpcre_PKG... " >&6; } + if test x"$with_libpcre" = xnocheck; then + # do not call pkg-config, use user settings + have_lib="yes" + elif test x"$with_libpcre" != xno; then + # check if package exists + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libpcre_PKG\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$libpcre_PKG") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + + have_lib="yes" + libpcre_LIBS=`$PKG_CONFIG --libs --silence-errors "$libpcre_PKG"` + libpcre_LIBDIRS=`$PKG_CONFIG --libs-only-L --silence-errors "$libpcre_PKG"` + libpcre_LIBDIRS=` + echo "$libpcre_LIBDIRS" | $SED 's/^[ \t]*//' | $SED 's/[ \t]*$//' +` + # add library directories to LIBS (ignore *_LIBS for now) + if test -n "$libpcre_LIBDIRS"; then + LIBS="$LIBS $libpcre_LIBDIRS" + fi + +fi + fi + if test x$have_lib = xyes; then + libpcre_HAVE="yes" + if test -n "$libpcre_LIBDIRS"; then + # show additional lib-dirs + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($libpcre_LIBDIRS)" >&5 +$as_echo "yes ($libpcre_LIBDIRS)" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + fi + else + libpcre_HAVE="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + + # check if package is required + if test xno = xyes -o x"$with_libpcre" = xyes ; then + # print error message and quit + err_msg=`$PKG_CONFIG --errors-to-stdout --print-errors "$libpcre_PKG"` + as_fn_error " + +$err_msg + +Alternatively, you may set --with-libpcre=nocheck and the environment +variables libpcre_[...] (see configure --help) +to appropriate values to avoid the need to call pkg-config. + +See the pkg-config man page for more details. +" "$LINENO" 5 + fi + fi + + + if test x$libpcre_HAVE = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of libpcre" >&5 +$as_echo_n "checking version of libpcre... " >&6; } + + + # check if variable was defined by the user + if test -z "$libpcre_VERSION"; then + # if not, get it from pkg-config + if test x$libpcre_HAVE = xyes; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libpcre_PKG\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$libpcre_PKG") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + libpcre_VERSION=`$PKG_CONFIG --modversion --silence-errors "$libpcre_PKG"` +else + # print error message and quit + err_msg=`$PKG_CONFIG --errors-to-stdout --print-errors "$libpcre_PKG"` + as_fn_error " + +$err_msg + +If --with-libpcre=nocheck is defined the environment variable +libpcre_VERSION +must be set to avoid the need to call pkg-config. + +See the pkg-config man page for more details. +" "$LINENO" 5 + + +fi + fi + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: [$libpcre_VERSION]" >&5 +$as_echo "[$libpcre_VERSION]" >&6; } + else + libpcre_VERSION="0.0.0" + fi + + version=$libpcre_VERSION + + # strip leading non-numeric tokens + # (necessary for some ffmpeg-packages in ubuntu) + # example: 0d.51.1.0 -> 51.1.0 + version=`echo $version | sed 's/^[^.]*[^0-9.][^.]*\.//'` + + # replace "." and "-" with " " and ignore trailing tokens. + # 1.23.4-r2 will be splitted to [maj=1, min=23, rel=4]. + # In addition we delete everything after the first character + # which is not 0-9. + # 1.3a4-r32 will be [maj=1, min=3, rel=0]. + read major minor release ignore <<eof + `echo $version | tr '.-' ' ' | sed 's/[^0-9\ ].*//'` +eof + # Note: Do NOT indent the eof-delimiter + # We use a here-document (<<< here-strings not POSIX compatible) + + test -z $major && major=0 + test -z $minor && minor=0 + test -z $release && release=0 + + # strip preceding 0s and set unset version-parts to 0 + libpcre_VERSION_MAJOR=$(($major)) + libpcre_VERSION_MINOR=$(($minor)) + libpcre_VERSION_RELEASE=$(($release)) + # integer representation: MMMmmmrrr (M:major,m:minor,r:release) + # can be used if pkg-config's comparison fails + libpcre_VERSION_INT=$(($libpcre_VERSION_MAJOR*1000000+$libpcre_VERSION_MINOR*1000+$libpcre_VERSION_RELEASE)) + + + + + + + + + if [ x$libpcre_HAVE = xyes ]; then + DEFINE_HAVE_LIBPCRE=DEFINE + else + DEFINE_HAVE_LIBPCRE=UNDEF + fi + + +# get libpcre library dir + + + # check if variable was defined by the user + if test -z "$libpcre_LIBDIR"; then + # if not, get it from pkg-config + if test x$libpcre_HAVE = xyes; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libpcre_PKG\""; } >&5 + ($PKG_CONFIG --exists --print-errors "$libpcre_PKG") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + libpcre_LIBDIR=`$PKG_CONFIG --variable=libdir --silence-errors "$libpcre_PKG"` +else + # print error message and quit + err_msg=`$PKG_CONFIG --errors-to-stdout --print-errors "$libpcre_PKG"` + as_fn_error " + +$err_msg + +If --with-libpcre=nocheck is defined the environment variable +libpcre_LIBDIR +must be set to avoid the need to call pkg-config. + +See the pkg-config man page for more details. +" "$LINENO" 5 + + +fi + fi + fi + + + # find portmixer have_lib="no" @@ -6408,7 +6607,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ultrastardx $as_me 1.1-beta, which was +This file was extended by ultrastardx $as_me 1.1-RC, which was generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -6461,7 +6660,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ultrastardx config.status 1.1-beta +ultrastardx config.status 1.1-RC configured by $0, generated by GNU Autoconf 2.65, with options \\"\$ac_cs_config\\" |