Mercurial > octave-nkf
comparison configure.ac @ 19875:07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
* configure.ac: Add a --enable-install-build-logs configure option.
Set AMCOND_INSTALL_BUILD_LOGS.
* Makefile.am (octetc_DATA): Use AMCOND_INSTALL_BUILD_LOGS to include
config.log in the list conditionally.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Mon, 23 Feb 2015 23:28:37 -0500 |
parents | 4006a7377a19 |
children | e8ccfc5d892b |
comparison
equal
deleted
inserted
replaced
19874:4006a7377a19 | 19875:07b970d6cdfe |
---|---|
2962 [test "$octave_cv_lib_qscintilla" = yes]) | 2962 [test "$octave_cv_lib_qscintilla" = yes]) |
2963 AM_CONDITIONAL([WIN32_TERMINAL], [test $win32_terminal = yes]) | 2963 AM_CONDITIONAL([WIN32_TERMINAL], [test $win32_terminal = yes]) |
2964 AC_SUBST(QT_CPPFLAGS) | 2964 AC_SUBST(QT_CPPFLAGS) |
2965 AC_SUBST(QT_LDFLAGS) | 2965 AC_SUBST(QT_LDFLAGS) |
2966 AC_SUBST(QT_LIBS) | 2966 AC_SUBST(QT_LIBS) |
2967 | |
2968 ### Decide whether or not to install build logs with Octave. | |
2969 | |
2970 install_build_logs=no | |
2971 AC_ARG_ENABLE([install-build-logs], | |
2972 [AS_HELP_STRING([--enable-install-build-logs], | |
2973 [install build logs (e.g. config.log) with Octave])], | |
2974 [if test "$enableval" = yes; then install_build_logs=yes; fi]) | |
2975 AM_CONDITIONAL([AMCOND_INSTALL_BUILD_LOGS], [test $install_build_logs = yes]) | |
2967 | 2976 |
2968 CFLAGS="$original_octave_configure_CFLAGS" | 2977 CFLAGS="$original_octave_configure_CFLAGS" |
2969 CXXFLAGS="$original_octave_configure_CXXFLAGS" | 2978 CXXFLAGS="$original_octave_configure_CXXFLAGS" |
2970 | 2979 |
2971 AH_BOTTOM([#include "oct-conf-post.h"]) | 2980 AH_BOTTOM([#include "oct-conf-post.h"]) |