@@ -586,11 +586,6 @@ PACKAGE_URL=''
586
586
587
587
ac_subst_vars=' LTLIBOBJS
588
588
LIBOBJS
589
- GL_CFLAGS_GPR
590
- GL_LIBS_GPR
591
- HAVE_OPENGL
592
- GL_CFLAGS
593
- GL_LIBS
594
589
GTK_LIBS_GPR
595
590
FONTCONFIG_LIBS
596
591
FONTCONFIG_CFLAGS
@@ -689,8 +684,6 @@ enable_shared
689
684
enable_build
690
685
enable_nls
691
686
enable_gtktest
692
- with_GL
693
- with_GL_prefix
694
687
'
695
688
ac_precious_vars=' build_alias
696
689
host_alias
@@ -1350,12 +1343,6 @@ Optional Features:
1350
1343
--disable-nls do not use Native Language Support
1351
1344
--disable-gtktest do not try to compile and run a test GTK+ program
1352
1345
1353
- Optional Packages:
1354
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1355
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1356
- --with-GL=value Which OpenGL library to compile GtkAda with (auto,GL,GL32,MesaGL,,no)
1357
- --with-GL-prefix=DIR Prefix where GL/MesaGL is installed
1358
-
1359
1346
Some influential environment variables:
1360
1347
PKG_CONFIG path to pkg-config utility
1361
1348
PKG_CONFIG_PATH
@@ -4377,241 +4364,6 @@ fi
4377
4364
4378
4365
4379
4366
4380
- # try to find OpenGL if present
4381
-
4382
-
4383
- # checking for OpenGL libraries
4384
-
4385
- # Check whether --with-GL was given.
4386
- if test " ${with_GL+set} " = set ; then :
4387
- withval=$with_GL ;
4388
- fi
4389
-
4390
-
4391
- # Check whether --with-GL-prefix was given.
4392
- if test " ${with_GL_prefix+set} " = set ; then :
4393
- withval=$with_GL_prefix ;
4394
- fi
4395
-
4396
-
4397
- if test " x$with_GL_prefix " = " x" ; then
4398
- GL_LDOPTS=" "
4399
- GL_CFLAGS=" "
4400
- else
4401
- GL_CFLAGS=" -I$with_GL_prefix /include"
4402
- case " ${host} " in
4403
- * 64* )
4404
- GL_LDOPTS=" -L$with_GL_prefix /lib64"
4405
- ;;
4406
- * )
4407
- GL_LDOPTS=" -L$with_GL_prefix /lib"
4408
- ;;
4409
- esac
4410
- fi
4411
-
4412
- saved_LIBS=" $LIBS "
4413
-
4414
- if test " x$with_GL " ! = xno ; then
4415
- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for OpenGL" >&5
4416
- $as_echo_n " checking for OpenGL... " >&6 ; }
4417
- LIBS=" $saved_LIBS $GTK_LIBS $GL_LDOPTS -lGLU -lGL -lm -lX11"
4418
- cat confdefs.h - << _ACEOF >conftest.$ac_ext
4419
- /* end confdefs.h. */
4420
-
4421
- int
4422
- main ()
4423
- {
4424
- char glBegin(); glBegin();
4425
- ;
4426
- return 0;
4427
- }
4428
- _ACEOF
4429
- if ac_fn_c_try_link " $LINENO " ; then :
4430
- have_GL=yes
4431
- else
4432
- have_GL=no
4433
- fi
4434
- rm -f core conftest.err conftest.$ac_objext \
4435
- conftest$ac_exeext conftest.$ac_ext
4436
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $have_GL " >&5
4437
- $as_echo " $have_GL " >&6 ; }
4438
-
4439
- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for GL32" >&5
4440
- $as_echo_n " checking for GL32... " >&6 ; }
4441
- LIBS=" $saved_LIBS $GTK_LIBS $GL_LDOPTS -lglu32 -lopengl32 -lgdi32"
4442
- cat confdefs.h - << _ACEOF >conftest.$ac_ext
4443
- /* end confdefs.h. */
4444
-
4445
- #include <GL/gl.h>
4446
- #include <windows.h>
4447
- int
4448
- main ()
4449
- {
4450
- glBegin(0);
4451
- CreateCompatibleDC(NULL);
4452
- ;
4453
- return 0;
4454
- }
4455
- _ACEOF
4456
- if ac_fn_c_try_link " $LINENO " ; then :
4457
- have_GL32=yes
4458
- else
4459
- have_GL32=no
4460
- fi
4461
- rm -f core conftest.err conftest.$ac_objext \
4462
- conftest$ac_exeext conftest.$ac_ext
4463
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $have_GL32 " >&5
4464
- $as_echo " $have_GL32 " >&6 ; }
4465
-
4466
- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for Mesa" >&5
4467
- $as_echo_n " checking for Mesa... " >&6 ; }
4468
- LIBS=" $saved_LIBS $GTK_LIBS $GL_LDOPTS -lMesaGLU -lMesaGL"
4469
- cat confdefs.h - << _ACEOF >conftest.$ac_ext
4470
- /* end confdefs.h. */
4471
-
4472
- int
4473
- main ()
4474
- {
4475
- char glBegin(); glBegin();
4476
- ;
4477
- return 0;
4478
- }
4479
- _ACEOF
4480
- if ac_fn_c_try_link " $LINENO " ; then :
4481
- have_MesaGL=yes
4482
- else
4483
- have_MesaGL=no
4484
- fi
4485
- rm -f core conftest.err conftest.$ac_objext \
4486
- conftest$ac_exeext conftest.$ac_ext
4487
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $have_MesaGL " >&5
4488
- $as_echo " $have_MesaGL " >&6 ; }
4489
-
4490
- if test " x$have_MesaGL " = " xno" ; then
4491
- { $as_echo " $as_me :${as_lineno-$LINENO } : checking Mesa with pthreads" >&5
4492
- $as_echo_n " checking Mesa with pthreads... " >&6 ; }
4493
- LIBS=" $saved_LIBS $GTK_LIBS $GL_LDOPTS -lMesaGLU -lMesaGL -lpthread"
4494
- cat confdefs.h - << _ACEOF >conftest.$ac_ext
4495
- /* end confdefs.h. */
4496
-
4497
- int
4498
- main ()
4499
- {
4500
- char glBegin(); glBegin();
4501
- ;
4502
- return 0;
4503
- }
4504
- _ACEOF
4505
- if ac_fn_c_try_link " $LINENO " ; then :
4506
- have_MesaGL_pthread=yes
4507
- else
4508
- have_MesaGL_pthread=no
4509
- fi
4510
- rm -f core conftest.err conftest.$ac_objext \
4511
- conftest$ac_exeext conftest.$ac_ext
4512
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $have_MesaGL_pthread " >&5
4513
- $as_echo " $have_MesaGL_pthread " >&6 ; }
4514
- fi
4515
- fi
4516
-
4517
- LIBS=" $saved_LIBS "
4518
- HAVE_OPENGL=" False"
4519
-
4520
- case " x$with_GL " in
4521
- x|xauto)
4522
- if test " x$have_GL " = " xyes" ; then
4523
- GL_LIBS=" $GL_LDOPTS -lGLU -lGL -lm -lX11"
4524
- HAVE_OPENGL=" True"
4525
- elif test " x$have_GL32 " = " xyes" ; then
4526
- GL_LIBS=" $GL_LDOPTS -lglu32 -lopengl32 -lgdi32"
4527
- HAVE_OPENGL=" True"
4528
- elif test " x$have_MesaGL " = " xyes" ; then
4529
- GL_LIBS=" $GL_LDOPTS -lMesaGLU -lMesaGL"
4530
- HAVE_OPENGL=" True"
4531
- elif test " x$have_MesaGL_pthread " = " xyes" ; then
4532
- GL_LIBS=" $GL_LDOPTS -lMesaGLU -lMesaGL -lpthread"
4533
- HAVE_OPENGL=" True"
4534
- fi
4535
- ;;
4536
- xGL)
4537
- if test " x$have_GL " = " xyes" ; then
4538
- GL_LIBS=" $GL_LDOPTS -lGLU -lGL -lm -lX11"
4539
- HAVE_OPENGL=" True"
4540
- else
4541
- as_fn_error $? " Missing OpenGL library" " $LINENO " 5
4542
- fi
4543
- ;;
4544
- xGL32)
4545
- if test " x$have_GL " = " xyes" ; then
4546
- GL_LIBS=" $GL_LDOPTS -lglu32 -lopengl32 -lgdi32"
4547
- HAVE_OPENGL=" True"
4548
- else
4549
- as_fn_error $? " Missing Windows OpenGL library" " $LINENO " 5
4550
- fi
4551
- ;;
4552
- xMesaGL)
4553
- if test " x$have_MesaGL " = " xyes" ; then
4554
- GL_LIBS=" $GL_LDOPTS -lMesaGLU -lMesaGL"
4555
- HAVE_OPENGL=" True"
4556
- elif test " x$have_MesaGL_pthread " = " xyes" ; then
4557
- GL_LIBS=" $GL_LDOPTS -lMesaGLU -lMesaGL -lpthread"
4558
- HAVE_OPENGL=" True"
4559
- else
4560
- as_fn_error $? " Missing Mesa library" " $LINENO " 5
4561
- fi
4562
- ;;
4563
- xno)
4564
- ;;
4565
- * )
4566
- as_fn_error $? " Unknown value for \" --with-GL\" option. Should be either auto, GL32, GL, MesaGL, no" " $LINENO " 5
4567
- ;;
4568
- esac
4569
-
4570
-
4571
-
4572
-
4573
-
4574
- value=$GL_LIBS
4575
-
4576
- # Special handling on darwin for gcc 4.5 and 4.7
4577
- case " $build_os " in
4578
- * darwin* )
4579
- value=` echo $value | sed -e " s/-framework \([^ ]*\)/-Wl,-framework -Wl,\1/g" `
4580
- esac
4581
-
4582
- output=GL_LIBS_GPR
4583
- result=" "
4584
- for v in $value ; do
4585
- if test " $result " ! = " " ; then
4586
- result=" $result , "
4587
- fi
4588
- result=" $result \" $v \" "
4589
- done
4590
- GL_LIBS_GPR=$result
4591
-
4592
-
4593
-
4594
- value=$GL_CFLAGS
4595
-
4596
- # Special handling on darwin for gcc 4.5 and 4.7
4597
- case " $build_os " in
4598
- * darwin* )
4599
- value=` echo $value | sed -e " s/-framework \([^ ]*\)/-Wl,-framework -Wl,\1/g" `
4600
- esac
4601
-
4602
- output=GL_CFLAGS_GPR
4603
- result=" "
4604
- for v in $value ; do
4605
- if test " $result " ! = " " ; then
4606
- result=" $result , "
4607
- fi
4608
- result=" $result \" $v \" "
4609
- done
4610
- GL_CFLAGS_GPR=$result
4611
-
4612
-
4613
-
4614
-
4615
4367
# Ignore user's choice of libdir, as well as configure's own default,
4616
4368
# because we want GtkAda to always install in /lib (backward compatibility)
4617
4369
5782
5534
$as_echo " $as_me : --------- Summary for Gtkada $PACKAGE_VERSION -----------------" >&6 ; }
5783
5535
{ $as_echo " $as_me :${as_lineno-$LINENO } : Shared libraries: $CAN_BUILD_SHARED (default: $DEFAULT_LIBRARY_TYPE )" >&5
5784
5536
$as_echo " $as_me : Shared libraries: $CAN_BUILD_SHARED (default: $DEFAULT_LIBRARY_TYPE )" >&6 ; }
5785
- { $as_echo " $as_me :${as_lineno-$LINENO } : OpenGL: $HAVE_OPENGL " >&5
5786
- $as_echo " $as_me : OpenGL: $HAVE_OPENGL " >&6 ; }
5787
5537
{ $as_echo " $as_me :${as_lineno-$LINENO } : --------------------------------------------" >&5
5788
5538
$as_echo " $as_me : --------------------------------------------" >&6 ; }
0 commit comments