mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* acinclude.m4 (MC_ASM_LABELS): Make the test function global
and move its definition above main(). That's closer to what gettext is actually doing.
This commit is contained in:
parent
7b3b03f9db
commit
685ec466c2
@ -1,3 +1,9 @@
|
||||
2005-11-10 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* acinclude.m4 (MC_ASM_LABELS): Make the test function global
|
||||
and move its definition above main(). That's closer to what
|
||||
gettext is actually doing.
|
||||
|
||||
2005-10-03 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.ac: Require gettext with ngettext support. It's
|
||||
|
@ -937,12 +937,13 @@ AC_DEFUN([MC_ASM_LABELS], [
|
||||
mc_cv_asm_labels,
|
||||
[mc_cv_asm_labels=no
|
||||
if test -n "$GCC"; then
|
||||
AC_TRY_LINK(, [
|
||||
static int function1 (void) __asm__ ("function2");
|
||||
static int function1 (void)
|
||||
AC_TRY_LINK([
|
||||
int function1 (void) __asm__ ("function2");
|
||||
int function1 (void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
], [
|
||||
return function2();
|
||||
], [mc_cv_asm_labels=yes])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user