diff -ru glib-2.0.1-notabs/acglib.m4 glib-2.0.1/acglib.m4
--- glib-2.0.1-notabs/acglib.m4	Mon Apr  1 18:05:02 2002
+++ glib-2.0.1/acglib.m4	Mon Apr  1 18:12:30 2002
@@ -106,59 +106,59 @@
 AC_DEFUN(GLIB_SYSDEFS,
 [glib_sysdefso="translit($3, [-_a-zA-Z0-9 *], [-_a-zA-Z0-9])"
 if test "$cross_compiling" != "yes"; then
-glib_sysdef_msg=`echo $2 | sed 's/:[[^ 	]]*//g'`
-if test "x`(echo '\n') 2>/dev/null`" != 'x\n'; then
-  glib_nl='\\n'
-else
-  glib_nl='\n'
-fi
-AC_MSG_CHECKING(system definitions for $glib_sysdef_msg)
-cat >confrun.c <<_______EOF
-#include <stdio.h>
-$1
-int main (int c, char **v) {
-  FILE *f = fopen ("$glib_sysdefso", "a");
-  if (!f) return 1;
-_______EOF
-for glib_sysdef_input in $2 ; do
-	glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([[^:]]*\):.*$/\1/'`
-	glib_default=`echo $glib_sysdef_input | sed 's/^[[^:]]*:\(.*\)$/\1/'`
-	echo "#ifdef $glib_sysdef" >>confrun.c
-	echo "  fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"$4\", $glib_sysdef);" >>confrun.c
-	echo "#else" >>confrun.c
-	if test $glib_sysdef != $glib_default; then
-		echo "  fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"$4\", $glib_default);" >>confrun.c
+	glib_sysdef_msg=`echo $2 | sed 's/:[[^ 	]]*//g'`
+	if test "x`(echo '\n') 2>/dev/null`" != 'x\n'; then
+	  glib_nl='\\n'
 	else
-		echo "  fprintf (f, \"#define GLIB_SYSDEF_%s${glib_nl}\", \"$glib_sysdef\");" >>confrun.c
+	  glib_nl='\n'
 	fi
-	echo "#endif" >>confrun.c
-done
-echo "return 0; }" >>confrun.c
-AC_TRY_RUN(`cat confrun.c`, AC_MSG_RESULT(done),
-[	for glib_sysdef_input in $2 ; do
+	AC_MSG_CHECKING(system definitions for $glib_sysdef_msg)
+	cat >confrun.c <<_______EOF
+	#include <stdio.h>
+	$1
+	int main (int c, char **v) {
+	  FILE *f = fopen ("$glib_sysdefso", "a");
+	  if (!f) return 1;
+_______EOF
+	for glib_sysdef_input in $2 ; do
 		glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([[^:]]*\):.*$/\1/'`
 		glib_default=`echo $glib_sysdef_input | sed 's/^[[^:]]*:\(.*\)$/\1/'`
+		echo "#ifdef $glib_sysdef" >>confrun.c
+		echo "  fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"$4\", $glib_sysdef);" >>confrun.c
+		echo "#else" >>confrun.c
 		if test $glib_sysdef != $glib_default; then
-			glib_default=" $4$glib_default"
+			echo "  fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"$4\", $glib_default);" >>confrun.c
 		else
-			glib_default=
+			echo "  fprintf (f, \"#define GLIB_SYSDEF_%s${glib_nl}\", \"$glib_sysdef\");" >>confrun.c
 		fi
-		echo "#define GLIB_SYSDEF_$glib_sysdef$glib_default" >>$glib_sysdefso
+		echo "#endif" >>confrun.c
 	done
-	AC_MSG_RESULT(failed)])
-rm -f confrun.c
+	echo "return 0; }" >>confrun.c
+	AC_TRY_RUN(`cat confrun.c`, AC_MSG_RESULT(done),
+	[	for glib_sysdef_input in $2 ; do
+			glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([[^:]]*\):.*$/\1/'`
+			glib_default=`echo $glib_sysdef_input | sed 's/^[[^:]]*:\(.*\)$/\1/'`
+			if test $glib_sysdef != $glib_default; then
+				glib_default=" $4$glib_default"
+			else
+				glib_default=
+			fi
+			echo "#define GLIB_SYSDEF_$glib_sysdef$glib_default" >>$glib_sysdefso
+		done
+		AC_MSG_RESULT(failed)])
+	rm -f confrun.c
 else
  	AC_MSG_WARN(cross compiling; generating default $glib_sysdefso)
  	cat > $glib_sysdefso << ______EOF
-#include <sys/types.h>
-#include <sys/poll.h>
+	#include <sys/types.h>
+	#include <sys/poll.h>
 
-#define GLIB_SYSDEF_POLLIN =POLLIN
-#define GLIB_SYSDEF_POLLOUT =POLLOUT
-#define GLIB_SYSDEF_POLLPRI =POLLPRI
-#define GLIB_SYSDEF_POLLERR =POLLERR
-#define GLIB_SYSDEF_POLLHUP =POLLHUP
-#define GLIB_SYSDEF_POLLNVAL =POLLNVAL
+	#define GLIB_SYSDEF_POLLIN =POLLIN
+	#define GLIB_SYSDEF_POLLOUT =POLLOUT
+	#define GLIB_SYSDEF_POLLPRI =POLLPRI
+	#define GLIB_SYSDEF_POLLERR =POLLERR
+	#define GLIB_SYSDEF_POLLHUP =POLLHUP
+	#define GLIB_SYSDEF_POLLNVAL =POLLNVAL
 
 ______EOF
  	
diff -ru glib-2.0.1-notabs/configure.in glib-2.0.1/configure.in
--- glib-2.0.1-notabs/configure.in	Mon Apr  1 18:05:02 2002
+++ glib-2.0.1/configure.in	Mon Apr  1 18:08:24 2002
@@ -1206,39 +1206,39 @@
              *)
 	 	AC_CACHE_CHECK([for thread_lib],
 			glib_cv_thread_lib,
-		[for thread_lib in "" pthread pthread32 pthreads thread dce; do
-			if test x"$thread_lib" = x; then
-				add_thread_lib=""
-				IN=""
-			else
-				add_thread_lib="-l$thread_lib"
-				IN=" in -l$thread_lib"
-			fi
-			if test x"$have_threads" = xposix; then
-				defattr=0
-			else
-				defattr=pthread_attr_default
-			fi
-			
-			LIBS="$glib_save_LIBS $add_thread_lib"
-			
-			AC_MSG_CHECKING(for pthread_create/pthread_join$IN)
-			AC_TRY_RUN([#include <pthread.h> 
-				int check_me = 0;
-				void* func(void* data) {check_me = 42;}
-                                main()
-				{ pthread_t t; 
-				  void *ret;
-				  pthread_create (&t, $defattr, func, 0);
-				  pthread_join (t, &ret);
-				  exit (check_me != 42);
-				}],
-				[AC_MSG_RESULT(yes)
-				glib_cv_thread_lib="$add_thread_lib"
-				break],
-				[AC_MSG_RESULT(no)],
-				)
-		done])
+			[for thread_lib in "" pthread pthread32 pthreads thread dce; do
+				if test x"$thread_lib" = x; then
+					add_thread_lib=""
+					IN=""
+				else
+					add_thread_lib="-l$thread_lib"
+					IN=" in -l$thread_lib"
+				fi
+				if test x"$have_threads" = xposix; then
+					defattr=0
+				else
+					defattr=pthread_attr_default
+				fi
+				
+				LIBS="$glib_save_LIBS $add_thread_lib"
+				
+				AC_MSG_CHECKING(for pthread_create/pthread_join$IN)
+				AC_TRY_RUN([#include <pthread.h> 
+					int check_me = 0;
+					void* func(void* data) {check_me = 42;}
+					main()
+					{ pthread_t t; 
+					  void *ret;
+					  pthread_create (&t, $defattr, func, 0);
+					  pthread_join (t, &ret);
+					  exit (check_me != 42);
+					}],
+					[AC_MSG_RESULT(yes)
+					glib_cv_thread_lib="$add_thread_lib"
+					break],
+					[AC_MSG_RESULT(no)],
+					)
+			done])
 		G_THREAD_LIBS="$glib_cv_thread_lib"
                 ;;
 	   esac 	
@@ -1247,28 +1247,28 @@
 	   fi
 	   AC_CACHE_CHECK([for sched_get_priority_min_lib],
 		glib_cv_posix_priority_min_lib,
-	   [for thread_lib in "" rt rte; do
-	     if test x"$thread_lib" = x; then
-	       add_thread_lib=""
-	       IN=""
-	     else
-	       add_thread_lib="-l$thread_lib"
-	       IN=" in -l$thread_lib"
-	     fi
-	     LIBS="$glib_save_LIBS $add_thread_lib"
-	     AC_TRY_RUN([#include <sched.h>
-		         #include <errno.h>
-			 int main() {
-    			 errno = 0;
-                         return sched_get_priority_min(SCHED_OTHER)==-1
-				&& errno != 0;}],
-			[AC_MSG_RESULT(yes)
-			 G_THREAD_LIBS="$G_THREAD_LIBS $add_thread_lib"
-			 posix_priority_min="sched_get_priority_min(SCHED_OTHER)"
-		     	 posix_priority_max="sched_get_priority_max(SCHED_OTHER)"
-			 break],
-			[AC_MSG_RESULT(no)])
-	   done])
+		[for thread_lib in "" rt rte; do
+		     if test x"$thread_lib" = x; then
+		       add_thread_lib=""
+		       IN=""
+		     else
+		       add_thread_lib="-l$thread_lib"
+		       IN=" in -l$thread_lib"
+		     fi
+		     LIBS="$glib_save_LIBS $add_thread_lib"
+		     AC_TRY_RUN([#include <sched.h>
+				 #include <errno.h>
+				 int main() {
+				 errno = 0;
+				 return sched_get_priority_min(SCHED_OTHER)==-1
+					&& errno != 0;}],
+				[AC_MSG_RESULT(yes)
+				 G_THREAD_LIBS="$G_THREAD_LIBS $add_thread_lib"
+				 posix_priority_min="sched_get_priority_min(SCHED_OTHER)"
+				 posix_priority_max="sched_get_priority_max(SCHED_OTHER)"
+				 break],
+				[AC_MSG_RESULT(no)])
+		   done])
 		if test "x$glib_cv_posix_priority_min_lib" != "x"; then
 			 G_THREAD_LIBS="$G_THREAD_LIBS $glib_cv_posix_priority_min_lib"
 			 posix_priority_min="sched_get_priority_min(SCHED_OTHER)"
@@ -1430,22 +1430,22 @@
 
  		AC_CACHE_CHECK([for whether to use the PID niceness surrogate for thread priorities],
 			glib_cv_g_thread_use_pid_surrogate,
-		AC_TRY_RUN([#include <pthread.h> 
-			#include <sys/types.h>
-			#include <unistd.h>
-			pid_t other_pid = 0;
-
-			void* func(void* data) {other_pid = getpid();}
-                	main()
-			{ pthread_t t; 
-			  void *ret;
-			  pthread_create (&t, $defattr, func, NULL);
-			  pthread_join (t, &ret);
-			  exit (getpid()==other_pid || 
-				$posix_priority_min != $posix_priority_max);
-			}],
-			glib_cv_g_thread_use_pid_surrogate=yes,
-			glib_cv_g_thread_use_pid_surrogate=no))
+			AC_TRY_RUN([#include <pthread.h> 
+				#include <sys/types.h>
+				#include <unistd.h>
+				pid_t other_pid = 0;
+
+				void* func(void* data) {other_pid = getpid();}
+				main()
+				{ pthread_t t; 
+				  void *ret;
+				  pthread_create (&t, $defattr, func, NULL);
+				  pthread_join (t, &ret);
+				  exit (getpid()==other_pid || 
+					$posix_priority_min != $posix_priority_max);
+				}],
+				glib_cv_g_thread_use_pid_surrogate=yes,
+				glib_cv_g_thread_use_pid_surrogate=no))
 			if test "x$glib_cv_g_thread_use_pid_surrogate" = "xyes"; then
 				AC_MSG_RESULT(yes)
 				AC_DEFINE(G_THREAD_USE_PID_SURROGATE, 1, 
