comparison m4/acinclude.m4 @ 25666:b08864ae8506 stable

OCTAVE_CHECK_LIB: avoid shell syntax error if not checking for lib * acinclude.m4 (OCTAVE_CHECK_LIB): Set octave_cv_lib_$1=no if not checking for lib.
author John W. Eaton <jwe@octave.org>
date Wed, 25 Jul 2018 13:59:04 -0400
parents 4fe32753cb56
children 691398981ade 144820478378
comparison
equal deleted inserted replaced
25651:c759aa39c23a 25666:b08864ae8506
840 [Define to 1 if $2 is available.])], [$8]) 840 [Define to 1 if $2 is available.])], [$8])
841 else 841 else
842 m4_toupper([$1])_LIBS= 842 m4_toupper([$1])_LIBS=
843 fi 843 fi
844 else 844 else
845 octave_cv_lib_$1=no
845 m4_toupper([$1])_LIBS= 846 m4_toupper([$1])_LIBS=
846 fi 847 fi
847 m4_ifnblank([$6], [AC_LANG_POP($6)]) 848 m4_ifnblank([$6], [AC_LANG_POP($6)])
848 CPPFLAGS="$ac_octave_save_CPPFLAGS" 849 CPPFLAGS="$ac_octave_save_CPPFLAGS"
849 LDFLAGS="$ac_octave_save_LDFLAGS" 850 LDFLAGS="$ac_octave_save_LDFLAGS"