~ubuntu-branches/debian/stretch/bristol/stretch

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-11-14 06:15:01 UTC
  • mfrom: (1.2.6) (6.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20111114061501-fralw11sxtl7n929
Tags: 0.60.9-1
* New upstream bugfix release.
* Depends on libjack-dev only.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
771
771
PKG_CONFIG
772
772
BRISTOL_HAS_DRAIN
773
773
BRIGHTON_HAS_AUTOZOOM
 
774
BRISTOL_BARRIER
774
775
BRISTOL_SEMAPHORE
775
776
BRISTOL_SEM_OPEN
 
777
BRISTOL_LIN_ATTACK
776
778
_BRISTOL_VOICES
 
779
BRR
777
780
BRIGHTON_LIBXLIBS
778
781
BRIGHTON_LIBXEXT
779
782
BRIGHTON_LIBB11
908
911
enable_x11
909
912
enable_ximage
910
913
enable_shmimage
 
914
enable_exp_attack
911
915
enable_semaphore
912
916
enable_sem_open
 
917
enable_memory_barrier
913
918
enable_autozoom
914
919
enable_drain
915
920
enable_alsa
1566
1571
  --disable-x11                 disable X11 interface
1567
1572
  --disable-ximage              ignore XImage interface
1568
1573
  --disable-shmimage            ignore XShmImage interface
 
1574
  --enable-exp-attack           enable exponential attack
1569
1575
  --enable-semaphore            enable engine semaphores
1570
1576
  --enable-sem-open             use sem_open interface
 
1577
  --enable-memory-barrier       enable ringbuffer barrier
1571
1578
  --disable-autozoom            disable window autozoom on Enter
1572
1579
  --disable-drain               no reopen of audio dev on error
1573
1580
  --disable-alsa                ignore ALSA driver
2385
2392
 
2386
2393
BRISTOL_MAJOR_VERSION=0
2387
2394
BRISTOL_MINOR_VERSION=60
2388
 
BRISTOL_MICRO_VERSION=8
 
2395
BRISTOL_MICRO_VERSION=9
2389
2396
 
2390
2397
BRISTOL_API_CURRENT=0
2391
 
BRISTOL_API_REVISION=68
 
2398
BRISTOL_API_REVISION=69
2392
2399
BRISTOL_API_AGE=0
2393
2400
 
2394
2401
 
4568
4575
else
4569
4576
  lt_cv_nm_interface="BSD nm"
4570
4577
  echo "int some_variable = 0;" > conftest.$ac_ext
4571
 
  (eval echo "\"\$as_me:4571: $ac_compile\"" >&5)
 
4578
  (eval echo "\"\$as_me:4578: $ac_compile\"" >&5)
4572
4579
  (eval "$ac_compile" 2>conftest.err)
4573
4580
  cat conftest.err >&5
4574
 
  (eval echo "\"\$as_me:4574: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4581
  (eval echo "\"\$as_me:4581: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4575
4582
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4576
4583
  cat conftest.err >&5
4577
 
  (eval echo "\"\$as_me:4577: output\"" >&5)
 
4584
  (eval echo "\"\$as_me:4584: output\"" >&5)
4578
4585
  cat conftest.out >&5
4579
4586
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4580
4587
    lt_cv_nm_interface="MS dumpbin"
5780
5787
  ;;
5781
5788
*-*-irix6*)
5782
5789
  # Find out which ABI we are using.
5783
 
  echo '#line 5783 "configure"' > conftest.$ac_ext
 
5790
  echo '#line 5790 "configure"' > conftest.$ac_ext
5784
5791
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5785
5792
  (eval $ac_compile) 2>&5
5786
5793
  ac_status=$?
7310
7317
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7311
7318
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7312
7319
   -e 's:$: $lt_compiler_flag:'`
7313
 
   (eval echo "\"\$as_me:7313: $lt_compile\"" >&5)
 
7320
   (eval echo "\"\$as_me:7320: $lt_compile\"" >&5)
7314
7321
   (eval "$lt_compile" 2>conftest.err)
7315
7322
   ac_status=$?
7316
7323
   cat conftest.err >&5
7317
 
   echo "$as_me:7317: \$? = $ac_status" >&5
 
7324
   echo "$as_me:7324: \$? = $ac_status" >&5
7318
7325
   if (exit $ac_status) && test -s "$ac_outfile"; then
7319
7326
     # The compiler can only warn and ignore the option if not recognized
7320
7327
     # So say no if there are warnings other than the usual output.
7649
7656
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7650
7657
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7651
7658
   -e 's:$: $lt_compiler_flag:'`
7652
 
   (eval echo "\"\$as_me:7652: $lt_compile\"" >&5)
 
7659
   (eval echo "\"\$as_me:7659: $lt_compile\"" >&5)
7653
7660
   (eval "$lt_compile" 2>conftest.err)
7654
7661
   ac_status=$?
7655
7662
   cat conftest.err >&5
7656
 
   echo "$as_me:7656: \$? = $ac_status" >&5
 
7663
   echo "$as_me:7663: \$? = $ac_status" >&5
7657
7664
   if (exit $ac_status) && test -s "$ac_outfile"; then
7658
7665
     # The compiler can only warn and ignore the option if not recognized
7659
7666
     # So say no if there are warnings other than the usual output.
7754
7761
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7755
7762
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7756
7763
   -e 's:$: $lt_compiler_flag:'`
7757
 
   (eval echo "\"\$as_me:7757: $lt_compile\"" >&5)
 
7764
   (eval echo "\"\$as_me:7764: $lt_compile\"" >&5)
7758
7765
   (eval "$lt_compile" 2>out/conftest.err)
7759
7766
   ac_status=$?
7760
7767
   cat out/conftest.err >&5
7761
 
   echo "$as_me:7761: \$? = $ac_status" >&5
 
7768
   echo "$as_me:7768: \$? = $ac_status" >&5
7762
7769
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7763
7770
   then
7764
7771
     # The compiler can only warn and ignore the option if not recognized
7809
7816
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7810
7817
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7811
7818
   -e 's:$: $lt_compiler_flag:'`
7812
 
   (eval echo "\"\$as_me:7812: $lt_compile\"" >&5)
 
7819
   (eval echo "\"\$as_me:7819: $lt_compile\"" >&5)
7813
7820
   (eval "$lt_compile" 2>out/conftest.err)
7814
7821
   ac_status=$?
7815
7822
   cat out/conftest.err >&5
7816
 
   echo "$as_me:7816: \$? = $ac_status" >&5
 
7823
   echo "$as_me:7823: \$? = $ac_status" >&5
7817
7824
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7818
7825
   then
7819
7826
     # The compiler can only warn and ignore the option if not recognized
10193
10200
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10194
10201
  lt_status=$lt_dlunknown
10195
10202
  cat > conftest.$ac_ext <<_LT_EOF
10196
 
#line 10196 "configure"
 
10203
#line 10203 "configure"
10197
10204
#include "confdefs.h"
10198
10205
 
10199
10206
#if HAVE_DLFCN_H
10289
10296
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10290
10297
  lt_status=$lt_dlunknown
10291
10298
  cat > conftest.$ac_ext <<_LT_EOF
10292
 
#line 10292 "configure"
 
10299
#line 10299 "configure"
10293
10300
#include "confdefs.h"
10294
10301
 
10295
10302
#if HAVE_DLFCN_H
11219
11226
 
11220
11227
 
11221
11228
# if we have a previous version pan the build
 
11229
showErrMsg1()
 
11230
{
 
11231
        echo
 
11232
        echo "*************************************************************"
 
11233
        echo "*                                                           *"
 
11234
        echo "*  A previous bristol installation exists on this system.   *"
 
11235
        echo "*                                                           *"
 
11236
        echo "*  If you have bristol installed from your package manager  *"
 
11237
        echo "*  you really need to remove it first. If you have it from  *"
 
11238
        echo "*  a previous bristol build then you can remove it with a   *"
 
11239
        echo "*  'make uninstall' from the previous build dir.            *"
 
11240
        echo "*                                                           *"
 
11241
        echo "*  If you understand the risks or just want to be lazy then *"
 
11242
        echo "*  you can override this test with --disable-version-check  *"
 
11243
        echo "*  however the author advises against such a workaround.    *"
 
11244
        echo "*                                                           *"
 
11245
        echo "*************************************************************"
 
11246
        echo
 
11247
        exit 1
 
11248
}
 
11249
 
11222
11250
TRY_VC=yes
11223
11251
# Check whether --enable-version_check was given.
11224
11252
if test "${enable_version_check+set}" = set; then :
11230
11258
if test "x$TRY_VC" = 'xyes'
11231
11259
then
11232
11260
        which startBristol > /dev/null 2>&1
11233
 
        if test $? == 0; then
11234
 
                echo
11235
 
                echo "*************************************************************"
11236
 
                echo "*                                                           *"
11237
 
                echo "*  A previous bristol installation exists on this system.   *"
11238
 
                echo "*                                                           *"
11239
 
                echo "*  If you have bristol installed from your package manager  *"
11240
 
                echo "*  you really need to remove it first. If you have it from  *"
11241
 
                echo "*  a previous bristol build then you can remove it wth a    *"
11242
 
                echo "*  with a 'make uninstall' from the previous build dir.     *"
11243
 
                echo "*                                                           *"
11244
 
                echo "*  If you understand the risks or just want to be lazy then *"
11245
 
                echo "*  you can override this with --disable-version-check       *"
11246
 
                echo "*                                                           *"
11247
 
                echo "*************************************************************"
11248
 
                echo
11249
 
                exit 1
11250
 
        fi
 
11261
        if test $? == 0; then showErrMsg1; fi
 
11262
        which bristol > /dev/null 2>&1
 
11263
        if test $? == 0; then showErrMsg1; fi
 
11264
        if test -f ${prefix}/bin/bristol; then showErrMsg1; fi
11251
11265
fi
11252
11266
 
11253
11267
# Checks for header files.
11415
11429
 
11416
11430
 
11417
11431
 
 
11432
BRR=${BRISTOL_RAMP_RATE:-10}
 
11433
 
 
11434
 
11418
11435
_BRISTOL_VOICES=${BRISTOL_VOICECOUNT:-32}
11419
11436
 
11420
11437
 
 
11438
BRISTOL_LIN_ATTACK=-DBRISTOL_LIN_ATTACK
 
11439
# Check whether --enable-exp-attack was given.
 
11440
if test "${enable_exp_attack+set}" = set; then :
 
11441
  enableval=$enable_exp_attack; USE_EXP_ATTACK=yes
 
11442
else
 
11443
  USE_EXP_ATTACK=no
 
11444
fi
 
11445
 
 
11446
if test "x$USE_EXP_ATTACK" == "xyes"
 
11447
then
 
11448
        BRISTOL_LIN_ATTACK=
 
11449
fi
 
11450
 
 
11451
 
11421
11452
BRISTOL_SEM_OPEN=
11422
11453
BRISTOL_SEMAPHORE=
11423
11454
# Check whether --enable-semaphore was given.
11447
11478
 
11448
11479
 
11449
11480
 
 
11481
BRISTOL_BARRIER=
 
11482
# Check whether --enable-memory-barrier was given.
 
11483
if test "${enable_memory_barrier+set}" = set; then :
 
11484
  enableval=$enable_memory_barrier; USE_BARRIER=yes
 
11485
else
 
11486
  USE_BARRIER=no
 
11487
fi
 
11488
 
 
11489
if test "x$USE_BARRIER" == "xyes"
 
11490
then
 
11491
        BRISTOL_BARRIER=-DUSE_MLOCK
 
11492
fi
11450
11493
 
11451
11494
 
11452
11495
# Checks for autozoom feature requested
14520
14563
echo \| Build with sem_open ............................ : true
14521
14564
fi
14522
14565
fi
 
14566
 
 
14567
if test $USE_BARRIER == "yes"; then
 
14568
echo \| Build with jrb memory barrier .................. : true
 
14569
fi
 
14570
 
14523
14571
echo \| Build with Graphical Interface ................. : $HAVE_XHEADERS
14524
14572
if test "x$TRY_X11" = "xyes"; then
14525
14573
echo \| Compile with GUI support ....................... : true
14540
14588
echo \| Lib directory .................................. : ${prefix}/lib
14541
14589
echo \| Data directory ................................. : $BRISTOL_DIR
14542
14590
echo \| Default voicecount ............................. : BRISTOL_VOICECOUNT=$_BRISTOL_VOICES
 
14591
if test $BRR != 10; then
 
14592
echo \| Envelope max ramp time ......................... : $BRR seconds
 
14593
fi
 
14594
if test x$USE_EXP_ATTACK == "xyes"; then
 
14595
echo \| Envelope attack type ........................... : exponential
 
14596
fi
14543
14597
echo \| author ......................................... : Nick Copeland
14544
14598
echo \| email .......................................... : nickycopeland@hotmail.com
14545
14599
echo \| web ............................................ : http://bristol.sf.net