configure file out of step with "autoconf configure.in"
#1
I had to make some changes to the top level configure.in file as part of a changeset for http://trac.xbmc.org/ticket/5481.

I rebuilt the configure file using
Code:
autoconf configure.in
and noticed some other differences outside of the changes I made when doing the svn diff.

Below are the changes which I couldn't account for:

Quote:Index: configure
===================================================================
--- configure (revision 18554)
+++ configure (working copy)
@@ -1898,10 +1902,15 @@
ARCH="x86_64-linux"
;;
i386-apple-darwin*)
- ARCH="osx"
+ ARCH="x86-osx"
ARCH_DEFINES="-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"

;;
+ powerpc-apple-darwin*)
+ ARCH="powerpc-osx"
+ ARCH_DEFINES="-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
+
+ ;;
powerpc-*-linux-gnu*)
ARCH="powerpc-linux"
ARCH_DEFINES="-D_POWERPC"

Not entirely sure what the etiquette is for changing configure / configure.in Huh
Reply
#2
Ideally that little configure bastard wouldn't be under revision control. I'll smack davilla around for not updating it Wink
Reply
#3
damm, that trout hurts Smile

Sorry, it was in the plan but got distracted fixing window color issues. I try to update configure using a Linux box and not an OSX box. This keeps the configure version/depends ping pong to a minimum.
Reply
#4
I've just redone my AAC LATM patch because the updated configure and configure.in files conflicted with my changes after the VDPAU support was added.

I can't account for the following after autoconf with revision 18923. Sorry for the largish post. I thought it was marginal enough to put here rather than pastebin.

Quote:@@ -12242,6 +12329,7 @@
# endif
#endif

+#include <limits.h>
#include <stdlib.h>

#ifdef HAVE_UNISTD_H
@@ -12390,12 +12478,15 @@
isn't worth using anyway. */
alarm (60);

- for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
- continue;
- time_t_max--;
- if ((time_t) -1 < 0)
- for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
- continue;
+ for (;Wink
+ {
+ t = (time_t_max << 1) + 1;
+ if (t <= time_t_max)
+ break;
+ time_t_max = t;
+ }
+ time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
+
delta = time_t_max / 997; /* a suitable prime number */
for (i = 0; i < N_STRINGS; i++)
{
@@ -12410,10 +12501,12 @@
&& mktime_test ((time_t) (60 * 60 * 24))))
return 1;

- for (j = 1; 0 < j; j *= 2)
+ for (j = 1; ; j <<= 1)
if (! bigtime_test (j))
return 1;
- if (! bigtime_test (j - 1))
+ else if (INT_MAX / 2 < j)
+ break;
+ if (! bigtime_test (INT_MAX))
return 1;
}
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
Reply

Logout Mark Read Team Forum Stats Members Help
configure file out of step with "autoconf configure.in"0