--- libtool.m4	2011-03-01 17:55:44.000000000 +0100
+++ /usr/local/packages/libtool-2.4/libltdl/m4/libtool.m4	2010-09-22 10:41:19.000000000 +0200
@@ -1053,7 +1053,7 @@
   _LT_TAGVAR(link_all_deplibs, $1)=yes
   _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
   case $cc_basename in
-     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+     ifort*) _lt_dar_can_shared=yes ;;
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
@@ -4245,20 +4245,6 @@
       fi
       ;;
 
-     darwin* | rhapsody*)
-       # PIC is the default on this platform
-       # Common symbols not allowed in MH_DYLIB files
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'       
-       case $cc_basename in 
-       nagfor*)
- 	# NAG Fortran compiler
- 	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
- 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
- 	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
- 	;;
-       esac
-       ;;
-
     mingw* | cygwin* | pw32* | os2* | cegcc*)
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
