mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	Don't forget to set G_THREAD_LIBS_FOR_GTHREAD on non-linux platforms.
2005-02-23 Matthias Clasen <mclasen@redhat.com> * configure.in: Don't forget to set G_THREAD_LIBS_FOR_GTHREAD on non-linux platforms. (#168177, Michael Banck)
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							6aa2a6bf38
						
					
				
				
					commit
					acf9b5e815
				
			@@ -1,5 +1,8 @@
 | 
			
		||||
2005-02-23  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* configure.in: Don't forget to set G_THREAD_LIBS_FOR_GTHREAD 
 | 
			
		||||
	on non-linux platforms.  (#168177, Michael Banck)
 | 
			
		||||
 | 
			
		||||
	* tests/keyfile-test.c (test_locale_string): Set LANGUAGE 
 | 
			
		||||
	instead of LC_ALL to shield against LANGUAGE being set in 
 | 
			
		||||
	the environment.  (#168311, Suren A. Chilingaryan)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,8 @@
 | 
			
		||||
2005-02-23  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* configure.in: Don't forget to set G_THREAD_LIBS_FOR_GTHREAD 
 | 
			
		||||
	on non-linux platforms.  (#168177, Michael Banck)
 | 
			
		||||
 | 
			
		||||
	* tests/keyfile-test.c (test_locale_string): Set LANGUAGE 
 | 
			
		||||
	instead of LC_ALL to shield against LANGUAGE being set in 
 | 
			
		||||
	the environment.  (#168311, Suren A. Chilingaryan)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,8 @@
 | 
			
		||||
2005-02-23  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* configure.in: Don't forget to set G_THREAD_LIBS_FOR_GTHREAD 
 | 
			
		||||
	on non-linux platforms.  (#168177, Michael Banck)
 | 
			
		||||
 | 
			
		||||
	* tests/keyfile-test.c (test_locale_string): Set LANGUAGE 
 | 
			
		||||
	instead of LC_ALL to shield against LANGUAGE being set in 
 | 
			
		||||
	the environment.  (#168311, Suren A. Chilingaryan)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,8 @@
 | 
			
		||||
2005-02-23  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* configure.in: Don't forget to set G_THREAD_LIBS_FOR_GTHREAD 
 | 
			
		||||
	on non-linux platforms.  (#168177, Michael Banck)
 | 
			
		||||
 | 
			
		||||
	* tests/keyfile-test.c (test_locale_string): Set LANGUAGE 
 | 
			
		||||
	instead of LC_ALL to shield against LANGUAGE being set in 
 | 
			
		||||
	the environment.  (#168311, Suren A. Chilingaryan)
 | 
			
		||||
 
 | 
			
		||||
@@ -1878,11 +1878,15 @@ fi
 | 
			
		||||
# 
 | 
			
		||||
#  a) GCC < 3.3 for Linux doesn't include -lpthread when
 | 
			
		||||
#     building shared libraries with linux.
 | 
			
		||||
#  b) libtool doesn't recognize -pthread as a library dependency. 	 
 | 
			
		||||
#
 | 
			
		||||
case $host in
 | 
			
		||||
  *-*-linux*)
 | 
			
		||||
    G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-lpthread/`"
 | 
			
		||||
    ;;
 | 
			
		||||
  *) 	 
 | 
			
		||||
    G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS" 	 
 | 
			
		||||
    ;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
AC_DEFINE_UNQUOTED(G_THREAD_SOURCE,"gthread-$have_threads.c",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user