common/autoconf/basics.m4
changeset 27595 cff167b3bfa2
parent 27586 e7cfdc266a70
child 28602 51c0dcf51b67
child 28902 0c09b47449c8
equal deleted inserted replaced
27594:e425f93c3dda 27595:cff167b3bfa2
   266     unknown_variables=${CONFIGURE_OVERRIDDEN_VARIABLES//!/ }
   266     unknown_variables=${CONFIGURE_OVERRIDDEN_VARIABLES//!/ }
   267     AC_MSG_WARN([The following variables might be unknown to configure: $unknown_variables])
   267     AC_MSG_WARN([The following variables might be unknown to configure: $unknown_variables])
   268   fi
   268   fi
   269 ])
   269 ])
   270 
   270 
   271 # Setup a tool for the given variable. If correctly specified by the user, 
   271 # Setup a tool for the given variable. If correctly specified by the user,
   272 # use that value, otherwise search for the tool using the supplied code snippet.
   272 # use that value, otherwise search for the tool using the supplied code snippet.
   273 # $1: variable to set
   273 # $1: variable to set
   274 # $2: code snippet to call to look for the tool
   274 # $2: code snippet to call to look for the tool
   275 AC_DEFUN([BASIC_SETUP_TOOL],
   275 AC_DEFUN([BASIC_SETUP_TOOL],
   276 [
   276 [
   544       # when only the command line tools are installed there are no SDKs, so headers
   544       # when only the command line tools are installed there are no SDKs, so headers
   545       # are copied into the system frameworks
   545       # are copied into the system frameworks
   546       XCODEBUILD=
   546       XCODEBUILD=
   547       AC_SUBST(XCODEBUILD)
   547       AC_SUBST(XCODEBUILD)
   548     fi
   548     fi
   549   
   549 
   550     AC_MSG_CHECKING([for sdk name])
   550     AC_MSG_CHECKING([for sdk name])
   551     AC_ARG_WITH([sdk-name], [AS_HELP_STRING([--with-sdk-name],
   551     AC_ARG_WITH([sdk-name], [AS_HELP_STRING([--with-sdk-name],
   552         [use the platform SDK of the given name. @<:@macosx@:>@])],
   552         [use the platform SDK of the given name. @<:@macosx@:>@])],
   553         [SDKNAME=$with_sdk_name]
   553         [SDKNAME=$with_sdk_name]
   554     )
   554     )