Changeset 1770


Ignore:
Timestamp:
18/11/11 09:56:23 (6 months ago)
Author:
Freddie Akeroyd
Message:
  • don't install headers for tclap
  • remove check for history library
  • python should load API specific nexus library (i.e. libNeXus.so.1)

refs #303

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/nxs/napi.py

    r1706 r1770  
    2626 
    2727- On Windows it looks for one of libNeXus.dll or libNeXus-0.dll. 
    28 - On OS X it looks for libNeXus.dylib 
    29 - On Unix it looks for libNeXus.so 
     28- On OS X it looks for libNeXus.0.dylib 
     29- On Unix it looks for libNeXus.so.0 
    3030- NEXUSDIR defaults to 'C:\\Program Files\\NeXus Data Format'. 
    3131- PREFIX defaults to /usr/local, but is replaced by the value of --prefix during configure. 
     
    235235            winnxdir =  'C:/Program Files/NeXus Data Format' 
    236236 
    237         files += [filedir+"/libNeXus.dll", 
    238                   filedir+"/libNeXus-0.dll", 
    239                   winnxdir + '/bin/libNeXus-0.dll'] 
     237        files += [filedir+"/libNeXus-0.dll", 
     238                  winnxdir + '/bin/libNeXus-0.dll', 
     239                  filedir+"/libNeXus.dll"] 
    240240    else: 
    241241        if sys.platform in ('darwin'): 
    242             lib = 'libNeXus.dylib' 
     242            lib = 'libNeXus.0.dylib' 
    243243            ldenv = 'DYLD_LIBRARY_PATH' 
    244244        else: 
    245             lib = 'libNeXus.so' 
     245            lib = 'libNeXus.so.0' 
    246246            ldenv = 'LD_LIBRARY_PATH' 
    247247        # Search the load library path as well as the standard locations 
  • trunk/configure.ac

    r1759 r1770  
    669669AC_CHECK_LIB(termcap, tputs) 
    670670AC_CHECK_LIB(readline, readline) 
    671 AC_CHECK_LIB(history, add_history) 
     671#AC_CHECK_LIB(history, add_history) 
    672672if test x$ac_cv_lib_termcap_tputs = xyes; then READLINE_LDFLAGS="-ltermcap $READLINE_LDFLAGS"; fi 
     673#if test x$ac_cv_lib_history_add_history = xyes; then READLINE_LDFLAGS="-lhistory $READLINE_LDFLAGS"; fi 
    673674if test x$ac_cv_lib_readline_readline = xyes; then READLINE_LDFLAGS="-lreadline $READLINE_LDFLAGS"; fi 
    674 if test x$ac_cv_lib_history_add_history = xyes; then READLINE_LDFLAGS="-lhistory $READLINE_LDFLAGS"; fi 
    675675AC_SUBST(READLINE_LDFLAGS) 
    676676LIBS="$SAVE_LIBS" 
  • trunk/third_party/tclap/Makefile.am

    r1515 r1770  
    11 
    2 libtclapincludedir = $(includedir)/tclap 
     2#libtclapincludedir = $(includedir)/tclap 
    33 
    4 libtclapinclude_HEADERS = \ 
     4noinst_HEADERS = \ 
    55                         CmdLineInterface.h \ 
    66                         ArgException.h \ 
Note: See TracChangeset for help on using the changeset viewer.