Changeset 978


Ignore:
Timestamp:
11/01/08 13:27:53 (4 years ago)
Author:
Freddie Akeroyd
Message:

Add IDL to autoconf via --with-idlroot
Refs #100.

Location:
trunk
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/Makefile.am

    r570 r978  
    3939SWIGSUB = swig 
    4040endif 
    41 SUBDIRS = $(F77SUB) $(F90SUB) $(JAVASUB) $(SWIGSUB) 
     41if HAVE_IDL 
     42IDLSUB = idl 
     43endif 
     44SUBDIRS = $(F77SUB) $(F90SUB) $(JAVASUB) $(SWIGSUB) $(IDLSUB) 
  • trunk/configure.ac

    r974 r978  
    175175        [if test $withval != no; then CBFLIBROOT=$withval; fi]) 
    176176AM_CONDITIONAL(HAVE_CBFLIB, [test "$CBFLIBROOT" != ""]) 
     177 
     178AC_SUBST(IDLROOT) 
     179AC_ARG_WITH([idlroot], 
     180        AC_HELP_STRING([--with-idlroot=/path/to/idlroot], 
     181                       [Specify location of idl files]), 
     182        [if test $withval != no; then IDLROOT=$withval; fi]) 
     183AM_CONDITIONAL(HAVE_IDL, [test "$IDLROOT" != ""]) 
    177184 
    178185AC_SUBST(FCFLAGS) 
     
    609616                bindings/java/Makefile 
    610617                bindings/swig/Makefile 
     618                bindings/idl/Makefile 
    611619                contrib/Makefile 
    612620                contrib/applications/Makefile 
     
    625633F90BINDING=`if test -n "$FC" ; then echo yes ; else echo no ; fi` 
    626634JAVABINDING=`if test -n "$JAVAC" ; then echo yes ; else echo no ; fi`  
     635IDLBINDING=`if test -n "$IDLROOT" ; then echo yes ; else echo no ; fi`  
    627636if test -n "$SWIG" ; then  
    628637    SWIGBINDING="yes (" 
     
    657666                JAVA:          ${JAVABINDING} (--with-java-home=${javaroot}, JAVA=${JAVA}, JAVAC=${JAVAC}, JAVAH=${JAVAH}) 
    658667                SWIG:          ${SWIGBINDING} 
     668                IDL:           ${IDLBINDING} (--with-idlroot=${IDLROOT}) 
    659669 
    660670Please check whether the configuration I detected matches what you would 
Note: See TracChangeset for help on using the changeset viewer.