[Plib-cvs] plib configure.in,1.55,1.56
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2004-02-28 01:03:09
|
Update of /cvsroot/plib/plib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23821/plib Modified Files: configure.in Log Message: Added puAux library. Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/configure.in,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- configure.in 16 Feb 2004 13:49:23 -0000 1.55 +++ configure.in 28 Feb 2004 00:54:02 -0000 1.56 @@ -72,6 +72,10 @@ [ --enable-ssg build SSG library (OpenGL needed) default: yes],, enable_ssg=yes) +AC_ARG_ENABLE(puaux, +[ --enable-puaux build puAux library (OpenGL needed) default: yes],, +enable_puaux=yes) + AC_ARG_ENABLE(ssgaux, [ --enable-ssgaux build ssgAux library (OpenGL needed) default: yes],, enable_ssgaux=yes) @@ -168,6 +172,23 @@ fi fi +if test "x$enable_puaux" = "xyes"; then + need_opengl=yes + + if test "x$enable_pui" = "xno"; then + AC_MSG_WARN([cannot build puAux library without PUI library enabled]) + dependancy_problem=yes + fi + if test "x$enable_sg" = "xno"; then + AC_MSG_WARN([cannot build puAux library without SG library enabled]) + dependancy_problem=yes + fi + if test "x$enable_ul" = "xno"; then + AC_MSG_WARN([cannot build puAux library without UL library enabled]) + dependancy_problem=yes + fi +fi + if test "x$enable_ssgaux" = "xyes"; then need_opengl=yes @@ -195,6 +216,7 @@ AM_CONDITIONAL(BUILD_PW, test "x$enable_pw" = "xyes") AM_CONDITIONAL(BUILD_NET, test "x$enable_net" = "xyes") AM_CONDITIONAL(BUILD_PUI, test "x$enable_pui" = "xyes") +AM_CONDITIONAL(BUILD_PUAUX, test "x$enable_puaux" = "xyes") AM_CONDITIONAL(BUILD_SG, test "x$enable_sg" = "xyes") AM_CONDITIONAL(BUILD_PSL, test "x$enable_psl" = "xyes") AM_CONDITIONAL(BUILD_SL, test "x$enable_sl" = "xyes") @@ -361,6 +383,7 @@ src/js/Makefile \ src/util/Makefile \ src/pui/Makefile \ + src/puAux/Makefile \ src/sg/Makefile \ src/sl/Makefile \ src/psl/Makefile \ @@ -377,6 +400,7 @@ Building JS library: $enable_js Building NET library: $enable_net Building PUI library: $enable_pui + Building puAux library: $enable_puaux Building SG library: $enable_sg Building PSL library: $enable_psl Building SL library: $enable_sl |