Revision: 9561 http://pure-data.svn.sourceforge.net/pure-data/?rev=9561&view=rev Author: eighthave Date: 2008-03-11 15:26:28 -0700 (Tue, 11 Mar 2008)
Log Message: ----------- importing flite-1.3-release.tar.gz
Added Paths: ----------- vendor/flite/ vendor/flite/current/ vendor/flite/current/.time-stamp vendor/flite/current/ACKNOWLEDGEMENTS vendor/flite/current/COPYING vendor/flite/current/Makefile vendor/flite/current/README vendor/flite/current/config/ vendor/flite/current/config/Makefile vendor/flite/current/config/common_make_rules vendor/flite/current/config/config.in vendor/flite/current/config/project.mak vendor/flite/current/config/system.mak.in vendor/flite/current/config.guess vendor/flite/current/config.sub vendor/flite/current/configure vendor/flite/current/configure.in vendor/flite/current/doc/ vendor/flite/current/doc/Makefile vendor/flite/current/doc/alice vendor/flite/current/doc/flite.texi vendor/flite/current/doc/intro.txt vendor/flite/current/doc/stuff.ed vendor/flite/current/include/ vendor/flite/current/include/Makefile vendor/flite/current/include/cst_alloc.h vendor/flite/current/include/cst_args.h vendor/flite/current/include/cst_audio.h vendor/flite/current/include/cst_cart.h vendor/flite/current/include/cst_clunits.h vendor/flite/current/include/cst_diphone.h vendor/flite/current/include/cst_endian.h vendor/flite/current/include/cst_error.h vendor/flite/current/include/cst_features.h vendor/flite/current/include/cst_file.h vendor/flite/current/include/cst_hrg.h vendor/flite/current/include/cst_item.h vendor/flite/current/include/cst_lexicon.h vendor/flite/current/include/cst_lts.h vendor/flite/current/include/cst_lts_rewrites.h vendor/flite/current/include/cst_math.h vendor/flite/current/include/cst_phoneset.h vendor/flite/current/include/cst_regex.h vendor/flite/current/include/cst_relation.h vendor/flite/current/include/cst_sigpr.h vendor/flite/current/include/cst_socket.h vendor/flite/current/include/cst_ss.h vendor/flite/current/include/cst_string.h vendor/flite/current/include/cst_sts.h vendor/flite/current/include/cst_synth.h vendor/flite/current/include/cst_tokenstream.h vendor/flite/current/include/cst_track.h vendor/flite/current/include/cst_units.h vendor/flite/current/include/cst_utt_utils.h vendor/flite/current/include/cst_utterance.h vendor/flite/current/include/cst_val.h vendor/flite/current/include/cst_val_const.h vendor/flite/current/include/cst_val_defs.h vendor/flite/current/include/cst_viterbi.h vendor/flite/current/include/cst_voice.h vendor/flite/current/include/cst_wave.h vendor/flite/current/include/flite.h vendor/flite/current/install-sh vendor/flite/current/lang/ vendor/flite/current/lang/Makefile vendor/flite/current/lang/cmu_time_awb/ vendor/flite/current/lang/cmu_time_awb/Makefile vendor/flite/current/lang/cmu_time_awb/cmu_time_awb.c vendor/flite/current/lang/cmu_time_awb/cmu_time_awb_cart.c vendor/flite/current/lang/cmu_time_awb/cmu_time_awb_clunits.c vendor/flite/current/lang/cmu_time_awb/cmu_time_awb_lex_entry.c vendor/flite/current/lang/cmu_time_awb/cmu_time_awb_lpc.c vendor/flite/current/lang/cmu_time_awb/cmu_time_awb_mcep.c vendor/flite/current/lang/cmu_time_awb/voxdefs.h vendor/flite/current/lang/cmu_us_kal/ vendor/flite/current/lang/cmu_us_kal/Makefile vendor/flite/current/lang/cmu_us_kal/cmu_us_kal.c vendor/flite/current/lang/cmu_us_kal/cmu_us_kal_diphone.c vendor/flite/current/lang/cmu_us_kal/cmu_us_kal_lpc.c vendor/flite/current/lang/cmu_us_kal/cmu_us_kal_res.c vendor/flite/current/lang/cmu_us_kal/cmu_us_kal_residx.c vendor/flite/current/lang/cmu_us_kal/voxdefs.h vendor/flite/current/lang/cmu_us_kal16/ vendor/flite/current/lang/cmu_us_kal16/Makefile vendor/flite/current/lang/cmu_us_kal16/cmu_us_kal16.c vendor/flite/current/lang/cmu_us_kal16/cmu_us_kal16_diphone.c vendor/flite/current/lang/cmu_us_kal16/cmu_us_kal16_lpc.c vendor/flite/current/lang/cmu_us_kal16/cmu_us_kal16_res.c vendor/flite/current/lang/cmu_us_kal16/cmu_us_kal16_residx.c vendor/flite/current/lang/cmu_us_kal16/voxdefs.h vendor/flite/current/lang/cmulex/ vendor/flite/current/lang/cmulex/Makefile vendor/flite/current/lang/cmulex/cmu_lex.c vendor/flite/current/lang/cmulex/cmu_lex_data.c vendor/flite/current/lang/cmulex/cmu_lex_data_raw.c vendor/flite/current/lang/cmulex/cmu_lex_entries.c vendor/flite/current/lang/cmulex/cmu_lex_entries_huff_table.c vendor/flite/current/lang/cmulex/cmu_lex_num_bytes.c vendor/flite/current/lang/cmulex/cmu_lex_phones_huff_table.c vendor/flite/current/lang/cmulex/cmu_lts_model.c vendor/flite/current/lang/cmulex/cmu_lts_model.h vendor/flite/current/lang/cmulex/cmu_lts_rules.c vendor/flite/current/lang/cmulex/cmulex.h vendor/flite/current/lang/cmulex/make_cmulex vendor/flite/current/lang/usenglish/ vendor/flite/current/lang/usenglish/Makefile vendor/flite/current/lang/usenglish/us_aswd.c vendor/flite/current/lang/usenglish/us_dur_stats.c vendor/flite/current/lang/usenglish/us_durz_cart.c vendor/flite/current/lang/usenglish/us_durz_cart.h vendor/flite/current/lang/usenglish/us_expand.c vendor/flite/current/lang/usenglish/us_f0.h vendor/flite/current/lang/usenglish/us_f0_model.c vendor/flite/current/lang/usenglish/us_f0lr.c vendor/flite/current/lang/usenglish/us_ffeatures.c vendor/flite/current/lang/usenglish/us_ffeatures.h vendor/flite/current/lang/usenglish/us_gpos.c vendor/flite/current/lang/usenglish/us_int_accent_cart.c vendor/flite/current/lang/usenglish/us_int_accent_cart.h vendor/flite/current/lang/usenglish/us_int_tone_cart.c vendor/flite/current/lang/usenglish/us_int_tone_cart.h vendor/flite/current/lang/usenglish/us_nums_cart.c vendor/flite/current/lang/usenglish/us_nums_cart.h vendor/flite/current/lang/usenglish/us_phoneset.c vendor/flite/current/lang/usenglish/us_phrasing_cart.c vendor/flite/current/lang/usenglish/us_phrasing_cart.h vendor/flite/current/lang/usenglish/us_postlex.c vendor/flite/current/lang/usenglish/us_text.c vendor/flite/current/lang/usenglish/us_text.h vendor/flite/current/lang/usenglish/usenglish.c vendor/flite/current/lang/usenglish/usenglish.h vendor/flite/current/main/ vendor/flite/current/main/Makefile vendor/flite/current/main/flite_main.c vendor/flite/current/main/flite_time_main.c vendor/flite/current/main/t2p_main.c vendor/flite/current/missing vendor/flite/current/mkinstalldirs vendor/flite/current/palm/ vendor/flite/current/palm/Makefile vendor/flite/current/palm/arm_flite/ vendor/flite/current/palm/arm_flite/Makefile vendor/flite/current/palm/arm_flite/arm_flite.c vendor/flite/current/palm/arm_flite/make_seg_ro vendor/flite/current/palm/arm_flite/pealstub.c vendor/flite/current/palm/fdlibm/ vendor/flite/current/palm/fdlibm/Makefile vendor/flite/current/palm/fdlibm/e_acos.c vendor/flite/current/palm/fdlibm/e_acosh.c vendor/flite/current/palm/fdlibm/e_asin.c vendor/flite/current/palm/fdlibm/e_atan2.c vendor/flite/current/palm/fdlibm/e_atanh.c vendor/flite/current/palm/fdlibm/e_cosh.c vendor/flite/current/palm/fdlibm/e_exp.c vendor/flite/current/palm/fdlibm/e_fmod.c vendor/flite/current/palm/fdlibm/e_gamma.c vendor/flite/current/palm/fdlibm/e_gamma_r.c vendor/flite/current/palm/fdlibm/e_hypot.c vendor/flite/current/palm/fdlibm/e_j0.c vendor/flite/current/palm/fdlibm/e_j1.c vendor/flite/current/palm/fdlibm/e_jn.c vendor/flite/current/palm/fdlibm/e_lgamma.c vendor/flite/current/palm/fdlibm/e_lgamma_r.c vendor/flite/current/palm/fdlibm/e_log.c vendor/flite/current/palm/fdlibm/e_log10.c vendor/flite/current/palm/fdlibm/e_pow.c vendor/flite/current/palm/fdlibm/e_rem_pio2.c vendor/flite/current/palm/fdlibm/e_remainder.c vendor/flite/current/palm/fdlibm/e_scalb.c vendor/flite/current/palm/fdlibm/e_sinh.c vendor/flite/current/palm/fdlibm/e_sqrt.c vendor/flite/current/palm/fdlibm/k_cos.c vendor/flite/current/palm/fdlibm/k_rem_pio2.c vendor/flite/current/palm/fdlibm/k_sin.c vendor/flite/current/palm/fdlibm/k_standard.c vendor/flite/current/palm/fdlibm/k_tan.c vendor/flite/current/palm/fdlibm/readme vendor/flite/current/palm/fdlibm/s_asinh.c vendor/flite/current/palm/fdlibm/s_atan.c vendor/flite/current/palm/fdlibm/s_cbrt.c vendor/flite/current/palm/fdlibm/s_ceil.c vendor/flite/current/palm/fdlibm/s_copysign.c vendor/flite/current/palm/fdlibm/s_cos.c vendor/flite/current/palm/fdlibm/s_erf.c vendor/flite/current/palm/fdlibm/s_expm1.c vendor/flite/current/palm/fdlibm/s_fabs.c vendor/flite/current/palm/fdlibm/s_finite.c vendor/flite/current/palm/fdlibm/s_floor.c vendor/flite/current/palm/fdlibm/s_frexp.c vendor/flite/current/palm/fdlibm/s_ilogb.c vendor/flite/current/palm/fdlibm/s_isnan.c vendor/flite/current/palm/fdlibm/s_ldexp.c vendor/flite/current/palm/fdlibm/s_lib_version.c vendor/flite/current/palm/fdlibm/s_log1p.c vendor/flite/current/palm/fdlibm/s_logb.c vendor/flite/current/palm/fdlibm/s_matherr.c vendor/flite/current/palm/fdlibm/s_modf.c vendor/flite/current/palm/fdlibm/s_nextafter.c vendor/flite/current/palm/fdlibm/s_rint.c vendor/flite/current/palm/fdlibm/s_scalbn.c vendor/flite/current/palm/fdlibm/s_signgam.c vendor/flite/current/palm/fdlibm/s_significand.c vendor/flite/current/palm/fdlibm/s_sin.c vendor/flite/current/palm/fdlibm/s_tan.c vendor/flite/current/palm/fdlibm/s_tanh.c vendor/flite/current/palm/fdlibm/w_acos.c vendor/flite/current/palm/fdlibm/w_acosh.c vendor/flite/current/palm/fdlibm/w_asin.c vendor/flite/current/palm/fdlibm/w_atan2.c vendor/flite/current/palm/fdlibm/w_atanh.c vendor/flite/current/palm/fdlibm/w_cosh.c vendor/flite/current/palm/fdlibm/w_exp.c vendor/flite/current/palm/fdlibm/w_fmod.c vendor/flite/current/palm/fdlibm/w_gamma.c vendor/flite/current/palm/fdlibm/w_gamma_r.c vendor/flite/current/palm/fdlibm/w_hypot.c vendor/flite/current/palm/fdlibm/w_j0.c vendor/flite/current/palm/fdlibm/w_j1.c vendor/flite/current/palm/fdlibm/w_jn.c vendor/flite/current/palm/fdlibm/w_lgamma.c vendor/flite/current/palm/fdlibm/w_lgamma_r.c vendor/flite/current/palm/fdlibm/w_log.c vendor/flite/current/palm/fdlibm/w_log10.c vendor/flite/current/palm/fdlibm/w_pow.c vendor/flite/current/palm/fdlibm/w_remainder.c vendor/flite/current/palm/fdlibm/w_scalb.c vendor/flite/current/palm/fdlibm/w_sinh.c vendor/flite/current/palm/fdlibm/w_sqrt.c vendor/flite/current/palm/flop/ vendor/flite/current/palm/flop/Makefile vendor/flite/current/palm/flop/flop.bmp vendor/flite/current/palm/flop/flop.c vendor/flite/current/palm/flop/flop.def vendor/flite/current/palm/flop/flop.h vendor/flite/current/palm/flop/flop.rcp vendor/flite/current/palm/flop/flopsmall.bmp vendor/flite/current/palm/include/ vendor/flite/current/palm/include/Makefile vendor/flite/current/palm/include/elf.h vendor/flite/current/palm/include/elf32.h vendor/flite/current/palm/include/elf_common.h vendor/flite/current/palm/include/fdlibm.h vendor/flite/current/palm/include/palm_flite.h vendor/flite/current/palm/include/peal.h vendor/flite/current/palm/include/pealstub.h vendor/flite/current/palm/include/pocore.h vendor/flite/current/palm/m68k_flite/ vendor/flite/current/palm/m68k_flite/Makefile vendor/flite/current/palm/m68k_flite/fms.c vendor/flite/current/palm/m68k_flite/m68k_flite.c vendor/flite/current/palm/m68k_flite/peal.c vendor/flite/current/palm/pocore/ vendor/flite/current/palm/pocore/Makefile vendor/flite/current/palm/pocore/po_FileClose.c vendor/flite/current/palm/pocore/po_FileOpen.c vendor/flite/current/palm/pocore/po_FileReadLow.c vendor/flite/current/palm/pocore/po_FileSeek.c vendor/flite/current/palm/pocore/po_FileTell.c vendor/flite/current/palm/pocore/po_FileWrite.c vendor/flite/current/palm/pocore/po_MemChunkFree.c vendor/flite/current/palm/pocore/po_MemPtrNew.c vendor/flite/current/palm/pocore/po_StrPrintF.c vendor/flite/current/palm/pocore/po_StrVPrintF.c vendor/flite/current/palm/pocore/po_alloc.c vendor/flite/current/palm/pocore/po_atof.c vendor/flite/current/palm/pocore/po_core.c vendor/flite/current/palm/pocore/po_setjmp.c vendor/flite/current/palm/pocore/po_sio.c vendor/flite/current/sapi/ vendor/flite/current/sapi/FliteCMUKalDiphone/ vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphone.cpp vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphone.def vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphone.dsp vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphone.idl vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphone.rc vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphoneObj.cpp vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphoneObj.h vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphoneObj.rgs vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphoneps.def vendor/flite/current/sapi/FliteCMUKalDiphone/FliteCMUKalDiphoneps.mk vendor/flite/current/sapi/FliteCMUKalDiphone/Makefile vendor/flite/current/sapi/FliteCMUKalDiphone/StdAfx.cpp vendor/flite/current/sapi/FliteCMUKalDiphone/StdAfx.h vendor/flite/current/sapi/FliteCMUKalDiphone/register_vox/ vendor/flite/current/sapi/FliteCMUKalDiphone/register_vox/Makefile vendor/flite/current/sapi/FliteCMUKalDiphone/register_vox/register-vox.cpp vendor/flite/current/sapi/FliteCMUKalDiphone/register_vox/register_vox.dsp vendor/flite/current/sapi/FliteCMUKalDiphone/resource.h vendor/flite/current/sapi/FliteTTSEngineObj/ vendor/flite/current/sapi/FliteTTSEngineObj/FliteTTSEngineObj.cpp vendor/flite/current/sapi/FliteTTSEngineObj/FliteTTSEngineObj.dsp vendor/flite/current/sapi/FliteTTSEngineObj/FliteTTSEngineObj.h vendor/flite/current/sapi/FliteTTSEngineObj/Makefile vendor/flite/current/sapi/FliteTTSEngineObj/flite_sapi_usenglish.c vendor/flite/current/sapi/FliteTTSEngineObj/flite_sapi_usenglish.h vendor/flite/current/sapi/Makefile vendor/flite/current/sapi/README vendor/flite/current/sapi/cmu_us_kal/ vendor/flite/current/sapi/cmu_us_kal/Makefile vendor/flite/current/sapi/cmu_us_kal/cmu_us_kal.dsp vendor/flite/current/sapi/cmulex/ vendor/flite/current/sapi/cmulex/Makefile vendor/flite/current/sapi/cmulex/cmulex.dsp vendor/flite/current/sapi/flite/ vendor/flite/current/sapi/flite/Makefile vendor/flite/current/sapi/flite/flite.dsp vendor/flite/current/sapi/flite_sapi.dsw vendor/flite/current/sapi/usenglish/ vendor/flite/current/sapi/usenglish/Makefile vendor/flite/current/sapi/usenglish/usenglish.dsp vendor/flite/current/src/ vendor/flite/current/src/Makefile vendor/flite/current/src/audio/ vendor/flite/current/src/audio/Makefile vendor/flite/current/src/audio/au_command.c vendor/flite/current/src/audio/au_none.c vendor/flite/current/src/audio/au_oss.c vendor/flite/current/src/audio/au_palmos.c vendor/flite/current/src/audio/au_sun.c vendor/flite/current/src/audio/au_wince.c vendor/flite/current/src/audio/auclient.c vendor/flite/current/src/audio/audio.c vendor/flite/current/src/audio/auserver.c vendor/flite/current/src/audio/native_audio.h vendor/flite/current/src/hrg/ vendor/flite/current/src/hrg/Makefile vendor/flite/current/src/hrg/cst_ffeature.c vendor/flite/current/src/hrg/cst_item.c vendor/flite/current/src/hrg/cst_rel_io.c vendor/flite/current/src/hrg/cst_relation.c vendor/flite/current/src/hrg/cst_utterance.c vendor/flite/current/src/lexicon/ vendor/flite/current/src/lexicon/Makefile vendor/flite/current/src/lexicon/cst_lexicon.c vendor/flite/current/src/lexicon/cst_lts.c vendor/flite/current/src/lexicon/cst_lts_rewrites.c vendor/flite/current/src/regex/ vendor/flite/current/src/regex/Makefile vendor/flite/current/src/regex/cst_regex.c vendor/flite/current/src/regex/regexp.c vendor/flite/current/src/regex/regsub.c vendor/flite/current/src/speech/ vendor/flite/current/src/speech/Makefile vendor/flite/current/src/speech/cst_lpcres.c vendor/flite/current/src/speech/cst_track.c vendor/flite/current/src/speech/cst_track_io.c vendor/flite/current/src/speech/cst_wave.c vendor/flite/current/src/speech/cst_wave_io.c vendor/flite/current/src/speech/cst_wave_utils.c vendor/flite/current/src/speech/rateconv.c vendor/flite/current/src/stats/ vendor/flite/current/src/stats/Makefile vendor/flite/current/src/stats/cst_cart.c vendor/flite/current/src/stats/cst_ss.c vendor/flite/current/src/stats/cst_viterbi.c vendor/flite/current/src/synth/ vendor/flite/current/src/synth/Makefile vendor/flite/current/src/synth/cst_phoneset.c vendor/flite/current/src/synth/cst_synth.c vendor/flite/current/src/synth/cst_utt_utils.c vendor/flite/current/src/synth/cst_voice.c vendor/flite/current/src/synth/flite.c vendor/flite/current/src/utils/ vendor/flite/current/src/utils/Makefile vendor/flite/current/src/utils/cst_alloc.c vendor/flite/current/src/utils/cst_args.c vendor/flite/current/src/utils/cst_endian.c vendor/flite/current/src/utils/cst_error.c vendor/flite/current/src/utils/cst_features.c vendor/flite/current/src/utils/cst_file_palmos.c vendor/flite/current/src/utils/cst_file_stdio.c vendor/flite/current/src/utils/cst_file_wince.c vendor/flite/current/src/utils/cst_mmap_none.c vendor/flite/current/src/utils/cst_mmap_posix.c vendor/flite/current/src/utils/cst_mmap_win32.c vendor/flite/current/src/utils/cst_socket.c vendor/flite/current/src/utils/cst_string.c vendor/flite/current/src/utils/cst_tokenstream.c vendor/flite/current/src/utils/cst_val.c vendor/flite/current/src/utils/cst_val_const.c vendor/flite/current/src/utils/cst_val_user.c vendor/flite/current/src/wavesynth/ vendor/flite/current/src/wavesynth/Makefile vendor/flite/current/src/wavesynth/cst_clunits.c vendor/flite/current/src/wavesynth/cst_diphone.c vendor/flite/current/src/wavesynth/cst_reflpc.c vendor/flite/current/src/wavesynth/cst_sigpr.c vendor/flite/current/src/wavesynth/cst_sigprFP.c vendor/flite/current/src/wavesynth/cst_sts.c vendor/flite/current/src/wavesynth/cst_units.c vendor/flite/current/testsuite/ vendor/flite/current/testsuite/Makefile vendor/flite/current/testsuite/asciiS2U_main.c vendor/flite/current/testsuite/asciiU2S_main.c vendor/flite/current/testsuite/bin2ascii_main.c vendor/flite/current/testsuite/combine_waves_main.c vendor/flite/current/testsuite/data.one vendor/flite/current/testsuite/hrg_test_main.c vendor/flite/current/testsuite/kal_test_main.c vendor/flite/current/testsuite/lex_lookup_main.c vendor/flite/current/testsuite/lex_test_main.c vendor/flite/current/testsuite/lpc_test2_main.c vendor/flite/current/testsuite/lpc_test_main.c vendor/flite/current/testsuite/nums_test_main.c vendor/flite/current/testsuite/play_client_main.c vendor/flite/current/testsuite/play_server_main.c vendor/flite/current/testsuite/play_sync_main.c vendor/flite/current/testsuite/play_wave_main.c vendor/flite/current/testsuite/record_in_noise_main.c vendor/flite/current/testsuite/record_wave_main.c vendor/flite/current/testsuite/regex_test_main.c vendor/flite/current/testsuite/token_test_main.c vendor/flite/current/testsuite/utt_test_main.c vendor/flite/current/tools/ vendor/flite/current/tools/Makefile vendor/flite/current/tools/Makefile.flite vendor/flite/current/tools/VOICE_clunits.c vendor/flite/current/tools/VOICE_diphone.c vendor/flite/current/tools/VOICE_ldom.c vendor/flite/current/tools/build_flite vendor/flite/current/tools/dump_cst_regexes vendor/flite/current/tools/dump_us_regexes vendor/flite/current/tools/find_cmimax vendor/flite/current/tools/find_sts_main.c vendor/flite/current/tools/flite_sort_main.c vendor/flite/current/tools/huff_table vendor/flite/current/tools/make_cart.scm vendor/flite/current/tools/make_clunits.scm vendor/flite/current/tools/make_didb.scm vendor/flite/current/tools/make_didb2.scm vendor/flite/current/tools/make_f0lr.scm vendor/flite/current/tools/make_lex.scm vendor/flite/current/tools/make_lts.scm vendor/flite/current/tools/make_lts_rewrite.scm vendor/flite/current/tools/make_lts_wfst.scm vendor/flite/current/tools/make_phoneset.scm vendor/flite/current/tools/make_vallist.scm vendor/flite/current/tools/play_sync.scm vendor/flite/current/tools/regexcomp_main.c vendor/flite/current/tools/setup_flite
Added: vendor/flite/current/.time-stamp =================================================================== --- vendor/flite/current/.time-stamp (rev 0) +++ vendor/flite/current/.time-stamp 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,8 @@ +Festival Lite +flite +1.3 +October 2005 +release +awb +leith.lti.cs.cmu.edu +Tue Nov 1 08:43:03 EST 2005
Added: vendor/flite/current/ACKNOWLEDGEMENTS =================================================================== --- vendor/flite/current/ACKNOWLEDGEMENTS (rev 0) +++ vendor/flite/current/ACKNOWLEDGEMENTS 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,51 @@ + +The initial development of flite was primarily done by awb while +travelling, perhaps the name is doubly appropriate as a substantial +amount of the coding was done over 30,000ft). During most of that +time awb was funded by the Language Technonologies Institute at +Carnegie Mellon University. + +Kevin A. Lenzo was involved in the design, conversion techniques and +representions for the voice distributed with flite (as well as being +the actual voice itself). + +Other contributions are: + +David Huggins-Daines (dhd@cepstral.com) + much of the clunits code, porting to multiple platforms, substantial + code tidy up and configure/autoconf guidance. +Cepstral, LLC (http://cepstral.com) + For supporting DHD to spend time on flite and passing back the important + fixes and enhancements including SAPI support +Willie Walker william.walker@sun.com and the rest of the Sun Speech Group + lots of low level bugs (and fixes). +Portuguese Foundation for Science and Technology (FCT) Praxis XXI program + The SAPI interface provided by Cepstral, LLC was partially funded by + the above program. +Henry Spencer + For the regex code +University of Edinburgh + for releasing Festival for free, making a companion runtime synthesizer + a practical project, much of the design of flite relies on the + architecture decisions made in the Festival Speech Synthesis Systems and + the Edinburgh Speech Tools. + The duration cart tree and intonation (accent and F0) models were + derived from the models in the Festival distribution. which in turn + were trained from the Boston University FM Radio Data Corpus. +Carnegie Mellon University + The included lexicon is derived from CMULEX and the letter to sound + rules are constructed using the Lenzo and Black techniques for + building LTS decision graphs. +Craig Reese: IDA/Supercomputing Research Center +Joe Campbell: Department of Defense + who wrote the ulaw conversion routines in src/speech/cst_wave_utils.c +Mario Lang: + causing the support of shared libraries to happen +Eric House (fixin@peak.org) + who provided examples of how to so 68K Call Backs for system functions +Greg Parker gparker@sealiesoftware.com + peal, the binding glue and shared library foo for getting the arm + version doing something reasonable under PalmOS + + +
Added: vendor/flite/current/COPYING =================================================================== --- vendor/flite/current/COPYING (rev 0) +++ vendor/flite/current/COPYING 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,172 @@ + +Flite is free software. + +We have kept the core code to BSD-like copyright, thus the system is +free to use in commercial products, with commercial extensions. GPL +code is only include as part of the build process and does not +taint any of the run-time code. + +Note the PalmOS code uses BSD code that requires acknowledgements in +any distribution documentation. + +As a collection it is distributed under the following license. Note +a few files in this distribution have a different but equally free +non-conflicting licence, see below. + + Language Technologies Institute + Carnegie Mellon University + Copyright (c) 1999-2005 + All Rights Reserved. + + Permission is hereby granted, free of charge, to use and distribute + this software and its documentation without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of this work, and to + permit persons to whom this work is furnished to do so, subject to + the following conditions: + 1. The code must retain the above copyright notice, this list of + conditions and the following disclaimer. + 2. Any modifications must be clearly marked as such. + 3. Original authors' names are not deleted. + 4. The authors' names are not used to endorse or promote products + derived from this software without specific prior written + permission. + + CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK + DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT + SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE + FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF + THIS SOFTWARE. + +All files within this distribution have the above license except +the following + +src/audio/au_wince.c +src/utils/cst_file_stdio.c +src/utils/cst_mmap_posix.c +src/utils/cst_mmap_win32.c +src/utils/cst_mmap_none.c +src/utils/cst_file_wince.c +src/wavesynth/cst_sts.c +sapi/ + are copyright Cepstral, LLC rather than CMU but fall under the same + free licence as the above, except for the owner. + +doc/alice + Is the first two chapters of Alice in Wonderland as distributed by the + Gutenburg project and is now in the public domain + +src/regex/regexp.c +src/regex/regsub.c + + * Copyright (c) 1986 by University of Toronto. + * Written by Henry Spencer. Not derived from licensed software. + * + * Permission is granted to anyone to use this software for any + * purpose on any computer system, and to redistribute it freely, + * subject to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of + * this software, no matter how awful, even if they arise + * from defects in it. + * + * 2. The origin of this software must not be misrepresented, either + * by explicit claim or by omission. + * + * 3. Altered versions must be plainly marked as such, and must not + * be misrepresented as being the original software. + +src/speech/rateconv.c + + * Copyright (c) 1992, 1995 by Markus Mummert + * + * Redistribution and use of this software, modifcation and inclusion + * into other forms of software are permitted provided that the following + * conditions are met: + * + * 1. Redistributions of this software must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. If this software is redistributed in a modified condition + * it must reveal clearly that it has been modified. + +lang/usenglish/us_durz_cart.c +lang/usenglish/us_durz_cart.h +lang/usenglish/us_int_accent_cart.c +lang/usenglish/us_int_accent_cart.h +lang/usenglish/us_int_tone_cart.c +lang/usenglish/us_int_tone_cart.h +lang/usenglish/us_phoneset.c +lang/usenglish/us_f0lr.c + These are directly (or indirectly) compiled/derived from files that are + part of the Festival Speech Synthesis System (1.4.1). Hence they have + a joint copyright CMU/Edinburgh but with the same free licence + +configure + # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. + # + # This configure script is free software; the Free Software Foundation + # gives unlimited permission to copy, distribute and modify it. + +configure.sub +config.guess +missing +install-sh +mkinstalldirs + Copyright FSF, and under the GPL, these files are only used for + convenient configuration and are not part of the generated binary, + and therefore do not impose any GPL restrctions on the rest of the + system. But as they are standard methods for configuration they + are included. + +palm/include/peal.h +palm/include/pealstub.h +palm/arm_flite/pealstub.c +palm/m68k_flite/peal.c + +/********** + * Copyright (c) 2004 Greg Parker. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY GREG PARKER ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **********/ + +The whole Sun Microsystems math library was ported to Palm +for this but its not actually needed, though the include file is +to allow bits of the system to compile that currently linked in +to the system, so we just have the include file here + +palm/include/fdlibm.h + + * ==================================================== + * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. + * + * Developed at SunSoft, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + * ==================================================== + + + +
Added: vendor/flite/current/Makefile =================================================================== --- vendor/flite/current/Makefile (rev 0) +++ vendor/flite/current/Makefile 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,128 @@ +########################################################################### +## ## +## Language Technologies Institute ## +## Carnegie Mellon University ## +## Copyright (c) 1999-2005 ## +## All Rights Reserved. ## +## ## +## Permission is hereby granted, free of charge, to use and distribute ## +## this software and its documentation without restriction, including ## +## without limitation the rights to use, copy, modify, merge, publish, ## +## distribute, sublicense, and/or sell copies of this work, and to ## +## permit persons to whom this work is furnished to do so, subject to ## +## the following conditions: ## +## 1. The code must retain the above copyright notice, this list of ## +## conditions and the following disclaimer. ## +## 2. Any modifications must be clearly marked as such. ## +## 3. Original authors' names are not deleted. ## +## 4. The authors' names are not used to endorse or promote products ## +## derived from this software without specific prior written ## +## permission. ## +## ## +## CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK ## +## DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ## +## ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT ## +## SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE ## +## FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ## +## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ## +## AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ## +## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF ## +## THIS SOFTWARE. ## +## ## +########################################################################### +## ## +## Fast efficient small run-time speech synthesis system ## +## ## +## Authors: Alan W Black (awb@cs.cmu.edu) ## +## Kevin A. Lenzo (lenzo@cs.cmu.edu) ## +## Date: October 2005 ## +## Version: 1.3-release ## +## ## +########################################################################### +TOP=. +DIRNAME= +BUILD_DIRS = include src lang doc +ALL_DIRS=config $(BUILD_DIRS) testsuite sapi palm tools main +CONFIG=configure configure.in config.sub config.guess \ + missing install-sh mkinstalldirs +FILES = Makefile README ACKNOWLEDGEMENTS COPYING $(CONFIG) +DIST_CLEAN = config.cache config.log config.status \ + config/config config/system.mak FileList + +HOST_ONLY_DIRS = tools main +ALL = $(BUILD_DIRS) + +config_dummy := $(shell test -f config/config || ( echo '*** '; echo '*** Making default config file ***'; echo '*** '; ./configure; ) >&2) + +include $(TOP)/config/common_make_rules + +ifeq ($(TARGET_OS),wince) +BUILD_DIRS += main +endif + +ifeq ($(TARGET_OS),palmos) +INCLUDES += -I$(TOP)/palm/include +endif + + +config/config: config/config.in config.status + ./config.status + +configure: configure.in + autoconf + +flop: + ./configure --target=arm-palmos + $(MAKE) + ls -al palm/flop/flop.prc + +backup: time-stamp + @ $(RM) -f $(TOP)/FileList + @ $(MAKE) file-list + @ echo .time-stamp >>FileList + @ ln -s . $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE) + @ sed 's/^.///' <FileList | sed 's/^/'$(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE)'//' >.file-list-all + @ tar zcvf $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE).tar.gz `cat $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE)/.file-list-all` + @ $(RM) -f $(TOP)/.file-list-all + @ $(RM) $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE) + @ ls -l $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE).tar.gz + +backupbz2: time-stamp + @ $(RM) -f $(TOP)/FileList + @ $(MAKE) file-list + @ echo .time-stamp >>FileList + @ ln -s . $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE) + @ sed 's/^.///' <FileList | sed 's/^/'$(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE)'//' | grep -v cmu_us_kal16 >.file-list-all + @ tar jcvf $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE).tar.bz2 `cat $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE)/.file-list-all` + @ $(RM) -f $(TOP)/.file-list-all + @ $(RM) $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE) + @ ls -l $(PROJECT_PREFIX)-$(PROJECT_VERSION)-$(PROJECT_STATE).tar.bz2 + +tags: + @ $(RM) -f $(TOP)/FileList + @ $(MAKE) file-list + etags `cat FileList | grep ".[ch]$$"` + +install: + @echo Installing + mkdir -p $(INSTALLBINDIR) + mkdir -p $(INSTALLLIBDIR) + mkdir -p $(INSTALLINCDIR) + $(INSTALL) -m 644 include/*.h $(INSTALLINCDIR) + @ $(MAKE) -C lib --no-print-directory install + $(INSTALL) -m 755 bin/flite $(INSTALLBINDIR) + $(INSTALL) -m 755 bin/flite_time $(INSTALLBINDIR) + +time-stamp : + @ echo $(PROJECT_NAME) >.time-stamp + @ echo $(PROJECT_PREFIX) >>.time-stamp + @ echo $(PROJECT_VERSION) >>.time-stamp + @ echo $(PROJECT_DATE) >>.time-stamp + @ echo $(PROJECT_STATE) >>.time-stamp + @ echo $(LOGNAME) >>.time-stamp + @ hostname >>.time-stamp + @ date >>.time-stamp + +test: + @ $(MAKE) --no-print-directory -C testsuite test +
Added: vendor/flite/current/README =================================================================== --- vendor/flite/current/README (rev 0) +++ vendor/flite/current/README 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,280 @@ + + Flite: a small run-time speech synthesis engine + version 1.3-release + Copyright Carnegie Mellon University 1999-2005 + All rights reserved + http://cmuflite.org + + +Flite is a small fast run-time speech synthesis engine. It is the +latest addition to the suite of free software synthesis tools +including University of Edinburgh's Festival Speech Synthesis System +and Carnegie Mellon University's FestVox project, tools, scripts and +documentation for building synthetic voices. However, flite itself +does not require either of these systems to compile and run. + +The core Flite library was developed by Alan W Black awb@cs.cmu.edu +(mostly in his so-called spare time) while employed in the Language +Technologies Institute at Carnegie Mellon University. The name +"flite", originally chosen to mean "festival-lite" is perhaps doubly +appropriate as a substantial part of design and coding was done over +30,000ft while awb was travelling, and usually isn't in meetings. + +The voices, lexicon and language components of flite, both their +compression techniques and their actual contents were developed by +Kevin A. Lenzo lenzo@cs.cmu.edu and Alan W Black awb@cs.cmu.edu. + +Flite is the answer to the complaint that Festival is too big, too slow, +and not portable enough. + +o Flite is designed for very small devices, such as PDAs, and also + for large server machines with lots of ports. +o Flite is not a replacement for Festival but an alternative run time + engine for voices developed in the FestVox framework where size and + speed is crucial. +o Flite is all in ANSI C, it contains no C++ or Scheme, thus requires + more care in programming, and is harder to customize at run time. +o It is thread safe +o Voices, lexicons and language descriptions can be compiled + (mostly automatically for voices and lexicons) into C representations + from their FestVox formats +o All voices, lexicons and language model data are const and in the + text segment (i.e. they may be put in ROM). As they are linked in + at compile time, there is virtually no startup delay. +o Although the synthesized output is not exactly the same as the same + voice in Festival they are effectively equivalent. That is flite + doesn't sound better or worse than the equivalent voice in festival, + just faster, smaller and scalable. +o For standard diphone voices, maximum run time memory + requirements are approximately less than twice the memory requirement + for the waveform generated. For 32bit archtectures + this effectively means under 1M. (Later versions will include a + streaming option which will reduce this to less than one quarter). +o The flite program supports, synthesis of individual strings or files + (utterance by utterance) to direct audio devices or to waveform files. +o The flite library offers simple functions suitable for use in specific + applications. +Flite is distributed with a single 8K diphone voice (derived from the +cmu_us_kal voice), a pruned lexicon (derived from +cmulex) and a set of models for US English. Here are comparisons +with Festival using basically the same 8KHz diphone voice + Flite Festival + core code 60K 2.6M + USEnglish 100K ?? + lexicon 600K 5M + diphone 1.8M 2.1M + runtime <1M 16-20M + +On a 500Mhz PIII, a timing test of the first two chapters of +"Alice in Wonderland" (doc/alice) was done. This produces about +1300 seconds of speech. With flite it takes 19.128 seconds (about +70.6 times faster than real time) with Festival it takes 97 seconds +(13.4 times faster than real time). On the ipaq (with the 16KHz diphones) +flite synthesizes 9.79 time faster than real time. + +Requirements: + +o A good C compiler, some of these files are quite large and some C + compilers might choke on these, gcc is fine. Sun CC 3.01 has been + tested too. Visual C++ 6.0 is known to fail on the large diphone + database files. We recommend you use GCC under Cygwin or mingw32 + instead. +o GNU Make +o An audio device isn't required as flite can write its output to + a waveform file. + +Supported platforms: + +We have successfully compiled and run on + +o Various Intel Linux systems (and iPaq Linux), under various versions + of GCC (2.7.2 to 4.x) +o FreeBSD 3.x and 4.x +o Solaris 5.7, and Solaris 9 +o Initial support for Mac OS X +o Windows 2000/XP under Cygwin 1.3.5 and later +o Some support for WinCE (2.11 and 3.0) is included but is not complete +o PalmOS 5.x devices (Treo 600, Zire 31 and Tungsten C) +o Successfully compiles and runs under 64Bit Linux architectures +o OSF1 V4.0 (gives an unimportant warning about sizes when compiled cst_val.c) + +Other similar platforms should just work, we have also cross compiled +on a Linux machine for StrongARM. However note that new byte order +architectures may not work directly as there is some careful +byte order constraints in some structures. These are portable but may +require reordering of some fields, contact us if you are moving to +a new archiecture. + +News +---- + +New in 1.3-release (October 2005) + o fixes to lpc residual extraction to give better quality output + o An updated lexicon (festlex_CMU from festival-2.0) and better + compression its about 30% of the previous size, with about + the same accuracy + o Fairly substantial code movements to better support PalmOS and + multi-platform cross compilation builds + o A PalmOS 5.0 port with an small example talking app ("flop") + o runs under ix86_64 linux + +New in 1.2-release (February 2003) + o A build process for diphone and clunit/ldom voices + FestVox voices can be converted (sometimes) automatically + o Various bug fixes + o Initial support for Mac OS X (not talking to audio device yet) + but compiles and runs + o Text files can be synthesize to a single audio file + o (optional) shared library support (Linux) + +Compilation +----------- + +In general + + tar zxvf flite-1.3-release.tar.gz + cd flite-1.3-release + ./configure + make + +Where tar is gnu tar (gtar), and make is gnu make (gmake). + +Configuration should be automatic, but maybe doesn't work in all cases +especially if you have some new compiler. You can explicitly set to +compiler in config/config and add any options you see fit. Configure +tries to guess these but it might be able for cross compilation cases +Interesting options there are + +-DWORDS_BIGENDIAN=1 for bigendian machines (e.g. Sparc, M68x) +-DNO_UNION_INITIALIZATION=1 For compilers without C 99 union inintialization +-DCST_AUDIO_NONE if you don't need/want audio support + +To compile for the ipaq Linux distribution (we've done this on Familiar +and Intimate), no automatic cross compilation configuration is +set up yet. Thus configure on a Linux machine and +edit config/config. + change gcc ar ranlib to their arm-linux equivalents + change FL_VOX to cmu_us_kal16, + make clean + make + arm-linux-strip bin/flite + +The copy bin/flite to the ipaq. This binary is also +available from + http://cmuflite.org/packed/flite-1.2/flite-1.2_bin16KHz_arm-linux.tar.gz +Because the Linux ipaq audio driver only supports 16KHz (and more) +we include this larger voice. + +The Sharp Zaurus SL-5000D is a very similar machine, however it +does support 8KHz sampling and a smaller binary is provided. The +Zaurus typically has less free memory so there is an advantage to +this + http://cmuflite.org/packed/flite-1.2/flite-1.2_bin8KHz_arm-linux.tar.gz + +This voice also used fixed point rather floating point as the +StrongARM doesn't have floating point instructions. + +Usage: +------ + +If it compiles properly a binary will be put in bin/, note by +default -g is on so it will be bigger than is actually required + + ./bin/flite "Flite is a small fast run-time synthesis engine" flite.wav + +Will produce an 8KHz riff headered waveform file (riff is Microsoft's +wave format often called .WAV). + + ./bin/flite doc/alice + +Will play the text file doc/alice. If the first argument contains +a space it is treated as text otherwise it is treated as a filename. +If a second argument is given a waveform file is written to it, +if no argument is given or "play" is given it will attempt to +write directly to the audio device (if supported). if "none" +is given the audio is simply thrown away (used for benchmarking). +Explicit options are also available. + + ./bin/flite -v doc/alice none + +Will synthesize the file without playing the audio and give a summary +of the speed. + + ./bin/flite doc/alice alice.wav + +will synthesize the whole of alice into a single file (previoous +versions would only give the last utterance in the file, but +that is fixed now). + +An additional set of feature setting options are available, these are +*debug* options, Voices are represented as sets of feature values (see +lang/cmu_us_kal/cmu_us_kal.c) and you can override values on the +command line. This can stop flite from working if malicious values +are set and therefor this facility is not intended to be made +available for standard users. But these are useful for +debugging. Some typical examples are + +./bin/flite --sets join_type=simple_join doc/intro + Use simple concatenation of diphones without prosodic modification +./bin/flite --seti verbosity=1 doc/alice + Print sentences as ther are said +./bin/flite --setf duration_stretch=1.5 doc/alice + Make it speak slower +./bin/flite --setf int_f0_target_mean=145 doc/alice + Make it speak higher + +The talking clock is an example talking clode as discussed on +http://festvox.org/ldom it requires a single argument HH:MM +under Unix you can call it + ./bin/flite_time `date +%H:%M` + +Voice quality +------------- + +So you've eagerly downloaded flite, compiled it and run it, now you +are disappointed that is doesn't sound wonderful, sure its fast and +small but what you really hoped for was the dulcit tones of a deep +baritone voice that would make you desperately hang on every phrase it +sang. But instead you get an 8Khz diphone voice that sounds like it +came from the last millenium. + +Well, first, you are right, it is an 8KHz diphone voice from the last +millenium, and that was actually deliberate. As we developed flite we +wanted a voice that was stable and that we could directly compare with +that very same voice in Festival. Flite is an *engine*. We want to +be able take voices built with the FestVox process and compile them +for flite, the result should be exactly the same quality (though of +course trading the size for quality in flite is also an option). The +included voice is just an sample voice that was used in the testing +process. We have better voices in Festival and are working on the +coversion process to make it both more automatic and more robust and +tunable, but we haven't done that yet, so in this first beta release. +This old poor sounding voice is all we have, sorry, we'll provide you +with free, high-quality, scalable, configurable, natural sounding +voices for flite, in all languages and dialects, with the tools to +built new voices efficiently and robustly as soon as we can. Though +in the mean time, a few higher quality voices will be released with +the next version. + +If you aren't willing to wait you can try Cepstral, LLC's voices. +(http://www.cepstral.com) They aren't free, but they do sound better +and are targeted at similar platforms. Although Cepstral uses the +Flite core, the voices, compression and interfaces are quite +different. + +Todo: +---- + +This release is just the beginning, there is much to do and this can +be a lot faster and smaller. We have already seriously considered some +of the following but they didn't make this release. In near +future versions we will add + +o Streaming synthesis so no large buffers of waveforms need be held +o Better compression of the lexicon, and unit databases +o Better quality speech (we have better diphone databases which + haven't been released yet but do give better quality synthesis). +o Documentation to allow people to more easily integrate flite + into applications. +o Some reasonable voices based on our newer voice building work + (e.g. Arctic and HTS)
Added: vendor/flite/current/config/Makefile =================================================================== --- vendor/flite/current/config/Makefile (rev 0) +++ vendor/flite/current/config/Makefile 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,46 @@ +########################################################################### +## ## +## Language Technologies Institute ## +## Carnegie Mellon University ## +## Copyright (c) 1999 ## +## All Rights Reserved. ## +## ## +## Permission is hereby granted, free of charge, to use and distribute ## +## this software and its documentation without restriction, including ## +## without limitation the rights to use, copy, modify, merge, publish, ## +## distribute, sublicense, and/or sell copies of this work, and to ## +## permit persons to whom this work is furnished to do so, subject to ## +## the following conditions: ## +## 1. The code must retain the above copyright notice, this list of ## +## conditions and the following disclaimer. ## +## 2. Any modifications must be clearly marked as such. ## +## 3. Original authors' names are not deleted. ## +## 4. The authors' names are not used to endorse or promote products ## +## derived from this software without specific prior written ## +## permission. ## +## ## +## CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK ## +## DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ## +## ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT ## +## SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE ## +## FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ## +## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ## +## AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ## +## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF ## +## THIS SOFTWARE. ## +## ## +########################################################################### +## ## +## Config directory ## +## ## +########################################################################### +TOP=.. +DIRNAME=config +BUILD_DIRS = +ALL_DIRS= +FILES = Makefile common_make_rules project.mak config.in system.mak.in + +ALL = + +include $(TOP)/config/common_make_rules +
Added: vendor/flite/current/config/common_make_rules =================================================================== --- vendor/flite/current/config/common_make_rules (rev 0) +++ vendor/flite/current/config/common_make_rules 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,226 @@ +########################################################-*-mode:Makefile-*- +## ## +## Language Technologies Institute ## +## Carnegie Mellon University ## +## Copyright (c) 1999 ## +## All Rights Reserved. ## +## ## +## Permission is hereby granted, free of charge, to use and distribute ## +## this software and its documentation without restriction, including ## +## without limitation the rights to use, copy, modify, merge, publish, ## +## distribute, sublicense, and/or sell copies of this work, and to ## +## permit persons to whom this work is furnished to do so, subject to ## +## the following conditions: ## +## 1. The code must retain the above copyright notice, this list of ## +## conditions and the following disclaimer. ## +## 2. Any modifications must be clearly marked as such. ## +## 3. Original authors' names are not deleted. ## +## 4. The authors' names are not used to endorse or promote products ## +## derived from this software without specific prior written ## +## permission. ## +## ## +## CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK ## +## DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ## +## ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT ## +## SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE ## +## FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ## +## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ## +## AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ## +## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF ## +## THIS SOFTWARE. ## +## ## +########################################################################### +## ## +## Common make rules included in all Makefiles ## +## ## +########################################################################### + +# System type +-include $(TOP)/config/system.mak + +# Include project specific rules +-include $(TOP)/config/project.mak + +## User defined configuration options +include $(TOP)/config/config + +INCLUDES = -I$(TOP)/include +ifeq ($(TARGET_OS),palmos) +INCLUDES += -I$(TOP)/palm/include +endif + +CPPFLAGS += $(LOCAL_INCLUDES) $(INCLUDES) +CFLAGS += $(EXTRA_CC_FLAGS) $(OPT) $(DBG) +## These'll become (target)arch dependent at some point +TARGET_PLATFORM=$(TARGET_CPU)-$(TARGET_OS) +HOST_PLATFORM=$(HOST_CPU)-$(HOST_OS) +ifndef BUILDDIR +BUILDDIR=$(TOP)/build/$(TARGET_PLATFORM) +endif +OBJDIR=$(BUILDDIR)/obj/$(DIRNAME) +BINDIR=$(BUILDDIR)/bin +ifeq ($(HOST_PLATFORM),$(TARGET_PLATFORM)) +BINDIR=$(TOP)/bin +endif + +LIBDIR=$(BUILDDIR)/lib +BUILDDIRS=$(OBJDIR) $(BINDIR) $(LIBDIR) + +FLITELIBS = $(BUILDDIR)/lib/libflite.a +LDFLAGS += -L$(BUILDDIR)/lib -lflite -lm $(AUDIOLIBS) $(OTHERLIBS) + +FULLOBJS = $(OBJS:%=$(OBJDIR)/%) +ifdef SHFLAGS +SOOBJS = $(OBJS:.o=.os) +FULLSHOBJS = $(SOOBJS:%=$(OBJDIR)/%) +ifdef LIBNAME +ALL += $(OBJDIR)/.build_so +endif +endif +ifdef LIBNAME +ALL += $(OBJDIR)/.build_lib +endif +# Only do some directories when you are not cross compiling +ifeq ($(HOST_PLATFORM),$(TARGET_PLATFORM)) +OTHER_BUILD_DIRS = $(HOST_ONLY_DIRS) +ALL += $(HOST_ONLY_BUILDS) +endif +# When target is palm add the palm directory at the top level +ifeq ($(DIRNAME),) +ifeq ($(TARGET_OS),palmos) +OTHER_BUILD_DIRS += palm +endif +endif + +all: $(BUILDDIRS) $(OTHER_BUILD_DIRS) $(OBJDIR)/.make_build_dirs $(ALL) nothing + +nothing: + @ echo > /dev/null + +$(BUILDDIRS): + @ mkdir -p $@ 2>/dev/null || true + +$(OBJDIR)/%.o : %.c + $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ + +$(OBJDIR)/%.os : %.c + $(CC) $(SHFLAGS) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ + +$(OBJDIR)/.build_lib: $(FULLOBJS) + @ (cd $(OBJDIR) && $(AR) cruv ../../../$(LIBDIR)/lib$(LIBNAME).a $(OBJS)) + @ $(RANLIB) $(LIBDIR)/lib$(LIBNAME).a + @ touch $(OBJDIR)/.build_lib + +$(OBJDIR)/.build_so: $(FULLSOOBJS) + @ (cd $(OBJDIR) && $(AR) cruv ../../../$(LIBDIR)/lib$(LIBNAME).shared.a $(SOOBJS)) + @ $(RANLIB) $(LIBDIR)/lib$(LIBNAME).shared.a + @ touch $(OBJDIR)/.build_so + +# Used in the lib/ directory and in building new voices +$(OBJDIR)/%.so: %.shared.a + @ echo making $@ + @ rm -rf shared_os && mkdir shared_os + @ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} + @ (cd shared_os && ar x ../$<) + @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os) + @ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} + @ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@ + @ rm -rf shared_os + +$(OBJDIR)/.make_build_dirs: + @ echo making in $(DIRNAME) ... +ifdef BUILD_DIRS + @ set -e; for i in $(BUILD_DIRS) $(OTHER_BUILD_DIRS) ; \ + do \ + $(MAKE) -C $$i --no-print-directory; \ + done +endif + +clean: + @ echo make clean in $(DIRNAME) ... + @ rm -rf .build_lib .build_so *.o *.os *.a *~ $(LOCAL_CLEAN) $(OBJDIR) +ifdef ALL_DIRS + @ set -e; for i in $(ALL_DIRS) ; \ + do \ + $(MAKE) -C $$i --no-print-directory clean; \ + done +endif + +distclean: + @ echo make distclean in $(DIRNAME) ... +ifdef ALL_DIRS + @ set -e; for i in $(ALL_DIRS) ; \ + do \ + $(MAKE) -C $$i --no-print-directory distclean; \ + done +endif + @ rm -rf .build_lib .build_shlib make.depend \ + *.o *.os *.a *~ $(LOCAL_CLEAN) $(DIST_CLEAN) $(OBJDIR) + +# install: $(INSTALL_HEADERS) $(INSTALL_LIBS) +# @ echo make install in $(DIRNAME) ... +# ifdef INSTALL_HEADERS +# @ mkdir -p $(INSTALLINCDIR) +# @ $(INSTALL) -m644 $(INSTALL_HEADERS) $(INSTALLINCDIR) +# endif +# ifdef INSTALL_LIBS +# @ mkdir -p $(INSTALLLIBDIR) +# @ cp -fd $(INSTALL_LIBS) $(INSTALLLIBDIR) +# endif +# ifdef ALL_DIRS +# @ set -e; for i in $(ALL_DIRS) ; \ +# do \ +# $(MAKE) -C $$i --no-print-directory install; \ +# done +# endif + +DEPEND=$(OBJDIR)/make.depend +MAKE_DEPEND=$(CC) -MM $(CPPFLAGS) $(CFLAGS) + +depend: + @ echo make depend in $(DIRNAME) ... + @ rm -f $(DEPEND) + @ $(MAKE) nothing +ifdef ALL_DIRS + @ set -e; for i in $(ALL_DIRS) ; \ + do \ + $(MAKE) -C $$i --no-print-directory depend ; \ + done +endif + +$(DEPEND): $(SRCS) $(OBJDIR) + @ rm -f $(DEPEND) + @ for i in $(SRCS) ; \ + do \ + echo "# $$i" ; \ + $(MAKE_DEPEND) $$i | sed -e 's,^([^:][^:]*):,$(OBJDIR)/\1:,'; \ + echo ; \ + done > $(DEPEND) + +file-list: + @ echo making file-list in $(DIRNAME) ... + @ for f in $(FILES) ; \ + do \ + echo $(DIRNAME)/$$f >>$(TOP)/FileList ; \ + done +ifdef ALL_DIRS + @ for i in $(ALL_DIRS) ; \ + do \ + $(MAKE) -C $$i --no-print-directory file-list; \ + done +endif + +info: + @echo Project Name = $(PROJECT_NAME) + @echo Project Prefix = $(PROJECT_PREFIX) + @echo Project Version = $(PROJECT_VERSION) + @echo Project Date = $(PROJECT_DATE) + @echo Project State = $(PROJECT_STATE) + @echo + @echo Configuration Variables + @echo none at present + +# If there are sources in this directory, load in the dependencies +ifdef SRCS +-include $(DEPEND) +endif
Added: vendor/flite/current/config/config.in =================================================================== --- vendor/flite/current/config/config.in (rev 0) +++ vendor/flite/current/config/config.in 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,44 @@ +# -*- makefile -*- +# +# This file is automatically generated by configure. +# Do not hand edit. + +TARGET_OS = @TARGET_OS@ +TARGET_CPU = @TARGET_CPU@ +HOST_OS = @HOST_OS@ +HOST_CPU = @HOST_CPU@ + +CC = @CC@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +#DEFS = @DEFS@ # we don't use these anywhere +SHFLAGS = @SHFLAGS@ + +AR = @AR@ +RANLIB = @RANLIB@ +INSTALL = @INSTALL@ + +M68KCC = @M68KCC@ + +AUDIODRIVER = @AUDIODRIVER@ +AUDIODEFS = @AUDIODEFS@ +AUDIOLIBS = @AUDIOLIBS@ + +LEXDEFS = @LEXDEFS@ +VOXDEFS = @VOXDEFS@ + +OTHERLIBS = @OTHERLIBS@ + +MMAPTYPE = @MMAPTYPE@ +STDIOTYPE = @STDIOTYPE@ + +FL_LANG = @FL_LANG@ +FL_VOX = @FL_VOX@ +FL_LEX = @FL_LEX@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +EXEEXT = @EXEEXT@ +INSTALLBINDIR = @bindir@ +INSTALLLIBDIR = @libdir@ +INSTALLINCDIR = @includedir@/flite
Added: vendor/flite/current/config/project.mak =================================================================== --- vendor/flite/current/config/project.mak (rev 0) +++ vendor/flite/current/config/project.mak 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,43 @@ +########################################################-*-mode:Makefile-*- +## ## +## Language Technologies Institute ## +## Carnegie Mellon University ## +## Copyright (c) 1999 ## +## All Rights Reserved. ## +## ## +## Permission is hereby granted, free of charge, to use and distribute ## +## this software and its documentation without restriction, including ## +## without limitation the rights to use, copy, modify, merge, publish, ## +## distribute, sublicense, and/or sell copies of this work, and to ## +## permit persons to whom this work is furnished to do so, subject to ## +## the following conditions: ## +## 1. The code must retain the above copyright notice, this list of ## +## conditions and the following disclaimer. ## +## 2. Any modifications must be clearly marked as such. ## +## 3. Original authors' names are not deleted. ## +## 4. The authors' names are not used to endorse or promote products ## +## derived from this software without specific prior written ## +## permission. ## +## ## +## CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK ## +## DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ## +## ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT ## +## SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE ## +## FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ## +## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ## +## AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ## +## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF ## +## THIS SOFTWARE. ## +## ## +########################################################################### +## ## +## Project description ## +## ## +########################################################################### +PROJECT_NAME = Festival Lite +PROJECT_PREFIX = flite +PROJECT_VERSION = 1.3 +PROJECT_DATE = October 2005 +PROJECT_STATE = release + +PROJECT_SHLIB_VERSION = 1
Added: vendor/flite/current/config/system.mak.in =================================================================== --- vendor/flite/current/config/system.mak.in (rev 0) +++ vendor/flite/current/config/system.mak.in 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,9 @@ +# -*- makefile -*- +# +# This file is automatically generated by configure. +# Do not hand edit. + +OSTYPE := @host_os@ +MACHINETYPE := @host_cpu@ +PLATFORM := @host@ +FULLOSTYPE := @host_vendor@-@host_os@
Added: vendor/flite/current/config.guess =================================================================== --- vendor/flite/current/config.guess (rev 0) +++ vendor/flite/current/config.guess 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,1327 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002 Free Software Foundation, Inc. + +timestamp='2002-01-30' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Per Bothner per@bothner.com. +# Please send patches to config-patches@gnu.org. Submit a context +# diff and a properly formatted ChangeLog entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# The plan is that this can be called by configure scripts if you +# don't specify an explicit build system type. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system `$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to config-patches@gnu.org." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try `$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + + +dummy=dummy-$$ +trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int dummy(){}" > $dummy.c ; + for c in cc gcc c89 ; do + ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; + if test $? = 0 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + rm -f $dummy.c $dummy.o $dummy.rel ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + UNAME_MACHINE_ARCH=`(uname -p) 2>/dev/null` || \ + UNAME_MACHINE_ARCH=unknown + case "${UNAME_MACHINE_ARCH}" in + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/./'` + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + macppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvmeppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sgi:OpenBSD:*:*) + echo mipseb-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + alpha:OSF1:*:*) + if test $UNAME_RELEASE = "V4.0"; then + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + fi + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + cat <<EOF >$dummy.s + .data +$Lformat: + .byte 37,100,45,37,120,10,0 # "%d-%x\n" + + .text + .globl main + .align 4 + .ent main +main: + .frame $30,16,$26,0 + ldgp $29,0($27) + .prologue 1 + .long 0x47e03d80 # implver $0 + lda $2,-1 + .long 0x47e20c21 # amask $2,$1 + lda $16,$Lformat + mov $0,$17 + not $1,$18 + jsr $26,printf + ldgp $29,0($26) + mov 0,$16 + jsr $26,exit + .end main +EOF + eval $set_cc_for_build + $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null + if test "$?" = 0 ; then + case `./$dummy` in + 0-0) + UNAME_MACHINE="alpha" + ;; + 1-0) + UNAME_MACHINE="alphaev5" + ;; + 1-1) + UNAME_MACHINE="alphaev56" + ;; + 1-101) + UNAME_MACHINE="alphapca56" + ;; + 2-303) + UNAME_MACHINE="alphaev6" + ;; + 2-307) + UNAME_MACHINE="alphaev67" + ;; + 2-1307) + UNAME_MACHINE="alphaev68" + ;; + esac + fi + rm -f $dummy.s $dummy + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit 0 ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit 0 ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit 0 ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit 0;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit 0 ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit 0 ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit 0 ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit 0;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit 0;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit 0 ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit 0 ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + i86pc:SunOS:5.*:*) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit 0 ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit 0 ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit 0 ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit 0 ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit 0 ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit 0 ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit 0 ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit 0 ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit 0 ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit 0 ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include <stdio.h> /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD $dummy.c -o $dummy \ + && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/([0-9]*).*/\1/p'` \ + && rm -f $dummy.c $dummy && exit 0 + rm -f $dummy.c $dummy + echo mips-mips-riscos${UNAME_RELEASE} + exit 0 ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit 0 ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit 0 ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit 0 ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit 0 ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit 0 ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit 0 ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit 0 ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit 0 ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit 0 ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit 0 ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit 0 ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit 0 ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <sys/systemcfg.h> + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 + rm -f $dummy.c $dummy + echo rs6000-ibm-aix3.2.5 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit 0 ;; + *:AIX:*:[45]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit 0 ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit 0 ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit 0 ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit 0 ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit 0 ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit 0 ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit 0 ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include <stdlib.h> + #include <unistd.h> + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy` + if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi + rm -f $dummy.c $dummy + fi ;; + esac + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit 0 ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit 0 ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <unistd.h> + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 + rm -f $dummy.c $dummy + echo unknown-hitachi-hiuxwe2 + exit 0 ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit 0 ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit 0 ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit 0 ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit 0 ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit 0 ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit 0 ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit 0 ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit 0 ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit 0 ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit 0 ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit 0 ;; + CRAY*X-MP:*:*:*) + echo xmp-cray-unicos + exit 0 ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/.[^.]*$/.X/' + exit 0 ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*([A-Z]90)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/.[^.]*$/.X/' + exit 0 ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/.[^.]*$/.X/' + exit 0 ;; + CRAY*T3D:*:*:*) + echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/.[^.]*$/.X/' + exit 0 ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/.[^.]*$/.X/' + exit 0 ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/.[^.]*$/.X/' + exit 0 ;; + CRAY-2:*:*:*) + echo cray2-cray-unicos + exit 0 ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's////'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit 0 ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit 0 ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + *:FreeBSD:*:*) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit 0 ;; + i*:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit 0 ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit 0 ;; + x86:Interix*:3*) + echo i386-pc-interix3 + exit 0 ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i386-pc-interix + exit 0 ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit 0 ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit 0 ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + *:GNU:*:*) + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit 0 ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit 0 ;; + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux + exit 0 ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + mips:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + rm -f $dummy.c + test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 + ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit 0 ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit 0 ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: (.*)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit 0 ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit 0 ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit 0 ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit 0 ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit 0 ;; + i*86:Linux:*:*) + # The BFD linker knows what the default object file format is, so + # first see if it will tell us. cd to the root directory to prevent + # problems with other programs or directories called `ld' in the path. + # Export LANG=C to prevent ld from outputting information in other + # languages. + ld_supported_targets=`LANG=C; export LANG; cd /; ld --help 2>&1 \ + | sed -ne '/supported targets:/!d + s/[ ][ ]*/ /g + s/.*supported targets: *// + s/ .*// + p'` + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" + ;; + a.out-i386-linux) + echo "${UNAME_MACHINE}-pc-linux-gnuaout" + exit 0 ;; + coff-i386) + echo "${UNAME_MACHINE}-pc-linux-gnucoff" + exit 0 ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit 0 ;; + esac + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <features.h> + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #ifdef __INTEL_COMPILER + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + rm -f $dummy.c + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 + test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 + ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit 0 ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit 0 ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's//MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit 0 ;; + i*86:*:5:[78]*) + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit 0 ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL + elif /bin/uname -X 2>/dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` + (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit 0 ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i386. + echo i386-pc-msdosdjgpp + exit 0 ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit 0 ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit 0 ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit 0 ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit 0 ;; + M68*:*:R3V[567]*:*) + test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; + 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* ([0-9][0-9]).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4.3${OS_REL} && exit 0 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4 && exit 0 ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit 0 ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit 0 ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit 0 ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says Richard.M.Bartel@ccMail.Census.GOV + echo i586-unisys-sysv4 + exit 0 ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes hewes@openmarket.com. + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit 0 ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit 0 ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit 0 ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit 0 ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit 0 ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit 0 ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit 0 ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit 0 ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit 0 ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit 0 ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit 0 ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Darwin:*:*) + echo `uname -p`-apple-darwin${UNAME_RELEASE} + exit 0 ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + if test "${UNAME_MACHINE}" = "x86pc"; then + UNAME_MACHINE=pc + echo i386-${UNAME_MACHINE}-nto-qnx + else + echo `uname -p`-${UNAME_MACHINE}-nto-qnx + fi + exit 0 ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit 0 ;; + NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit 0 ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit 0 ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit 0 ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit 0 ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit 0 ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit 0 ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit 0 ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit 0 ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit 0 ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit 0 ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit 0 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit 0 ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit 0 ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c <<EOF +#ifdef _SEQUENT_ +# include <sys/types.h> +# include <sys/utsname.h> +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include <sys/param.h> + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach ([0-9]*).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include <sys/param.h> +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 +rm -f $dummy.c $dummy + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit 0 ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + c34*) + echo c34-convex-bsd + exit 0 ;; + c38*) + echo c38-convex-bsd + exit 0 ;; + c4*) + echo c4-convex-bsd + exit 0 ;; + esac +fi + +cat >&2 <<EOF +$0: unable to guess system type + +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from + + ftp://ftp.gnu.org/pub/gnu/config/ + +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to config-patches@gnu.org in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End:
Property changes on: vendor/flite/current/config.guess ___________________________________________________________________ Name: svn:executable +
Added: vendor/flite/current/config.sub =================================================================== --- vendor/flite/current/config.sub (rev 0) +++ vendor/flite/current/config.sub 2008-03-11 22:26:28 UTC (rev 9561) @@ -0,0 +1,1450 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002 Free Software Foundation, Inc. + +timestamp='2002-02-01' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Please send patches to config-patches@gnu.org. Submit a context +# diff and a properly formatted ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to config-patches@gnu.org." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try `$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit 0;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^(.*)-([^-]*-[^-]*)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^(.*)-([^-]*-[^-]*)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis) + os= + basic_machine=$1 + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | c4x | clipper \ + | d10v | d30v | dsp16xx \ + | fr30 \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | m32r | m68000 | m68k | m88k | mcore \ + | mips16 | mips64 | mips64el | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el | mips64vr4300 \ + | mips64vr4300el | mips64vr5000 | mips64vr5000el \ + | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ + | mipsisa32 \ + | mn10200 | mn10300 \ + | ns16k | ns32k \ + | openrisc | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \ + | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \ + | strongarm \ + | tahoe | thumb | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xscale | xstormy16 | xtensa \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration `$1': machine `$basic_machine' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armv*-* \ + | avr-* \ + | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c54x-* \ + | clipper-* | cray2-* | cydra-* \ + | d10v-* | d30v-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fr30-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | m32r-* \ + | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | mcore-* \ + | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ + | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \ + | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \ + | sparc-* | sparc64-* | sparc86x-* | sparclite-* \ + | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \ + | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* | xstormy16-* \ + | xtensa-* \ + | ymp-* \ + | z8k-*) + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | ymp) + basic_machine=ymp-cray + os=-unicos + ;; + cray2) + basic_machine=cray2-cray + os=-unicos + ;; + [cjt]90) + basic_machine=${basic_machine}-cray + os=-unicos + ;; + crds | unos) + basic_machine=m68k-crds + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mipsel*-linux*) + basic_machine=mipsel-unknown + os=-linux-gnu + ;; + mips*-linux*) + basic_machine=mips-unknown + os=-linux-gnu + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + mmix*) + basic_machine=mmix-knuth + os=-mmixware + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder)
@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.