~kroq-gar78/ubuntu/precise/visualvm/fix-start

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-09-08 13:38:19 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: package-import@ubuntu.com-20110908133819-m9kpaeyz7ki01y1b
Tags: 1.3.2-0ubuntu1
* New upstream version.
* Drop build dependency on libnb-apisupport2-java. LP: #832764.
* Fix jdk detection. LP: #657048.
* Update package description. LP: #813165.

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.67 for visualvm 1.2.2.
 
3
# Generated by GNU Autoconf 2.68 for visualvm_harness 1.3.
4
4
#
5
5
# Report bugs to <distro-pkg-dev@openjdk.java.net>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
215
216
  # We cannot yet assume a decent shell, so we have to provide a
216
217
        # neutralization value for shells without unset; and this also
217
218
        # works around shells that cannot unset nonexistent variables.
 
219
        # Preserve -v and -x to the replacement shell.
218
220
        BASH_ENV=/dev/null
219
221
        ENV=/dev/null
220
222
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
223
        export CONFIG_SHELL
222
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
224
        case $- in # ((((
 
225
          *v*x* | *x*v* ) as_opts=-vx ;;
 
226
          *v* ) as_opts=-v ;;
 
227
          *x* ) as_opts=-x ;;
 
228
          * ) as_opts= ;;
 
229
        esac
 
230
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
223
231
fi
224
232
 
225
233
    if test x$as_have_required = xno; then :
549
557
MAKEFLAGS=
550
558
 
551
559
# Identity of this package.
552
 
PACKAGE_NAME='visualvm'
553
 
PACKAGE_TARNAME='visualvm'
554
 
PACKAGE_VERSION='1.2.2'
555
 
PACKAGE_STRING='visualvm 1.2.2'
 
560
PACKAGE_NAME='visualvm_harness'
 
561
PACKAGE_TARNAME='visualvm_harness'
 
562
PACKAGE_VERSION='1.3'
 
563
PACKAGE_STRING='visualvm_harness 1.3'
556
564
PACKAGE_BUGREPORT='distro-pkg-dev@openjdk.java.net'
557
565
PACKAGE_URL=''
558
566
 
560
568
am__EXEEXT_TRUE
561
569
LTLIBOBJS
562
570
LIBOBJS
 
571
NB_PLATFORM
 
572
SYSTEM_NETBEANS_DIR
 
573
VVVERSION_132_FALSE
 
574
VVVERSION_132_TRUE
 
575
VVVERSION_131_FALSE
 
576
VVVERSION_131_TRUE
 
577
VVVERSION_13_FALSE
 
578
VVVERSION_13_TRUE
563
579
ALT_VISUALVM_ZIP
564
580
USE_ALT_VISUALVM_ZIP_FALSE
565
581
USE_ALT_VISUALVM_ZIP_TRUE
580
596
SHA256SUM
581
597
ANT
582
598
SYSTEM_JDK_DIR
583
 
SYSTEM_NETBEANS_DIR
584
599
am__fastdepCC_FALSE
585
600
am__fastdepCC_TRUE
586
601
CCDEPMODE
664
679
ac_user_opts='
665
680
enable_option_checking
666
681
enable_dependency_tracking
667
 
with_netbeans_home
668
682
with_jdk_home
669
683
with_netbeans_profiler_zip
670
684
with_visualvm_zip
 
685
with_visualvm_version
 
686
with_netbeans_home
671
687
'
672
688
      ac_precious_vars='build_alias
673
689
host_alias
1081
1097
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082
1098
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1083
1099
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1100
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1085
1101
    ;;
1086
1102
 
1087
1103
  esac
1219
1235
  # Omit some internal or obsolete options to make the list less imposing.
1220
1236
  # This message is too long to be a string in the A/UX 3.1 sh.
1221
1237
  cat <<_ACEOF
1222
 
\`configure' configures visualvm 1.2.2 to adapt to many kinds of systems.
 
1238
\`configure' configures visualvm_harness 1.3 to adapt to many kinds of systems.
1223
1239
 
1224
1240
Usage: $0 [OPTION]... [VAR=VALUE]...
1225
1241
 
1267
1283
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1268
1284
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1269
1285
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1270
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/visualvm]
 
1286
  --docdir=DIR            documentation root
 
1287
                          [DATAROOTDIR/doc/visualvm_harness]
1271
1288
  --htmldir=DIR           html documentation [DOCDIR]
1272
1289
  --dvidir=DIR            dvi documentation [DOCDIR]
1273
1290
  --pdfdir=DIR            pdf documentation [DOCDIR]
1289
1306
 
1290
1307
if test -n "$ac_init_help"; then
1291
1308
  case $ac_init_help in
1292
 
     short | recursive ) echo "Configuration of visualvm 1.2.2:";;
 
1309
     short | recursive ) echo "Configuration of visualvm_harness 1.3:";;
1293
1310
   esac
1294
1311
  cat <<\_ACEOF
1295
1312
 
1303
1320
Optional Packages:
1304
1321
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1305
1322
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1306
 
  --with-netbeans-home    NetBeans home directory (default is
1307
 
                          /usr/share/netbeans)
1308
1323
  --with-jdk-home         jdk home directory (default is first predefined JDK
1309
1324
                          found)
1310
1325
  --with-netbeans-profiler-zip
1311
1326
                          specify the location of the NetBeans profiler zip
1312
1327
  --with-visualvm-zip     specify the location of the VisualVM zip
 
1328
  --with-visualvm-version the VisualVM version to build (see Makefile.am)
 
1329
  --with-netbeans-home    NetBeans home directory (default is
 
1330
                          /usr/share/netbeans)
1313
1331
 
1314
1332
Some influential environment variables:
1315
1333
  CC          C compiler command
1386
1404
test -n "$ac_init_help" && exit $ac_status
1387
1405
if $ac_init_version; then
1388
1406
  cat <<\_ACEOF
1389
 
visualvm configure 1.2.2
1390
 
generated by GNU Autoconf 2.67
 
1407
visualvm_harness configure 1.3
 
1408
generated by GNU Autoconf 2.68
1391
1409
 
1392
1410
Copyright (C) 2010 Free Software Foundation, Inc.
1393
1411
This configure script is free software; the Free Software Foundation
1433
1451
 
1434
1452
        ac_retval=1
1435
1453
fi
1436
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1454
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1437
1455
  as_fn_set_status $ac_retval
1438
1456
 
1439
1457
} # ac_fn_c_try_compile
1441
1459
This file contains any messages produced by compilers while
1442
1460
running configure, to aid debugging if configure makes a mistake.
1443
1461
 
1444
 
It was created by visualvm $as_me 1.2.2, which was
1445
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1462
It was created by visualvm_harness $as_me 1.3, which was
 
1463
generated by GNU Autoconf 2.68.  Invocation command line was
1446
1464
 
1447
1465
  $ $0 $@
1448
1466
 
1700
1718
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701
1719
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1702
1720
as_fn_error $? "failed to load site script $ac_site_file
1703
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
1721
See \`config.log' for more details" "$LINENO" 5; }
1704
1722
  fi
1705
1723
done
1706
1724
 
1837
1855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1838
1856
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1839
1857
if test -z "$INSTALL"; then
1840
 
if test "${ac_cv_path_install+set}" = set; then :
 
1858
if ${ac_cv_path_install+:} false; then :
1841
1859
  $as_echo_n "(cached) " >&6
1842
1860
else
1843
1861
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924
1942
'
1925
1943
case `pwd` in
1926
1944
  *[\\\"\#\$\&\'\`$am_lf]*)
1927
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
1945
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1928
1946
esac
1929
1947
case $srcdir in
1930
1948
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1931
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
1949
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1932
1950
esac
1933
1951
 
1934
1952
# Do `set' in a subshell so we don't clobber the current shell's
2014
2032
set dummy ${ac_tool_prefix}strip; ac_word=$2
2015
2033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2016
2034
$as_echo_n "checking for $ac_word... " >&6; }
2017
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2035
if ${ac_cv_prog_STRIP+:} false; then :
2018
2036
  $as_echo_n "(cached) " >&6
2019
2037
else
2020
2038
  if test -n "$STRIP"; then
2054
2072
set dummy strip; ac_word=$2
2055
2073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2056
2074
$as_echo_n "checking for $ac_word... " >&6; }
2057
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2075
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2058
2076
  $as_echo_n "(cached) " >&6
2059
2077
else
2060
2078
  if test -n "$ac_ct_STRIP"; then
2107
2125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2108
2126
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2109
2127
if test -z "$MKDIR_P"; then
2110
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2128
  if ${ac_cv_path_mkdir+:} false; then :
2111
2129
  $as_echo_n "(cached) " >&6
2112
2130
else
2113
2131
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158
2176
set dummy $ac_prog; ac_word=$2
2159
2177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2160
2178
$as_echo_n "checking for $ac_word... " >&6; }
2161
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2179
if ${ac_cv_prog_AWK+:} false; then :
2162
2180
  $as_echo_n "(cached) " >&6
2163
2181
else
2164
2182
  if test -n "$AWK"; then
2198
2216
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2199
2217
set x ${MAKE-make}
2200
2218
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2201
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2219
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2202
2220
  $as_echo_n "(cached) " >&6
2203
2221
else
2204
2222
  cat >conftest.make <<\_ACEOF
2255
2273
 
2256
2274
 
2257
2275
# Define the identity of the package.
2258
 
 PACKAGE='visualvm'
2259
 
 VERSION='1.2.2'
 
2276
 PACKAGE='visualvm_harness'
 
2277
 VERSION='1.3'
2260
2278
 
2261
2279
 
2262
2280
cat >>confdefs.h <<_ACEOF
2364
2382
done
2365
2383
rm -rf conftest.dir
2366
2384
 
2367
 
if test "${am_cv_prog_tar_pax+set}" = set; then :
 
2385
if ${am_cv_prog_tar_pax+:} false; then :
2368
2386
  $as_echo_n "(cached) " >&6
2369
2387
else
2370
2388
  am_cv_prog_tar_pax=$_am_tool
2399
2417
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2400
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2401
2419
$as_echo_n "checking for $ac_word... " >&6; }
2402
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2420
if ${ac_cv_prog_CC+:} false; then :
2403
2421
  $as_echo_n "(cached) " >&6
2404
2422
else
2405
2423
  if test -n "$CC"; then
2439
2457
set dummy gcc; ac_word=$2
2440
2458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441
2459
$as_echo_n "checking for $ac_word... " >&6; }
2442
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2460
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2443
2461
  $as_echo_n "(cached) " >&6
2444
2462
else
2445
2463
  if test -n "$ac_ct_CC"; then
2492
2510
set dummy ${ac_tool_prefix}cc; ac_word=$2
2493
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494
2512
$as_echo_n "checking for $ac_word... " >&6; }
2495
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2513
if ${ac_cv_prog_CC+:} false; then :
2496
2514
  $as_echo_n "(cached) " >&6
2497
2515
else
2498
2516
  if test -n "$CC"; then
2532
2550
set dummy cc; ac_word=$2
2533
2551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534
2552
$as_echo_n "checking for $ac_word... " >&6; }
2535
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2553
if ${ac_cv_prog_CC+:} false; then :
2536
2554
  $as_echo_n "(cached) " >&6
2537
2555
else
2538
2556
  if test -n "$CC"; then
2591
2609
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2592
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593
2611
$as_echo_n "checking for $ac_word... " >&6; }
2594
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2612
if ${ac_cv_prog_CC+:} false; then :
2595
2613
  $as_echo_n "(cached) " >&6
2596
2614
else
2597
2615
  if test -n "$CC"; then
2635
2653
set dummy $ac_prog; ac_word=$2
2636
2654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637
2655
$as_echo_n "checking for $ac_word... " >&6; }
2638
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2656
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2639
2657
  $as_echo_n "(cached) " >&6
2640
2658
else
2641
2659
  if test -n "$ac_ct_CC"; then
2690
2708
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2691
2709
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2692
2710
as_fn_error $? "no acceptable C compiler found in \$PATH
2693
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2711
See \`config.log' for more details" "$LINENO" 5; }
2694
2712
 
2695
2713
# Provide some information about the compiler.
2696
2714
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2805
2823
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2806
2824
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2807
2825
as_fn_error 77 "C compiler cannot create executables
2808
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2826
See \`config.log' for more details" "$LINENO" 5; }
2809
2827
else
2810
2828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2811
2829
$as_echo "yes" >&6; }
2848
2866
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2849
2867
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2850
2868
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2851
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2869
See \`config.log' for more details" "$LINENO" 5; }
2852
2870
fi
2853
2871
rm -f conftest conftest$ac_cv_exeext
2854
2872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2907
2925
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908
2926
as_fn_error $? "cannot run C compiled programs.
2909
2927
If you meant to cross compile, use \`--host'.
2910
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2928
See \`config.log' for more details" "$LINENO" 5; }
2911
2929
    fi
2912
2930
  fi
2913
2931
fi
2918
2936
ac_clean_files=$ac_clean_files_save
2919
2937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2920
2938
$as_echo_n "checking for suffix of object files... " >&6; }
2921
 
if test "${ac_cv_objext+set}" = set; then :
 
2939
if ${ac_cv_objext+:} false; then :
2922
2940
  $as_echo_n "(cached) " >&6
2923
2941
else
2924
2942
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959
2977
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2960
2978
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2961
2979
as_fn_error $? "cannot compute suffix of object files: cannot compile
2962
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2980
See \`config.log' for more details" "$LINENO" 5; }
2963
2981
fi
2964
2982
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2965
2983
fi
2969
2987
ac_objext=$OBJEXT
2970
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2971
2989
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2972
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
2990
if ${ac_cv_c_compiler_gnu+:} false; then :
2973
2991
  $as_echo_n "(cached) " >&6
2974
2992
else
2975
2993
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006
3024
ac_save_CFLAGS=$CFLAGS
3007
3025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3008
3026
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3009
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3027
if ${ac_cv_prog_cc_g+:} false; then :
3010
3028
  $as_echo_n "(cached) " >&6
3011
3029
else
3012
3030
  ac_save_c_werror_flag=$ac_c_werror_flag
3084
3102
fi
3085
3103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3086
3104
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3087
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3105
if ${ac_cv_prog_cc_c89+:} false; then :
3088
3106
  $as_echo_n "(cached) " >&6
3089
3107
else
3090
3108
  ac_cv_prog_cc_c89=no
3245
3263
 
3246
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3247
3265
$as_echo_n "checking dependency style of $depcc... " >&6; }
3248
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3266
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3249
3267
  $as_echo_n "(cached) " >&6
3250
3268
else
3251
3269
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3369
3387
 
3370
3388
 
3371
3389
 
3372
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a NetBeans installation" >&5
3373
 
$as_echo_n "checking for a NetBeans installation... " >&6; }
3374
 
 
3375
 
# Check whether --with-netbeans-home was given.
3376
 
if test "${with_netbeans_home+set}" = set; then :
3377
 
  withval=$with_netbeans_home;
3378
 
              if test "x${withval}" = x
3379
 
              then
3380
 
                SYSTEM_NETBEANS_DIR=/usr/share/netbeans
3381
 
              else
3382
 
                SYSTEM_NETBEANS_DIR=${withval}
3383
 
              fi
3384
 
 
3385
 
else
3386
 
 
3387
 
              SYSTEM_NETBEANS_DIR=/usr/share/netbeans
3388
 
 
3389
 
fi
3390
 
 
3391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SYSTEM_NETBEANS_DIR}" >&5
3392
 
$as_echo "${SYSTEM_NETBEANS_DIR}" >&6; }
3393
 
 
3394
 
 
3395
3390
 
3396
3391
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a JDK home directory" >&5
3397
3392
$as_echo_n "checking for a JDK home directory... " >&6; }
3437
3432
set dummy ${ac_tool_prefix}ant; ac_word=$2
3438
3433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439
3434
$as_echo_n "checking for $ac_word... " >&6; }
3440
 
if test "${ac_cv_path_ANT+set}" = set; then :
 
3435
if ${ac_cv_path_ANT+:} false; then :
3441
3436
  $as_echo_n "(cached) " >&6
3442
3437
else
3443
3438
  case $ANT in
3480
3475
set dummy ant; ac_word=$2
3481
3476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482
3477
$as_echo_n "checking for $ac_word... " >&6; }
3483
 
if test "${ac_cv_path_ac_pt_ANT+set}" = set; then :
 
3478
if ${ac_cv_path_ac_pt_ANT+:} false; then :
3484
3479
  $as_echo_n "(cached) " >&6
3485
3480
else
3486
3481
  case $ac_pt_ANT in
3540
3535
set dummy ${ac_tool_prefix}sha256sum; ac_word=$2
3541
3536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542
3537
$as_echo_n "checking for $ac_word... " >&6; }
3543
 
if test "${ac_cv_path_SHA256SUM+set}" = set; then :
 
3538
if ${ac_cv_path_SHA256SUM+:} false; then :
3544
3539
  $as_echo_n "(cached) " >&6
3545
3540
else
3546
3541
  case $SHA256SUM in
3583
3578
set dummy sha256sum; ac_word=$2
3584
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585
3580
$as_echo_n "checking for $ac_word... " >&6; }
3586
 
if test "${ac_cv_path_ac_pt_SHA256SUM+set}" = set; then :
 
3581
if ${ac_cv_path_ac_pt_SHA256SUM+:} false; then :
3587
3582
  $as_echo_n "(cached) " >&6
3588
3583
else
3589
3584
  case $ac_pt_SHA256SUM in
3643
3638
set dummy ${ac_tool_prefix}wget; ac_word=$2
3644
3639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645
3640
$as_echo_n "checking for $ac_word... " >&6; }
3646
 
if test "${ac_cv_path_WGET+set}" = set; then :
 
3641
if ${ac_cv_path_WGET+:} false; then :
3647
3642
  $as_echo_n "(cached) " >&6
3648
3643
else
3649
3644
  case $WGET in
3686
3681
set dummy wget; ac_word=$2
3687
3682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688
3683
$as_echo_n "checking for $ac_word... " >&6; }
3689
 
if test "${ac_cv_path_ac_pt_WGET+set}" = set; then :
 
3684
if ${ac_cv_path_ac_pt_WGET+:} false; then :
3690
3685
  $as_echo_n "(cached) " >&6
3691
3686
else
3692
3687
  case $ac_pt_WGET in
3746
3741
set dummy ${ac_tool_prefix}tar; ac_word=$2
3747
3742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748
3743
$as_echo_n "checking for $ac_word... " >&6; }
3749
 
if test "${ac_cv_path_TAR+set}" = set; then :
 
3744
if ${ac_cv_path_TAR+:} false; then :
3750
3745
  $as_echo_n "(cached) " >&6
3751
3746
else
3752
3747
  case $TAR in
3789
3784
set dummy tar; ac_word=$2
3790
3785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791
3786
$as_echo_n "checking for $ac_word... " >&6; }
3792
 
if test "${ac_cv_path_ac_pt_TAR+set}" = set; then :
 
3787
if ${ac_cv_path_ac_pt_TAR+:} false; then :
3793
3788
  $as_echo_n "(cached) " >&6
3794
3789
else
3795
3790
  case $ac_pt_TAR in
3851
3846
 
3852
3847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3853
3848
$as_echo_n "checking build system type... " >&6; }
3854
 
if test "${ac_cv_build+set}" = set; then :
 
3849
if ${ac_cv_build+:} false; then :
3855
3850
  $as_echo_n "(cached) " >&6
3856
3851
else
3857
3852
  ac_build_alias=$build_alias
3867
3862
$as_echo "$ac_cv_build" >&6; }
3868
3863
case $ac_cv_build in
3869
3864
*-*-*) ;;
3870
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
3865
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3871
3866
esac
3872
3867
build=$ac_cv_build
3873
3868
ac_save_IFS=$IFS; IFS='-'
3885
3880
 
3886
3881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3887
3882
$as_echo_n "checking host system type... " >&6; }
3888
 
if test "${ac_cv_host+set}" = set; then :
 
3883
if ${ac_cv_host+:} false; then :
3889
3884
  $as_echo_n "(cached) " >&6
3890
3885
else
3891
3886
  if test "x$host_alias" = x; then
3900
3895
$as_echo "$ac_cv_host" >&6; }
3901
3896
case $ac_cv_host in
3902
3897
*-*-*) ;;
3903
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
3898
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3904
3899
esac
3905
3900
host=$ac_cv_host
3906
3901
ac_save_IFS=$IFS; IFS='-'
4001
3996
 
4002
3997
 
4003
3998
 
 
3999
  DEFAULT_VERSION="1.2.2"
 
4000
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which VisualVM version to build" >&5
 
4001
$as_echo_n "checking which VisualVM version to build... " >&6; }
 
4002
 
 
4003
# Check whether --with-visualvm-version was given.
 
4004
if test "${with_visualvm_version+set}" = set; then :
 
4005
  withval=$with_visualvm_version;
 
4006
    VVVERSION="${withval}"
 
4007
 
 
4008
else
 
4009
 
 
4010
    VVVERSION="${DEFAULT_VERSION}"
 
4011
 
 
4012
fi
 
4013
 
 
4014
  if test "x${VVVERSION}" = xyes; then
 
4015
        VVVERSION="${DEFAULT_VERSION}"
 
4016
  elif test "x${VVVERSION}" = xno; then
 
4017
        VVVERSION="${DEFAULT_VERSION}"
 
4018
  fi
 
4019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${VVVERSION}" >&5
 
4020
$as_echo "${VVVERSION}" >&6; }
 
4021
   if test "$VVVERSION" = "1.3"; then
 
4022
  VVVERSION_13_TRUE=
 
4023
  VVVERSION_13_FALSE='#'
 
4024
else
 
4025
  VVVERSION_13_TRUE='#'
 
4026
  VVVERSION_13_FALSE=
 
4027
fi
 
4028
 
 
4029
   if test "$VVVERSION" = "1.3.1"; then
 
4030
  VVVERSION_131_TRUE=
 
4031
  VVVERSION_131_FALSE='#'
 
4032
else
 
4033
  VVVERSION_131_TRUE='#'
 
4034
  VVVERSION_131_FALSE=
 
4035
fi
 
4036
 
 
4037
   if test "$VVVERSION" = "1.3.2"; then
 
4038
  VVVERSION_132_TRUE=
 
4039
  VVVERSION_132_FALSE='#'
 
4040
else
 
4041
  VVVERSION_132_TRUE='#'
 
4042
  VVVERSION_132_FALSE=
 
4043
fi
 
4044
 
 
4045
 
 
4046
 
 
4047
 
 
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a NetBeans installation" >&5
 
4049
$as_echo_n "checking for a NetBeans installation... " >&6; }
 
4050
 
 
4051
# Check whether --with-netbeans-home was given.
 
4052
if test "${with_netbeans_home+set}" = set; then :
 
4053
  withval=$with_netbeans_home;
 
4054
              if test "x${withval}" = x
 
4055
              then
 
4056
                SYSTEM_NETBEANS_DIR=/usr/share/netbeans
 
4057
              else
 
4058
                SYSTEM_NETBEANS_DIR=${withval}
 
4059
              fi
 
4060
 
 
4061
else
 
4062
 
 
4063
              SYSTEM_NETBEANS_DIR=/usr/share/netbeans
 
4064
 
 
4065
fi
 
4066
 
 
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SYSTEM_NETBEANS_DIR}" >&5
 
4068
$as_echo "${SYSTEM_NETBEANS_DIR}" >&6; }
 
4069
 
 
4070
if test "$VVVERSION" = "1.3.2"; then
 
4071
   NB_PLATFORM=platform12;
 
4072
else if test "$VVVERSION" = "1.3.1"; then
 
4073
   NB_PLATFORM=platform12;
 
4074
else if test "$VVVERSION" = "1.3"; then
 
4075
   NB_PLATFORM=platform12;
 
4076
else
 
4077
   NB_PLATFORM=platform11;
 
4078
fi
 
4079
fi
 
4080
fi
 
4081
if ! test -d ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM} ; then
 
4082
  as_fn_error $? "Couldn't find NetBeans platform directory: ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM}" "$LINENO" 5
 
4083
fi
 
4084
 
 
4085
 
 
4086
 
4004
4087
cat >confcache <<\_ACEOF
4005
4088
# This file is a shell script that caches the results of configure
4006
4089
# tests run on this system so they can be shared between configure
4065
4148
     :end' >>confcache
4066
4149
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4067
4150
  if test -w "$cache_file"; then
4068
 
    test "x$cache_file" != "x/dev/null" &&
 
4151
    if test "x$cache_file" != "x/dev/null"; then
4069
4152
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4070
4153
$as_echo "$as_me: updating cache $cache_file" >&6;}
4071
 
    cat confcache >$cache_file
 
4154
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
4155
        cat confcache >"$cache_file"
 
4156
      else
 
4157
        case $cache_file in #(
 
4158
        */* | ?:*)
 
4159
          mv -f confcache "$cache_file"$$ &&
 
4160
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
4161
        *)
 
4162
          mv -f confcache "$cache_file" ;;
 
4163
        esac
 
4164
      fi
 
4165
    fi
4072
4166
  else
4073
4167
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4074
4168
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4159
4253
  as_fn_error $? "conditional \"USE_ALT_VISUALVM_ZIP\" was never defined.
4160
4254
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4161
4255
fi
 
4256
if test -z "${VVVERSION_13_TRUE}" && test -z "${VVVERSION_13_FALSE}"; then
 
4257
  as_fn_error $? "conditional \"VVVERSION_13\" was never defined.
 
4258
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
4259
fi
 
4260
if test -z "${VVVERSION_131_TRUE}" && test -z "${VVVERSION_131_FALSE}"; then
 
4261
  as_fn_error $? "conditional \"VVVERSION_131\" was never defined.
 
4262
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
4263
fi
 
4264
if test -z "${VVVERSION_132_TRUE}" && test -z "${VVVERSION_132_FALSE}"; then
 
4265
  as_fn_error $? "conditional \"VVVERSION_132\" was never defined.
 
4266
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
4267
fi
4162
4268
 
4163
 
: ${CONFIG_STATUS=./config.status}
 
4269
: "${CONFIG_STATUS=./config.status}"
4164
4270
ac_write_fail=0
4165
4271
ac_clean_files_save=$ac_clean_files
4166
4272
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4261
4367
IFS=" ""        $as_nl"
4262
4368
 
4263
4369
# Find who we are.  Look in the path if we contain no directory separator.
 
4370
as_myself=
4264
4371
case $0 in #((
4265
4372
  *[\\/]* ) as_myself=$0 ;;
4266
4373
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567
4674
# report actual input values of CONFIG_FILES etc. instead of their
4568
4675
# values after options handling.
4569
4676
ac_log="
4570
 
This file was extended by visualvm $as_me 1.2.2, which was
4571
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
4677
This file was extended by visualvm_harness $as_me 1.3, which was
 
4678
generated by GNU Autoconf 2.68.  Invocation command line was
4572
4679
 
4573
4680
  CONFIG_FILES    = $CONFIG_FILES
4574
4681
  CONFIG_HEADERS  = $CONFIG_HEADERS
4624
4731
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4625
4732
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4626
4733
ac_cs_version="\\
4627
 
visualvm config.status 1.2.2
4628
 
configured by $0, generated by GNU Autoconf 2.67,
 
4734
visualvm_harness config.status 1.3
 
4735
configured by $0, generated by GNU Autoconf 2.68,
4629
4736
  with options \\"\$ac_cs_config\\"
4630
4737
 
4631
4738
Copyright (C) 2010 Free Software Foundation, Inc.
4746
4853
    "visualvm.desktop") CONFIG_FILES="$CONFIG_FILES visualvm.desktop" ;;
4747
4854
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4748
4855
 
4749
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
4856
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4750
4857
  esac
4751
4858
done
4752
4859
 
4768
4875
# after its creation but before its name has been assigned to `$tmp'.
4769
4876
$debug ||
4770
4877
{
4771
 
  tmp=
 
4878
  tmp= ac_tmp=
4772
4879
  trap 'exit_status=$?
4773
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
4880
  : "${ac_tmp:=$tmp}"
 
4881
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4774
4882
' 0
4775
4883
  trap 'as_fn_exit 1' 1 2 13 15
4776
4884
}
4778
4886
 
4779
4887
{
4780
4888
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4781
 
  test -n "$tmp" && test -d "$tmp"
 
4889
  test -d "$tmp"
4782
4890
}  ||
4783
4891
{
4784
4892
  tmp=./conf$$-$RANDOM
4785
4893
  (umask 077 && mkdir "$tmp")
4786
4894
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
4895
ac_tmp=$tmp
4787
4896
 
4788
4897
# Set up the scripts for CONFIG_FILES section.
4789
4898
# No need to generate them if there are no CONFIG_FILES.
4805
4914
  ac_cs_awk_cr=$ac_cr
4806
4915
fi
4807
4916
 
4808
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
4917
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4809
4918
_ACEOF
4810
4919
 
4811
4920
 
4833
4942
rm -f conf$$subs.sh
4834
4943
 
4835
4944
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4836
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
4945
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4837
4946
_ACEOF
4838
4947
sed -n '
4839
4948
h
4881
4990
rm -f conf$$subs.awk
4882
4991
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4883
4992
_ACAWK
4884
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
4993
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4885
4994
  for (key in S) S_is_set[key] = 1
4886
4995
  FS = ""
4887
4996
 
4913
5022
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4914
5023
else
4915
5024
  cat
4916
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
5025
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4917
5026
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4918
5027
_ACEOF
4919
5028
 
4953
5062
  esac
4954
5063
  case $ac_mode$ac_tag in
4955
5064
  :[FHL]*:*);;
4956
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
5065
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4957
5066
  :[FH]-) ac_tag=-:-;;
4958
5067
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4959
5068
  esac
4972
5081
    for ac_f
4973
5082
    do
4974
5083
      case $ac_f in
4975
 
      -) ac_f="$tmp/stdin";;
 
5084
      -) ac_f="$ac_tmp/stdin";;
4976
5085
      *) # Look for the file first in the build tree, then in the source tree
4977
5086
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4978
5087
         # because $ac_f cannot contain `:'.
4981
5090
           [\\/$]*) false;;
4982
5091
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4983
5092
           esac ||
4984
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
5093
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4985
5094
      esac
4986
5095
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4987
5096
      as_fn_append ac_file_inputs " '$ac_f'"
5007
5116
    esac
5008
5117
 
5009
5118
    case $ac_tag in
5010
 
    *:-:* | *:-) cat >"$tmp/stdin" \
5011
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
5119
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
5120
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5012
5121
    esac
5013
5122
    ;;
5014
5123
  esac
5144
5253
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5145
5254
$ac_datarootdir_hack
5146
5255
"
5147
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5148
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
5256
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
5257
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5149
5258
 
5150
5259
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5151
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5152
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
5260
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
5261
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
5262
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5153
5263
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5154
5264
which seems to be undefined.  Please make sure it is defined" >&5
5155
5265
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5156
5266
which seems to be undefined.  Please make sure it is defined" >&2;}
5157
5267
 
5158
 
  rm -f "$tmp/stdin"
 
5268
  rm -f "$ac_tmp/stdin"
5159
5269
  case $ac_file in
5160
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
5161
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
5270
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
5271
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5162
5272
  esac \
5163
5273
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5164
5274
 ;;