Changeset 3168 for pjproject/branches/projects/iphone
- Timestamp:
- May 12, 2010 10:59:20 AM (15 years ago)
- Location:
- pjproject/branches/projects/iphone
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/iphone/aconfigure
r3099 r3168 672 672 CXXFLAGS 673 673 ac_ct_CXX 674 AR 675 LD 676 LDOUT 677 RANLIB 678 LIBEXT 679 LIBEXT2 680 CC_OUT 681 CC_INC 682 CC_DEF 683 CC_OPTIMIZE 684 CC_CFLAGS 674 685 ac_pjdir 675 686 ac_build_mak_vars … … 1946 1957 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h pjmedia/include/pjmedia/config_auto.h pjmedia/include/pjmedia-codec/config_auto.h pjsip/include/pjsip/sip_autoconf.h" 1947 1958 1948 ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak third_party/build/os-auto.mak third_party/build/portaudio/os-auto.mak"1959 ac_config_files="$ac_config_files build.mak build/os-auto.mak build/cc-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak third_party/build/os-auto.mak third_party/build/portaudio/os-auto.mak" 1949 1960 1950 1961 … … 3246 3257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3247 3258 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3259 3260 3261 if test "$AR" = ""; then AR="$(CROSS_COMPILE)ar rv"; fi 3262 3263 if test "$LD" = ""; then LD="$CC"; fi 3264 3265 if test "$LDOUT" = ""; then LDOUT="-o"; fi 3266 3267 if test "$RANLIB" = ""; then RANLIB="$(CROSSCOMPILE)ranlib"; fi 3268 3269 if test "$OBJEXT" = ""; then OBJEXT='o'; fi 3270 3271 if test "$LIBEXT" = ""; then LIBEXT='a'; fi 3272 3273 if test "$LIBEXT2" = ""; then LIBEXT2=""; fi 3274 3275 if test "$CC_OUT" = ""; then CC_OUT="-o"; fi 3276 3277 if test "$CC_INC" = ""; then CC_INC="-I"; fi 3278 3279 if test "$CC_DEF" = ""; then CC_DEF="-D"; fi 3280 3281 if test "$CC_OPTIMIZE" = ""; then CC_OPTIMIZE="-O2"; fi 3282 3283 if test "$CC_CFLAGS" = ""; then CC_CFLAGS="-Wall"; fi 3284 3285 3248 3286 3249 3287 … … 11003 11041 else 11004 11042 case $target in 11043 arm-apple-darwin*) 11044 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox" 11045 { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 11046 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 11047 ;; 11005 11048 *darwin*) 11006 11049 LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" … … 12770 12813 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 12771 12814 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 12815 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 12772 12816 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 12773 12817 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; … … 12896 12940 CXXFLAGS!$CXXFLAGS$ac_delim 12897 12941 ac_ct_CXX!$ac_ct_CXX$ac_delim 12942 AR!$AR$ac_delim 12943 LD!$LD$ac_delim 12944 LDOUT!$LDOUT$ac_delim 12945 RANLIB!$RANLIB$ac_delim 12946 LIBEXT!$LIBEXT$ac_delim 12947 LIBEXT2!$LIBEXT2$ac_delim 12948 CC_OUT!$CC_OUT$ac_delim 12949 CC_INC!$CC_INC$ac_delim 12950 CC_DEF!$CC_DEF$ac_delim 12951 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 12952 CC_CFLAGS!$CC_CFLAGS$ac_delim 12898 12953 ac_pjdir!$ac_pjdir$ac_delim 12899 12954 ac_build_mak_vars!$ac_build_mak_vars$ac_delim … … 12923 12978 libssl_present!$libssl_present$ac_delim 12924 12979 libcrypto_present!$libcrypto_present$ac_delim 12925 ac_cross_compile!$ac_cross_compile$ac_delim 12926 ac_linux_poll!$ac_linux_poll$ac_delim 12927 ac_host!$ac_host$ac_delim 12928 ac_main_obj!$ac_main_obj$ac_delim 12929 LIBOBJS!$LIBOBJS$ac_delim 12930 LTLIBOBJS!$LTLIBOBJS$ac_delim 12931 _ACEOF 12932 12933 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then 12980 _ACEOF 12981 12982 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 12934 12983 break 12935 12984 elif $ac_last_try; then … … 12950 12999 cat >>$CONFIG_STATUS <<_ACEOF 12951 13000 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 13001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13002 _ACEOF 13003 sed ' 13004 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 13005 s/^/s,@/; s/!/@,|#_!!_#|/ 13006 :n 13007 t n 13008 s/'"$ac_delim"'$/,g/; t 13009 s/$/\\/; p 13010 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 13011 ' >>$CONFIG_STATUS <conf$$subs.sed 13012 rm -f conf$$subs.sed 13013 cat >>$CONFIG_STATUS <<_ACEOF 13014 CEOF$ac_eof 13015 _ACEOF 13016 13017 13018 ac_delim='%!_!# ' 13019 for ac_last_try in false false false false false :; do 13020 cat >conf$$subs.sed <<_ACEOF 13021 ac_cross_compile!$ac_cross_compile$ac_delim 13022 ac_linux_poll!$ac_linux_poll$ac_delim 13023 ac_host!$ac_host$ac_delim 13024 ac_main_obj!$ac_main_obj$ac_delim 13025 LIBOBJS!$LIBOBJS$ac_delim 13026 LTLIBOBJS!$LTLIBOBJS$ac_delim 13027 _ACEOF 13028 13029 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then 13030 break 13031 elif $ac_last_try; then 13032 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13033 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13034 { (exit 1); exit 1; }; } 13035 else 13036 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13037 fi 13038 done 13039 13040 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 13041 if test -n "$ac_eof"; then 13042 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 13043 ac_eof=`expr $ac_eof + 1` 13044 fi 13045 13046 cat >>$CONFIG_STATUS <<_ACEOF 13047 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 12952 13048 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 12953 13049 _ACEOF … … 13207 13303 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13208 13304 $ac_datarootdir_hack 13209 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out13305 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 13210 13306 13211 13307 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && -
pjproject/branches/projects/iphone/aconfigure.ac
r3099 r3168 14 14 AC_CONFIG_FILES([build.mak 15 15 build/os-auto.mak 16 build/cc-auto.mak 16 17 pjlib/build/os-auto.mak 17 18 pjlib-util/build/os-auto.mak … … 34 35 CXXFLAGS="$CFLAGS $CXXFLAGS" 35 36 37 dnl # 38 dnl # Configure tools 39 dnl # 36 40 AC_PROG_CC 37 41 AC_PROG_CXX 38 42 AC_LANG_C 43 44 if test "$AR" = ""; then AR="$(CROSS_COMPILE)ar rv"; fi 45 AC_SUBST(AR) 46 if test "$LD" = ""; then LD="$CC"; fi 47 AC_SUBST(LD) 48 if test "$LDOUT" = ""; then LDOUT="-o"; fi 49 AC_SUBST(LDOUT) 50 if test "$RANLIB" = ""; then RANLIB="$(CROSSCOMPILE)ranlib"; fi 51 AC_SUBST(RANLIB) 52 if test "$OBJEXT" = ""; then OBJEXT='o'; fi 53 AC_SUBST(OBJEXT) 54 if test "$LIBEXT" = ""; then LIBEXT='a'; fi 55 AC_SUBST(LIBEXT) 56 if test "$LIBEXT2" = ""; then LIBEXT2=""; fi 57 AC_SUBST(LIBEXT2) 58 if test "$CC_OUT" = ""; then CC_OUT="-o"; fi 59 AC_SUBST(CC_OUT) 60 if test "$CC_INC" = ""; then CC_INC="-I"; fi 61 AC_SUBST(CC_INC) 62 if test "$CC_DEF" = ""; then CC_DEF="-D"; fi 63 AC_SUBST(CC_DEF) 64 if test "$CC_OPTIMIZE" = ""; then CC_OPTIMIZE="-O2"; fi 65 AC_SUBST(CC_OPTIMIZE) 66 if test "$CC_CFLAGS" = ""; then CC_CFLAGS="-Wall"; fi 67 AC_SUBST(CC_CFLAGS) 68 69 39 70 40 71 AC_SUBST(ac_pjdir) … … 475 506 else 476 507 case $target in 508 arm-apple-darwin*) 509 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox" 510 AC_MSG_RESULT([Checking sound device backend... AudioUnit]) 511 ;; 477 512 *darwin*) 478 513 LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" -
pjproject/branches/projects/iphone/build
- Property svn:ignore
-
old new 2 2 *.opt 3 3 os-auto.mak 4 cc-auto.mak
-
- Property svn:ignore
-
pjproject/branches/projects/iphone/build.mak.in
r3063 r3168 61 61 # CFLAGS, LDFLAGS, and LIBS to be used by applications 62 62 export PJDIR := @ac_pjdir@ 63 export APP_CC := $(CROSS_COMPILE)$(CC_NAME) 63 export APP_CC := @CC@ 64 export APP_CXX := @CXX@ 64 65 export APP_CFLAGS := -DPJ_AUTOCONF=1\ 65 66 @CFLAGS@\ … … 106 107 export PJ_DIR := $(PJDIR) 107 108 export PJ_CC := $(APP_CC) 109 export PJ_CXX := $(APP_CXX) 108 110 export PJ_CFLAGS := $(APP_CFLAGS) 109 111 export PJ_CXXFLAGS := $(APP_CXXFLAGS) -
pjproject/branches/projects/iphone/build/common.mak
r1180 r3168 16 16 # 17 17 -include cc-$(CC_NAME).mak 18 19 # 20 # Include auto configured compiler specification. 21 # This will override the compiler settings above. 22 # Currently this is made OPTIONAL, to prevent people 23 # from getting errors because they don't re-run ./configure 24 # after downloading new PJSIP. 25 # 26 -include $(PJDIR)/build/cc-auto.mak 18 27 19 28 # -
pjproject/branches/projects/iphone/build/rules.mak
r2183 r3168 66 66 @echo $(APP)_LDFLAGS=$($(APP)_LDFLAGS) 67 67 @echo DEPFLAGS=$(DEPFLAGS) 68 @echo CC=$(CC) 69 @echo AR=$(AR) 70 @echo RANLIB=$(RANLIB) 68 71 69 72 print_bin: print_common
Note: See TracChangeset
for help on using the changeset viewer.