~ubuntu-branches/ubuntu/wily/ust/wily-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jon Bernard, 13cb8e9
  • Date: 2012-11-27 14:14:40 UTC
  • mfrom: (11.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20121127141440-ww1wjoc93nkxhj64
[13cb8e9] New upstream version 2.1.0~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for lttng-ust 2.1.0-rc1.
 
3
# Generated by GNU Autoconf 2.69 for lttng-ust 2.1.0-rc2.
4
4
#
5
5
# Report bugs to <mathieu dot desnoyers at efficios dot com>.
6
6
#
590
590
# Identity of this package.
591
591
PACKAGE_NAME='lttng-ust'
592
592
PACKAGE_TARNAME='lttng-ust'
593
 
PACKAGE_VERSION='2.1.0-rc1'
594
 
PACKAGE_STRING='lttng-ust 2.1.0-rc1'
 
593
PACKAGE_VERSION='2.1.0-rc2'
 
594
PACKAGE_STRING='lttng-ust 2.1.0-rc2'
595
595
PACKAGE_BUGREPORT='mathieu dot desnoyers at efficios dot com'
596
596
PACKAGE_URL=''
597
597
 
637
637
LTLIBOBJS
638
638
BUILD_JNI_INTERFACE_FALSE
639
639
BUILD_JNI_INTERFACE_TRUE
640
 
LIBFORMAT
641
640
LIBOBJS
642
641
LTTNG_UST_BUILD_WITH_LIBC_UUID_FALSE
643
642
LTTNG_UST_BUILD_WITH_LIBC_UUID_TRUE
691
690
LDFLAGS
692
691
CFLAGS
693
692
CC
 
693
NO_SHARED_FALSE
 
694
NO_SHARED_TRUE
694
695
GREP
695
696
PATCHLEVEL_VERSION
696
697
MINOR_VERSION
1344
1345
  # Omit some internal or obsolete options to make the list less imposing.
1345
1346
  # This message is too long to be a string in the A/UX 3.1 sh.
1346
1347
  cat <<_ACEOF
1347
 
\`configure' configures lttng-ust 2.1.0-rc1 to adapt to many kinds of systems.
 
1348
\`configure' configures lttng-ust 2.1.0-rc2 to adapt to many kinds of systems.
1348
1349
 
1349
1350
Usage: $0 [OPTION]... [VAR=VALUE]...
1350
1351
 
1415
1416
 
1416
1417
if test -n "$ac_init_help"; then
1417
1418
  case $ac_init_help in
1418
 
     short | recursive ) echo "Configuration of lttng-ust 2.1.0-rc1:";;
 
1419
     short | recursive ) echo "Configuration of lttng-ust 2.1.0-rc2:";;
1419
1420
   esac
1420
1421
  cat <<\_ACEOF
1421
1422
 
1528
1529
test -n "$ac_init_help" && exit $ac_status
1529
1530
if $ac_init_version; then
1530
1531
  cat <<\_ACEOF
1531
 
lttng-ust configure 2.1.0-rc1
 
1532
lttng-ust configure 2.1.0-rc2
1532
1533
generated by GNU Autoconf 2.69
1533
1534
 
1534
1535
Copyright (C) 2012 Free Software Foundation, Inc.
2018
2019
This file contains any messages produced by compilers while
2019
2020
running configure, to aid debugging if configure makes a mistake.
2020
2021
 
2021
 
It was created by lttng-ust $as_me 2.1.0-rc1, which was
 
2022
It was created by lttng-ust $as_me 2.1.0-rc2, which was
2022
2023
generated by GNU Autoconf 2.69.  Invocation command line was
2023
2024
 
2024
2025
  $ $0 $@
2953
2954
 
2954
2955
# Define the identity of the package.
2955
2956
 PACKAGE='lttng-ust'
2956
 
 VERSION='2.1.0-rc1'
 
2957
 VERSION='2.1.0-rc2'
2957
2958
 
2958
2959
 
2959
2960
cat >>confdefs.h <<_ACEOF
3110
3111
 SED="$ac_cv_path_SED"
3111
3112
  rm -f conftest.sed
3112
3113
 
3113
 
major_version=$(echo 2.1.0-rc1 | sed 's/^\([0-9]\)*\.[0-9]*\.[0-9]*.*$/\1/')
3114
 
minor_version=$(echo 2.1.0-rc1 | sed 's/^[0-9]*\.\([0-9]*\)\.[0-9]*.*$/\1/')
3115
 
patchlevel_version=$(echo 2.1.0-rc1 | sed 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*$/\1/')
 
3114
major_version=$(echo 2.1.0-rc2 | sed 's/^\([0-9]\)*\.[0-9]*\.[0-9]*.*$/\1/')
 
3115
minor_version=$(echo 2.1.0-rc2 | sed 's/^[0-9]*\.\([0-9]*\)\.[0-9]*.*$/\1/')
 
3116
patchlevel_version=$(echo 2.1.0-rc2 | sed 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*$/\1/')
3116
3117
MAJOR_VERSION=$major_version
3117
3118
 
3118
3119
MINOR_VERSION=$minor_version
3244
3245
 
3245
3246
fi
3246
3247
 
 
3248
 if test "x$enable_shared" = "xno"; then
 
3249
  NO_SHARED_TRUE=
 
3250
  NO_SHARED_FALSE='#'
 
3251
else
 
3252
  NO_SHARED_TRUE='#'
 
3253
  NO_SHARED_FALSE=
 
3254
fi
 
3255
 
 
3256
 
3247
3257
# Checks for programs.
3248
3258
ac_ext=c
3249
3259
ac_cpp='$CPP $CPPFLAGS'
15935
15945
fi
15936
15946
 
15937
15947
 
15938
 
 
15939
 
# Check for various supplementary host information (beyond the
15940
 
# triplet) which might affect the library format choices.  E.g., we
15941
 
# can be building with `i686-unknown-linux-gnu-gcc -m64'
15942
 
 
15943
 
case "${host}" in
15944
 
  i[34567]86-*-linux*)
15945
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for x86-64" >&5
15946
 
$as_echo_n "checking if building for x86-64... " >&6; }
15947
 
if ${ust_cv_i386_is_x86_64+:} false; then :
15948
 
  $as_echo_n "(cached) " >&6
15949
 
else
15950
 
  save_CPPFLAGS="$CPPFLAGS"
15951
 
                    CPPFLAGS="$CPPFLAGS $CFLAGS"
15952
 
                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15953
 
/* end confdefs.h.  */
15954
 
 
15955
 
#if __x86_64__
15956
 
got it
15957
 
#endif
15958
 
 
15959
 
_ACEOF
15960
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15961
 
  $EGREP "got it" >/dev/null 2>&1; then :
15962
 
  ust_cv_i386_is_x86_64=yes
15963
 
else
15964
 
  ust_cv_i386_is_x86_64=no
15965
 
fi
15966
 
rm -f conftest*
15967
 
 
15968
 
                    CPPFLAGS="$save_CPPFLAGS"
15969
 
fi
15970
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ust_cv_i386_is_x86_64" >&5
15971
 
$as_echo "$ust_cv_i386_is_x86_64" >&6; }
15972
 
    ;;
15973
 
esac
15974
 
 
15975
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking library format for the host system" >&5
15976
 
$as_echo_n "checking library format for the host system... " >&6; }
 
15948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system alignment requirements" >&5
 
15949
$as_echo_n "checking host system alignment requirements... " >&6; }
15977
15950
case $host_cpu in
15978
15951
        i[3456]86)
15979
 
          if test "$ust_cv_i386_is_x86_64" = yes ; then
15980
 
             LIBFORMAT="elf64-x86-64"
15981
 
          else
15982
 
             LIBFORMAT="elf32-i386"
15983
 
          fi
15984
15952
          ;;
15985
 
        x86_64) LIBFORMAT="elf64-x86-64" ;;
15986
 
        amd64) LIBFORMAT="elf64-x86-64" ;;
15987
 
        powerpc) LIBFORMAT="elf32-powerpc" ;;
15988
 
        ppc64) LIBFORMAT="elf64-powerpc" ;;
15989
 
        powerpc64) LIBFORMAT="elf64-powerpc" ;;
15990
 
        s390) LIBFORMAT="elf32-s390"; NO_UNALIGNED_ACCESS=1 ;;
15991
 
        s390x) LIBFORMAT="elf64-s390"; NO_UNALIGNED_ACCESS=1 ;;
15992
 
        armv5) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;;
15993
 
        arm) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;;
15994
 
        mips*) LIBFORMAT=""; NO_UNALIGNED_ACCESS=1;;
15995
 
        *) as_fn_error $? "unable to detect library format (unsupported architecture ($host_cpu)?)" "$LINENO" 5 ;;
 
15953
        x86_64) ;;
 
15954
        amd64) ;;
 
15955
        powerpc) ;;
 
15956
        ppc64) ;;
 
15957
        powerpc64) ;;
 
15958
        s390) NO_UNALIGNED_ACCESS=1 ;;
 
15959
        s390x) NO_UNALIGNED_ACCESS=1 ;;
 
15960
        arm*) NO_UNALIGNED_ACCESS=1 ;;
 
15961
        mips*) NO_UNALIGNED_ACCESS=1;;
 
15962
        *) as_fn_error $? "unable to detect alignment requirements (unsupported architecture ($host_cpu)?)" "$LINENO" 5 ;;
15996
15963
esac
15997
15964
 
15998
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBFORMAT" >&5
15999
 
$as_echo "$LIBFORMAT" >&6; }
16000
 
 
16001
 
if test "x$host_cpu" = "xarm" ; then
16002
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for armv5" >&5
16003
 
$as_echo_n "checking checking for armv5... " >&6; }
16004
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005
 
/* end confdefs.h.  */
16006
 
 
16007
 
#ifndef __ARM_ARCH_5TEJ__
16008
 
#error "no arm5 here"
16009
 
#endif
16010
 
 
16011
 
_ACEOF
16012
 
if ac_fn_c_try_compile "$LINENO"; then :
16013
 
 
16014
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16015
 
$as_echo "yes" >&6; }
16016
 
        NO_UNALIGNED_ACCESS=1
16017
 
 
16018
 
 
16019
 
else
16020
 
 
16021
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16022
 
$as_echo "no" >&6; }
16023
 
 
16024
 
 
16025
 
fi
16026
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16027
 
fi
16028
15965
if test x$NO_UNALIGNED_ACCESS = x ; then
16029
15966
$as_echo "#define LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS 1" >>confdefs.h
16030
15967
 
16162
16099
        #tests/exit-fast/Makefile
16163
16100
        #tests/basic_long/Makefile
16164
16101
 
16165
 
ac_config_files="$ac_config_files Makefile doc/Makefile doc/examples/Makefile include/Makefile include/lttng/ust-version.h snprintf/Makefile libringbuffer/Makefile liblttng-ust-comm/Makefile liblttng-ust/Makefile liblttng-ust-ctl/Makefile liblttng-ust-fork/Makefile liblttng-ust-java/Makefile liblttng-ust-libc-wrapper/Makefile tools/Makefile tests/Makefile tests/hello/Makefile tests/hello-static-lib/Makefile tests/hello.cxx/Makefile tests/demo/Makefile tests/fork/Makefile tests/ust-basic-tracing/Makefile tests/ust-multi-test/Makefile lttng-ust.pc"
 
16102
ac_config_files="$ac_config_files Makefile doc/Makefile doc/examples/Makefile include/Makefile include/lttng/ust-version.h snprintf/Makefile libringbuffer/Makefile liblttng-ust-comm/Makefile liblttng-ust/Makefile liblttng-ust-ctl/Makefile liblttng-ust-fork/Makefile liblttng-ust-java/Makefile liblttng-ust-libc-wrapper/Makefile tools/Makefile tests/Makefile tests/hello/Makefile tests/hello-static-lib/Makefile tests/hello.cxx/Makefile tests/daemon/Makefile tests/demo/Makefile tests/fork/Makefile tests/ust-basic-tracing/Makefile tests/ust-multi-test/Makefile lttng-ust.pc"
16166
16103
 
16167
16104
 
16168
16105
cat >confcache <<\_ACEOF
16282
16219
  am__EXEEXT_FALSE=
16283
16220
fi
16284
16221
 
 
16222
if test -z "${NO_SHARED_TRUE}" && test -z "${NO_SHARED_FALSE}"; then
 
16223
  as_fn_error $? "conditional \"NO_SHARED\" was never defined.
 
16224
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16225
fi
16285
16226
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16286
16227
  as_fn_error $? "conditional \"AMDEP\" was never defined.
16287
16228
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16711
16652
# report actual input values of CONFIG_FILES etc. instead of their
16712
16653
# values after options handling.
16713
16654
ac_log="
16714
 
This file was extended by lttng-ust $as_me 2.1.0-rc1, which was
 
16655
This file was extended by lttng-ust $as_me 2.1.0-rc2, which was
16715
16656
generated by GNU Autoconf 2.69.  Invocation command line was
16716
16657
 
16717
16658
  CONFIG_FILES    = $CONFIG_FILES
16777
16718
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16778
16719
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16779
16720
ac_cs_version="\\
16780
 
lttng-ust config.status 2.1.0-rc1
 
16721
lttng-ust config.status 2.1.0-rc2
16781
16722
configured by $0, generated by GNU Autoconf 2.69,
16782
16723
  with options \\"\$ac_cs_config\\"
16783
16724
 
17303
17244
    "tests/hello/Makefile") CONFIG_FILES="$CONFIG_FILES tests/hello/Makefile" ;;
17304
17245
    "tests/hello-static-lib/Makefile") CONFIG_FILES="$CONFIG_FILES tests/hello-static-lib/Makefile" ;;
17305
17246
    "tests/hello.cxx/Makefile") CONFIG_FILES="$CONFIG_FILES tests/hello.cxx/Makefile" ;;
 
17247
    "tests/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/daemon/Makefile" ;;
17306
17248
    "tests/demo/Makefile") CONFIG_FILES="$CONFIG_FILES tests/demo/Makefile" ;;
17307
17249
    "tests/fork/Makefile") CONFIG_FILES="$CONFIG_FILES tests/fork/Makefile" ;;
17308
17250
    "tests/ust-basic-tracing/Makefile") CONFIG_FILES="$CONFIG_FILES tests/ust-basic-tracing/Makefile" ;;