Skip to content
Snippets Groups Projects
Commit 9af49102 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added AC_TRY_ASSEMBLE.

Rev: src/aclocal.m4:1.11
parent 1d6b2141
No related branches found
No related tags found
No related merge requests found
......@@ -43,9 +43,31 @@ pushdef([AC_CONFIG_HEADER],
AC_CONFIG_HEADER($1)
])
AC_DEFUN(AC_TRY_ASSEMBLE,
[ac_c_ext=$ac_ext
ac_ext=${ac_s_ext-s}
cat > conftest.$ac_ext <<EOF
.file "configure"
[$1]
EOF
if AC_TRY_EVAL(ac_compile); then
ac_ext=$ac_c_ext
ifelse([$2], , :, [ $2
rm -rf conftest*])
else
echo "configure: failed program was:" >&AC_FD_CC
cat conftest.$ac_ext >&AC_FD_CC
ac_ext=$ac_c_ext
ifelse([$3], , , [ rm -rf conftest*
$3
])dnl
fi
rm -rf conftest*])
])
define([AC_LOW_MODULE_INIT],
[
# $Id: aclocal.m4,v 1.10 1999/05/11 23:07:35 grubba Exp $
# $Id: aclocal.m4,v 1.11 1999/05/30 20:44:25 grubba Exp $
MY_AC_PROG_CC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment