configure
changeset 10043 24e8d042e532
parent 10009 8c6b05b0a27e
child 10090 cd34aa8b624c
equal deleted inserted replaced
10042:8546f8015052 10043:24e8d042e532
 23761 # Set runtime shared library paths as needed
 23761 # Set runtime shared library paths as needed
 23762 
 23762 
 23763 if test "x$enable_rpath" = "xyes"; then
 23763 if test "x$enable_rpath" = "xyes"; then
 23764   if test $ARCH = bsdi -o $ARCH = freebsd -o $ARCH = linux -o $ARCH = netbsd; then
 23764   if test $ARCH = bsdi -o $ARCH = freebsd -o $ARCH = linux -o $ARCH = netbsd; then
 23765     SDL_RLD_FLAGS="-Wl,-rpath,\${libdir}"
 23765     SDL_RLD_FLAGS="-Wl,-rpath,\${libdir}"
       
 23766 
       
 23767     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker option --enable-new-dtags" >&5
       
 23768 $as_echo_n "checking for linker option --enable-new-dtags... " >&6; }
       
 23769     have_enable_new_dtags=no
       
 23770     save_LDFLAGS="$LDFLAGS"
       
 23771     LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
       
 23772     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
 23773 /* end confdefs.h.  */
       
 23774 
       
 23775 
       
 23776 int
       
 23777 main ()
       
 23778 {
       
 23779 
       
 23780 
       
 23781   ;
       
 23782   return 0;
       
 23783 }
       
 23784 _ACEOF
       
 23785 if ac_fn_c_try_link "$LINENO"; then :
       
 23786 
       
 23787     have_enable_new_dtags=yes
       
 23788     SDL_RLD_FLAGS="$SDL_RLD_FLAGS -Wl,--enable-new-dtags"
       
 23789 
       
 23790 fi
       
 23791 rm -f core conftest.err conftest.$ac_objext \
       
 23792     conftest$ac_exeext conftest.$ac_ext
       
 23793     LDFLAGS="$save_LDFLAGS"
       
 23794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_enable_new_dtags" >&5
       
 23795 $as_echo "$have_enable_new_dtags" >&6; }
 23766   fi
 23796   fi
 23767   if test $ARCH = solaris; then
 23797   if test $ARCH = solaris; then
 23768     SDL_RLD_FLAGS="-R\${libdir}"
 23798     SDL_RLD_FLAGS="-R\${libdir}"
 23769   fi
 23799   fi
 23770 else
 23800 else