From: Bastien N. <ha...@ha...> - 2003-03-10 13:58:02
|
Hello Martin, Could you please make your patches against configure.in rather than configure ? configure being a generated file, it will be erased if configure.in is changed. Cheers On Mon, 2003-03-10 at 13:48, Gansser, Martin wrote: > Hi, > > I tried to compile xine on hpux11.00, to compile it, the following > configure stuff is necessary. > > Can someone take a look at it, and comitte it. ? > > thanks Martin > > xine-lib-1 beta6 patch for hpux against configure: > > diff -Naur configure.orig configure > --- configure.orig 2003-03-10 12:11:31.000000000 +0100 > +++ configure 2003-03-10 12:50:34.000000000 +0100 > @@ -11949,11 +11949,16 @@ > *-*-freebsd*) > THREAD_LIBS="-L/usr/local/lib -pthread" > THREAD_CFLAGS="-I/usr/local/include -D_THREAD_SAFE" > - > CFLAGS="$CFLAGS $THREAD_CFLAGS" > DEBUG_CFLAGS="$DEBUG_CFLAGS" > > ;; > + *-*-hpux11*) > + THREAD_LIBS=" -lpthread" > + THREAD_CFLAGS="-D_REENTRANT" > + CFLAGS="$CFLAGS $THREAD_CFLAGS -DHPUX" > + > + ;; > *) > echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 > echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 > @@ -21219,6 +21224,15 @@ > > ;; > > + hppa*-hp-*) > + CFLAGS="$CFLAGS -O2" > + DEBUG_CFLAGS="$DEBUG_CFLAGS -O2" > + > + cat >> confdefs.h <<_ACEOF > + #define FPM_DEFAULT > +_ACEOF > + > + ;; > s390-*) > CFLAGS="$CFLAGS -O3" > DEBUG_CFLAGS="$DEBUG_CFLAGS -O3" > > > xine-ui-0.9.19 patch for hpux against configure: > > # diff -Naur configure.orig configure > --- configure.orig 2003-03-10 13:09:48.000000000 +0100 > +++ configure 2003-03-10 13:07:34.000000000 +0100 > @@ -12285,6 +12285,11 @@ > CFLAGS="$CFLAGS -L/usr/local/lib $THREAD_CFLAGS" > CPPFLAGS="$CPPFLAGS -I/usr/local/include -L/usr/local/lib" > ;; > + *-*-hpux11*) > + THREAD_LIBS=" -pthread" > + THREAD_CFLAGS="-D_REENTRANT" > + CFLAGS="$CFLAGS $THREAD_CFLAGS" > + ;; > *) > echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 > echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 > @@ -19084,6 +19089,11 @@ > DEBUG_CFLAGS="$DEBUG_CFLAGS -O" > ;; > > + hppa*-hp-*) > + CFLAGS="$CFLAGS -O2" > + DEBUG_CFLAGS="$DEBUG_CFLAGS -O" > + ;; > + > s390-*) > CFLAGS="$CFLAGS -O3" > DEBUG_CFLAGS="$DEBUG_CFLAGS -O" -- /Bastien Nocera http://hadess.net #2 0x4205a2cc in printf ("Oh my %s\n", preferred_deity) from /lib/i686/libc.so.6 printf ("Oh my %s\n", preferred_deity); Segmentation fault |