Revision fc8833a1

View differences:

configure
568 568
SHFLAGS="-dynamiclib -Wl,-single_module -Wl,-install_name,\$(libdir)/\$(SLIBNAME),-current_version,\$(SPPVERSION),-compatibility_version,\$(SPPVERSION)"
569 569
VHOOKFLAGS='-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(libdir)/vhook/$@'
570 570
extralibs=""
571
darwin="yes"
572 571
strip="strip -x"
573 572
installstrip=""
574 573
FFLDFLAGS="-Wl,-dynamic,-search_paths_first"
......
1242 1241
fi
1243 1242

  
1244 1243
if test "$_memalign" = "no" -a "$mmx" = "yes" -a \
1245
        "$memalignhack" != "yes" -a "$darwin" != "yes" ; then
1244
        "$memalignhack" != "yes" -a "$targetos != Darwin" ; then
1246 1245
    die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
1247 1246
fi
1248 1247

  
......
1957 1956
  echo "#define HAVE_THREADS 1" >> $TMPH
1958 1957
fi
1959 1958

  
1960
if test "$darwin" = "yes"; then
1959
if test "$TARGET_OS" = "Darwin"; then
1961 1960
  echo "#define CONFIG_DARWIN 1"  >> $TMPH
1962 1961
  echo "CONFIG_DARWIN=yes" >> config.mak
1963 1962
fi

Also available in: Unified diff