configure.ac: remove unneeded "defs" linker flag
the flag was added in 753010f571 without
explanation, and according to my research it is used to make the linker
report undefined symbols when linking a shared library.
since we don't build any shared libs, this isn't needed at all, but
reportedly causes issues with cygwin (#382).
			
			
This commit is contained in:
		
							parent
							
								
									7168a42624
								
							
						
					
					
						commit
						558e3f748d
					
				
							
								
								
									
										11
									
								
								configure.ac
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								configure.ac
									
									
									
									
									
								
							@ -170,17 +170,6 @@ if test x"$debug_enabled" != x"yes" ; then
 | 
				
			|||||||
    CFLAGS="-DNDEBUG $CFLAGS"
 | 
					    CFLAGS="-DNDEBUG $CFLAGS"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AS_ECHO_N(["checking to see if linker understands -z,defs... "])
 | 
					 | 
				
			||||||
LDFLAGS_OLD="-Wl $LDFLAGS"
 | 
					 | 
				
			||||||
LDFLAGS="-Wl,-z,defs $LDFLAGS"
 | 
					 | 
				
			||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM()],
 | 
					 | 
				
			||||||
    AS_ECHO("yes"),
 | 
					 | 
				
			||||||
    AS_ECHO("no"); LDFLAGS="$LDFLAGS_OLD")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
dnl
 | 
					 | 
				
			||||||
dnl Make sure we can actually handle the "--with-*" and "--enable-*" stuff.
 | 
					 | 
				
			||||||
dnl
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
dnl
 | 
					dnl
 | 
				
			||||||
dnl Substitute the variables into the various Makefiles
 | 
					dnl Substitute the variables into the various Makefiles
 | 
				
			||||||
dnl
 | 
					dnl
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user