Changeset 1018 for trunk/configure.in
- Timestamp:
- Jun 8, 2008, 6:24:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.in
r942 r1018 1 AC_INIT(Rappture Core and Bindings, 1.1, rappture@nanohub.org) 2 3 VERSION=0.0.1 4 AC_SUBST(VERSION) 1 AC_INIT([Rappture], [1.1], [rappture@nanohub.org]) 5 2 6 3 #------------------------------------------------------------------------ … … 29 26 AC_PROG_CC 30 27 AC_LANG_C 28 29 AC_PROG_INSTALL 30 AC_PROG_RANLIB 31 AC_PROG_LN_S 31 32 32 33 AC_HEADER_STDC … … 42 43 AC_CHECK_HEADERS(vector,,AC_MSG_WARN(STL classes missing ?)) 43 44 44 AC_PROG_F77([g77 f77 fort77 f90 xlf xlf90 fl32]) 45 46 47 45 AC_PROG_F77([g77 gfortran f77 fort77 f90 xlf xlf90 fl32]) 46 47 SC_CONFIG_GCC 48 SC_CONFIG_CFLAGS 49 SC_MAKE_LIB 48 50 49 51 AC_ARG_ENABLE( … … 68 70 dnl AC_SUBST(BUILD_TCL) 69 71 72 with_tclsh="check" 70 73 AC_ARG_WITH( 71 74 [tclsh], … … 377 380 AC_SUBST(PYTHON_SITE_PACKAGES) 378 381 382 AC_ARG_WITH( 383 [ruby], 384 [AS_HELP_STRING([--with-ruby[=DIR]], [location of ruby @<:@default=check@:>@])], 385 [], 386 [with_ruby=check]) 387 388 RUBY="" 389 if test "$with_ruby" != "no" ; then 390 AC_MSG_CHECKING([for ruby]) 391 if test -x "$with_ruby/bin/ruby" 392 then 393 echo Found perl in $with_ruby/bin/ruby 394 PERL="$with_ruby/bin/ruby" 395 else 396 if test -x "$with_ruby" 397 then 398 echo Found ruby in $with_ruby 399 PERL="$with_ruby" 400 else 401 AC_PATH_PROG(RUBY, ruby) 402 fi 403 fi 404 fi 405 AC_MSG_RESULT([${RUBY}]) 406 AC_SUBST(RUBY) 379 407 380 408 RP_BASE=`pwd` 381 409 AC_SUBST(RP_BASE) 382 410 383 if test "$ENABLE_GUI" == "yes" ; then 384 AC_CONFIG_SUBDIRS( gui ) 385 fi 386 387 if test "$TCLSH" != "" ; then 388 AC_CONFIG_SUBDIRS( src/tcl ) 389 fi 390 391 ls 392 AC_CONFIG_SUBDIRS( [optimizer/src] ) 411 SC_ENABLE_SHARED 412 413 #-------------------------------------------------------------------- 414 # This macro figures out what flags to use with the compiler/linker 415 # when building shared/static debug/optimized objects. This information 416 # is all taken from the tclConfig.sh file. 417 #-------------------------------------------------------------------- 418 419 AC_SUBST(CFLAGS_DEBUG) 420 AC_SUBST(CFLAGS_OPTIMIZE) 421 AC_SUBST(STLIB_LD) 422 AC_SUBST(SHLIB_LD) 423 AC_SUBST(SHLIB_CFLAGS) 424 AC_SUBST(SHLIB_LDFLAGS) 425 AC_SUBST(SHLIB_SUFFIX) 426 427 #-------------------------------------------------------------------- 428 # Set the default compiler switches based on the --enable-symbols 429 # option. 430 #-------------------------------------------------------------------- 431 432 SC_ENABLE_SYMBOLS 433 434 if test "${SHARED_BUILD}" = "1" ; then 435 CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}' 436 else 437 CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING}' 438 fi 439 440 AC_CONFIG_SUBDIRS( [packages/optimizer/src] ) 393 441 394 442 dnl read Makefile.in and write Makefile 395 AC_OUTPUT( Makefile \ 396 examples/demo.bash 397 examples/app-fermi/cee/Makefile \ 398 examples/app-fermi/fortran/Makefile \ 399 examples/app-fermi/wrapper/cee/Makefile \ 400 examples/c-example/Makefile \ 401 optimizer/src/Makefile \ 402 perl/Makefile.PL \ 403 python/setup.py \ 404 src/Makefile \ 405 src/matlab/Makefile \ 406 src/octave/Makefile \ 407 src2/core/Makefile \ 408 test/Makefile \ 409 gui/apps/simsim \ 410 gui/apps/rappture \ 411 gui/apps/rappture.env ) 443 AC_OUTPUT( [ 444 Makefile 445 packages/Makefile 446 src/Makefile 447 src/core/Makefile 448 src/core2/Makefile 449 src/objects/Makefile 450 gui/Makefile 451 gui/apps/Makefile 452 gui/apps/rappture 453 gui/apps/rappture.env 454 gui/apps/simsim 455 gui/pkgIndex.tcl 456 gui/scripts/Makefile 457 gui/src/Makefile 458 lang/Makefile 459 lang/perl/Makefile 460 lang/perl/Makefile.PL 461 lang/python/Makefile 462 lang/python/setup.py 463 lang/matlab/Makefile 464 lang/octave/Makefile 465 lang/ruby/Makefile 466 lang/ruby/build.rb 467 lang/tcl/Makefile 468 lang/tcl/pkgIndex.tcl 469 lang/tcl/src/Makefile 470 lang/tcl/scripts/Makefile 471 lang/tcl/tests/Makefile 472 examples/Makefile 473 examples/3D/Makefile 474 examples/app-fermi/Makefile 475 examples/app-fermi/cee/Makefile 476 examples/app-fermi/fortran/Makefile 477 examples/app-fermi/matlab/Makefile 478 examples/app-fermi/octave/Makefile 479 examples/app-fermi/perl/Makefile 480 examples/app-fermi/python/Makefile 481 examples/app-fermi/ruby/Makefile 482 examples/app-fermi/tcl/Makefile 483 examples/app-fermi/wrapper/Makefile 484 examples/app-fermi/wrapper/cee/Makefile 485 examples/app-fermi/wrapper/python/Makefile 486 examples/app-fermi/wrapper/tcl/Makefile 487 examples/c-example/Makefile 488 examples/canvas/Makefile 489 examples/demo.bash 490 examples/graph/Makefile 491 examples/zoo/Makefile 492 examples/zoo/binary/Makefile 493 examples/zoo/boolean/Makefile 494 examples/zoo/choice/Makefile 495 examples/zoo/cloud/Makefile 496 examples/zoo/cloud/matlab/Makefile 497 examples/zoo/curve/Makefile 498 examples/zoo/enable/Makefile 499 examples/zoo/field/Makefile 500 examples/zoo/group/Makefile 501 examples/zoo/image/Makefile 502 examples/zoo/image/docs/Makefile 503 examples/zoo/image/examples/Makefile 504 examples/zoo/integer/Makefile 505 examples/zoo/loader/Makefile 506 examples/zoo/loader/examples/Makefile 507 examples/zoo/log/Makefile 508 examples/zoo/note/Makefile 509 examples/zoo/note/docs/Makefile 510 examples/zoo/number/Makefile 511 examples/zoo/phase/Makefile 512 examples/zoo/sequence/Makefile 513 examples/zoo/sequence/examples/Makefile 514 examples/zoo/string/Makefile 515 examples/zoo/structure/Makefile 516 examples/zoo/structure/examples/Makefile 517 examples/zoo/table/Makefile 518 test/Makefile 519 test/src/Makefile 520 ])
Note: See TracChangeset
for help on using the changeset viewer.