diff options
Diffstat (limited to 'lib/buildsystem')
-rw-r--r-- | lib/buildsystem/autoconf.sh | 4 | ||||
-rw-r--r-- | lib/buildsystem/kbuild.sh | 4 | ||||
-rw-r--r-- | lib/buildsystem/make.sh | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/buildsystem/autoconf.sh b/lib/buildsystem/autoconf.sh index 35ae452..232ca0d 100644 --- a/lib/buildsystem/autoconf.sh +++ b/lib/buildsystem/autoconf.sh @@ -17,8 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ -n "${_OH_BUILDSYSTEM_AUTOCONF_SM}" ] && return 0 -_OH_BUILDSYSTEM_AUTOCONF_SM='true' +[ "x${_OH_BUILDSYSTEM_AUTOCONF_SM+set}" = 'xset' ] && return 0 +_OH_BUILDSYSTEM_AUTOCONF_SM=1 _oh_autoconf_can_configure() { diff --git a/lib/buildsystem/kbuild.sh b/lib/buildsystem/kbuild.sh index 8db2f59..3d6fd1b 100644 --- a/lib/buildsystem/kbuild.sh +++ b/lib/buildsystem/kbuild.sh @@ -17,8 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ -n "${_OH_BUILDSYSTEM_KBUILD_SM}" ] && return 0 -_OH_BUILDSYSTEM_KBUILD_SM='true' +[ "x${_OH_BUILDSYSTEM_KBUILD_SM+set}" = 'xset' ] && return 0 +_OH_BUILDSYSTEM_KBUILD_SM=1 _oh_kbuild_can_configure() { diff --git a/lib/buildsystem/make.sh b/lib/buildsystem/make.sh index ef34e16..7ed9dc0 100644 --- a/lib/buildsystem/make.sh +++ b/lib/buildsystem/make.sh @@ -17,8 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -[ -n "${_OH_BUILDSYSTEM_MAKE_SM}" ] && return 0 -_OH_BUILDSYSTEM_MAKE_SM='true' +[ "x${_OH_BUILDSYSTEM_MAKE_SM+set}" = 'xset' ] && return 0 +_OH_BUILDSYSTEM_MAKE_SM=1 _oh_make_can_configure() { |