diff -urN flac-1.1.0/configure flac-1.1.0-jps/configure
--- flac-1.1.0/configure	Sat Jan 25 19:41:21 2003
+++ flac-1.1.0-jps/configure	Tue May 20 20:45:10 2003
@@ -1013,6 +1013,7 @@
   --enable-local-xmms-plugin     Install XMMS plugin to ~/.xmms/Plugins instead of system location
   --enable-exhaustive-tests      Enable exhaustive testing
   --enable-valgrind-testing      Run all tests inside Valgrind
+  --enable-ogg                   Use available ogg libraries
   --disable-oggtest       Do not try to compile and run a test Ogg program
   --disable-rpath         do not hardcode runtime library paths
   --disable-id3libtest       Do not try to compile and run a test id3lib program
@@ -4220,7 +4221,7 @@
 case $host in
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 4223 "configure"' > conftest.$ac_ext
+  echo '#line 4224 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -4756,7 +4757,7 @@
 save_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
 compiler_c_o=no
-if { (eval echo configure:4759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:4760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
   # The compiler can only warn and ignore the option if not recognized
   # So say no if there are warnings
   if test -s out/conftest.err; then
@@ -6549,7 +6550,7 @@
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 6552 "configure"
+#line 6553 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -6647,7 +6648,7 @@
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 6650 "configure"
+#line 6651 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -8124,6 +8125,9 @@
 
 fi
 
+# Check whether --enable-ogg or --disable-ogg was given.
+if test "${enable_ogg+set}" = set; then
+  enableval="$enable_ogg"
 
 # Check whether --with-ogg or --without-ogg was given.
 if test "${with_ogg+set}" = set; then
@@ -8305,6 +8309,9 @@
 
   rm -f conf.oggtest
 
+else
+  have_ogg=no
+fi;
 
 
 if test x$have_ogg = xyes; then
diff -urN flac-1.1.0/configure.in flac-1.1.0-jps/configure.in
--- flac-1.1.0/configure.in	Wed Jan 15 21:56:07 2003
+++ flac-1.1.0-jps/configure.in	Tue May 20 20:44:48 2003
@@ -242,7 +242,10 @@
 fi
 
 dnl check for ogg library
-XIPH_PATH_OGG(have_ogg=yes, AC_MSG_WARN([*** Ogg development enviroment not installed - Ogg support will not be built]))
+AC_ARG_ENABLE(ogg, 
+[  --enable-ogg                   Use available ogg libraries],
+[XIPH_PATH_OGG(have_ogg=yes, AC_MSG_WARN([*** Ogg development enviroment not installed - Ogg support will not be built])) ], 
+[have_ogg=no] )
 AM_CONDITIONAL(FLaC__HAS_OGG, [test x$have_ogg = xyes])
 if test x$have_ogg = xyes ; then
 AC_DEFINE(FLAC__HAS_OGG)
diff -urN flac-1.1.0/include/FLAC/ordinals.h flac-1.1.0-jps/include/FLAC/ordinals.h
--- flac-1.1.0/include/FLAC/ordinals.h	Sat Jan 25 19:43:45 2003
+++ flac-1.1.0-jps/include/FLAC/ordinals.h	Thu Jan  1 01:00:00 1970
@@ -1,58 +0,0 @@
-/* libFLAC - Free Lossless Audio Codec library
- * Copyright (C) 2000,2001,2002,2003  Josh Coalson
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA  02111-1307, USA.
- */
-
-#ifndef FLAC__ORDINALS_H
-#define FLAC__ORDINALS_H
-
-#ifdef true
-#undef true
-#endif
-#ifdef false
-#undef false
-#endif
-#ifndef __cplusplus
-#define true 1
-#define false 0
-#endif
-
-typedef int FLAC__bool;
-
-typedef signed char FLAC__int8;
-typedef unsigned char FLAC__uint8;
-
-#if defined _MSC_VER
-typedef __int16 FLAC__int16;
-typedef __int32 FLAC__int32;
-typedef __int64 FLAC__int64;
-typedef unsigned __int16 FLAC__uint16;
-typedef unsigned __int32 FLAC__uint32;
-typedef unsigned __int64 FLAC__uint64;
-#else
-typedef short FLAC__int16;
-typedef int FLAC__int32;
-typedef long long FLAC__int64;
-typedef unsigned short FLAC__uint16;
-typedef unsigned int FLAC__uint32;
-typedef unsigned long long FLAC__uint64;
-#endif
-
-typedef FLAC__uint8 FLAC__byte;
-typedef float FLAC__real;
-
-#endif
diff -urN flac-1.1.0/ipkg/rules flac-1.1.0-jps/ipkg/rules
--- flac-1.1.0/ipkg/rules	Thu Jan  1 01:00:00 1970
+++ flac-1.1.0-jps/ipkg/rules	Tue May 20 20:45:46 2003
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+# Build flac for StrongArm 1100 on Intel x86 hardware
+#
+#export PATH="$PATH:/usr/local/arm/2.95.3/bin"
+export CC=arm-linux-gcc
+export LD=arm-linux-ld
+export AR=arm-linux-ar
+export AS=arm-linux-as
+export RANLIB=arm-linux-ranlib
+export GCC=arm-linux-g++
+export STRIP=arm-linux-strip
+export DESTDIR=/usr/local/arm/2.95.3/arm-linux
+export PKGDIR=/home/jpsaman/iPaq/packages/flac-1.1.0
+export CFLAGS=-I/usr/local/arm/2.95.3/arm-linux/usr/include -I/usr/local/arm/2.95.3/arm-linux/include
+export LDFLAGS=-L/usr/local/arm/2.95.3/arm-linux/usr/lib -L/usr/local/arm/2.95.3/arm-linux/lib
+
+.PHONY: distclean config build package install
+
+# Distclean 
+distclean:
+	${MAKE} distclean
+
+# Configure
+config:
+	./configure --prefix=/usr/local/arm/2.95.3/arm-linux/usr \
+		    --enable-release \
+	            --host=arm-linux \
+	    	    --target=arm-linux \
+		    --disable-shared \
+		    --enable-static \
+		    --disable-sse \
+		    --disable-3dnow \
+		    --disable-oggtest \
+		    --disable-id3libtest \
+		    --disable-local-xmms-plugin
+
+# Start make
+build:
+	${MAKE} 
+	# strip binaries
+	#${STRIP} src/.libs/*
+
+package:
+	# install into packaging dir
+	${MAKE} DESTDIR=${PKGDIR} install
+	chown -R root.root ${PKGDIR}
+
+install:
+# install into development dir
+#	sudo make DESTDIR=${PKGDIR} install
+	rm -fr ${PKGDIR}
+	mkdir -p ${PKGDIR}/CONTROL
+	mkdir -p ${PKGDIR}/usr/share/doc/libmpeg2
+	mkdir -p ${PKGDIR}/usr/lib
+	cp ipkg/control  ${PKGDIR}/CONTROL/control
+	cp ipkg/postinst ${PKGDIR}/CONTROL/postinst
+	cp ipkg/postrm   ${PKGDIR}/CONTROL/postrm
+	cp COPYING	 ${PKGDIR}/usr/share/doc/libmpeg2
+	[ ! -f libmpeg2/libmpeg2.so ] || cp libmpeg2/*.so ${PKGDIR}/usr/lib
+	[ ! -f libmpeg2/libmpeg2.la ] || cp libmpeg2/*.la  ${PKGDIR}/usr/lib
+	${STRIP} ${PKGDIR}/usr/lib/*.so
+
