comparison configure.ac @ 417:4e427ec1650a

build: add Python library directory to oct file runtime path * configure.ac: Add a -R option to add the Python library directory to the runtime path of oct files if it is in a non-standard location.
author Mike Miller <mtmiller@octave.org>
date Thu, 04 May 2017 08:11:33 -0700
parents aeed116cf9f9
children a39b2e9112a0
comparison
equal deleted inserted replaced
416:aeed116cf9f9 417:4e427ec1650a
42 CPPFLAGS=$OCTAVE_CPPFLAGS 42 CPPFLAGS=$OCTAVE_CPPFLAGS
43 CPPFLAGS=$pytave_save_CPPFLAGS 43 CPPFLAGS=$pytave_save_CPPFLAGS
44 44
45 # Pick a Python library to use 45 # Pick a Python library to use
46 AX_PYTHON_DEVEL 46 AX_PYTHON_DEVEL
47 for opt in $PYTHON_LIBS; do
48 case "$opt" in #(
49 -L/usr*) : ;; #(
50 -L*) PYTHON_LIBS="-R${opt#-L} $PYTHON_LIBS" ;; #(
51 *) : ;;
52 esac
53 done
47 54
48 AM_INIT_AUTOMAKE([foreign -Wno-portability]) 55 AM_INIT_AUTOMAKE([foreign -Wno-portability])
49 LT_INIT 56 LT_INIT
50 57
51 # Checks for typedefs, structures, and compiler characteristics. 58 # Checks for typedefs, structures, and compiler characteristics.