Ticket #43257: patch-configure.ac.diff

File patch-configure.ac.diff, 756 bytes (added by jul_bsd@…, 10 years ago)
  • configure.ac

    old new  
    201201dnl
    202202dnl Checking target platform.
    203203dnl
     204case x"$target" in
     205  xNONE | x)
     206    target_or_host="$host" ;;
     207  *)
     208    target_or_host="$target" ;;
     209esac
     210
    204211AC_MSG_CHECKING([for platform])
    205212
    206213platform_os_win32=no
     
    215222   AC_DEFINE(PLATFORM_OS_WIN32,,[Define if compiling for the Win32 platform])
    216223   AC_DEFINE(HAVE_LANGUAGE_SELECTION,,[Define if the UI language can be defined in the preferences])
    217224    ;;
    218   *-*-darwin* | *-*-rhapsody*)
     225  *-*-darwin* | *-*-rhapsody* | *darwin*)
    219226    platform_os_osx=yes
    220227    platform_os_name="OS X"
    221228   AC_DEFINE(PLATFORM_OS_OSX,,[Define if compiling for the OS X platform])