48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
$OpenBSD: patch-configure,v 1.3 2005/12/27 23:12:24 naddy Exp $
|
|
--- configure.orig Sun Jun 19 05:23:02 2005
|
|
+++ configure Tue Dec 27 22:18:30 2005
|
|
@@ -21237,7 +21237,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
int
|
|
main ()
|
|
{
|
|
-{int x; asm volatile("movl %%eax, %%ebx\n"::
|
|
+{int x; asm volatile("pushal\n movl %%eax, %%ebx\n popal\n"::
|
|
"m" (x),"m" (x),"m" (x),"m" (x),"m" (x),"m" (x),
|
|
"m" (x),"m" (x),"m" (x),"m" (x),"m" (x),"m" (x));}
|
|
;
|
|
@@ -21301,7 +21301,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
int
|
|
main ()
|
|
{
|
|
-asm ("movq %mm0, %mm1");
|
|
+asm ("movq (%ebx), %mm1");
|
|
;
|
|
return 0;
|
|
}
|
|
@@ -21489,13 +21489,13 @@ echo "${ECHO_T}$ac_cv_func_gettext" >&6
|
|
if test $ac_cv_func_gettext = yes; then
|
|
HAVEGETTEXT="yes"
|
|
else
|
|
- echo "$as_me:$LINENO: checking for gettext in -lintl" >&5
|
|
-echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6
|
|
+ echo "$as_me:$LINENO: checking for gettext in -lintl -liconv" >&5
|
|
+echo $ECHO_N "checking for gettext in -lintl -liconv... $ECHO_C" >&6
|
|
if test "${ac_cv_lib_intl_gettext+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lintl $LIBS"
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -21553,7 +21553,7 @@ fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
|
|
if test $ac_cv_lib_intl_gettext = yes; then
|
|
- INTLIBS="-lintl" HAVEGETTEXT="yes"
|
|
+ INTLIBS="-lintl -liconv" HAVEGETTEXT="yes"
|
|
else
|
|
INTLIBS=""
|
|
fi
|