Added Apoorv Upreti's GSoC2013 work: visual test suite.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 10 Nov 2013 00:32:23 -0500
changeset 7924fcb86d323770
parent 7923 d9ecdf71effb
child 7925 f090a47eb7f7
Added Apoorv Upreti's GSoC2013 work: visual test suite.

See visualtest/README.txt for details.
VisualC/SDL_VS2012.sln
VisualC/visualtest/unittest/testquit/testquit_VS2012.vcxproj
VisualC/visualtest/visualtest_VS2012.vcxproj
visualtest/COPYING.txt
visualtest/Makefile.in
visualtest/README.txt
visualtest/acinclude.m4
visualtest/autogen.sh
visualtest/compile
visualtest/config.h
visualtest/config.h.in
visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.actions
visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.config
visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.parameters
visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.actions
visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.config
visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.parameters
visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.actions
visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.config
visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.parameters
visualtest/configs/testsprite2_geometry/testsprite2_geometry.actions
visualtest/configs/testsprite2_geometry/testsprite2_geometry.config
visualtest/configs/testsprite2_geometry/testsprite2_geometry.parameters
visualtest/configure
visualtest/configure.in
visualtest/depcomp
visualtest/docs/Doxyfile
visualtest/docs/html/_s_d_l__visualtest__action__configparser_8h.html
visualtest/docs/html/_s_d_l__visualtest__action__configparser_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__exhaustive__variator_8h.html
visualtest/docs/html/_s_d_l__visualtest__exhaustive__variator_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__harness__argparser_8h.html
visualtest/docs/html/_s_d_l__visualtest__harness__argparser_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__mischelper_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__parsehelper_8h.html
visualtest/docs/html/_s_d_l__visualtest__parsehelper_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__process_8h.html
visualtest/docs/html/_s_d_l__visualtest__process_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__random__variator_8h.html
visualtest/docs/html/_s_d_l__visualtest__random__variator_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__rwhelper_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__screenshot_8h.html
visualtest/docs/html/_s_d_l__visualtest__screenshot_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__sut__configparser_8h.html
visualtest/docs/html/_s_d_l__visualtest__sut__configparser_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__variator__common_8h.html
visualtest/docs/html/_s_d_l__visualtest__variator__common_8h_source.html
visualtest/docs/html/_s_d_l__visualtest__variators_8h.html
visualtest/docs/html/_s_d_l__visualtest__variators_8h_source.html
visualtest/docs/html/action__configparser_8c.html
visualtest/docs/html/annotated.html
visualtest/docs/html/bc_s.png
visualtest/docs/html/bdwn.png
visualtest/docs/html/classes.html
visualtest/docs/html/closed.png
visualtest/docs/html/config_8h_source.html
visualtest/docs/html/dir_244674c763b96fdad0a6ffe8d0250e08.html
visualtest/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
visualtest/docs/html/dir_88e6415a3128b404f1102a130772bdb6.html
visualtest/docs/html/dir_a18918b93668b435612395bbc2e8b82b.html
visualtest/docs/html/dir_d44c64559bbebec7f509842c48db8b23.html
visualtest/docs/html/dir_f584182df4c69fab0b14563b4d535158.html
visualtest/docs/html/dir_fe549de2418b81853b5f194edb4a7f34.html
visualtest/docs/html/doxygen.css
visualtest/docs/html/doxygen.png
visualtest/docs/html/dynsections.js
visualtest/docs/html/files.html
visualtest/docs/html/ftv2blank.png
visualtest/docs/html/ftv2cl.png
visualtest/docs/html/ftv2doc.png
visualtest/docs/html/ftv2folderclosed.png
visualtest/docs/html/ftv2folderopen.png
visualtest/docs/html/ftv2lastnode.png
visualtest/docs/html/ftv2link.png
visualtest/docs/html/ftv2mlastnode.png
visualtest/docs/html/ftv2mnode.png
visualtest/docs/html/ftv2mo.png
visualtest/docs/html/ftv2node.png
visualtest/docs/html/ftv2ns.png
visualtest/docs/html/ftv2plastnode.png
visualtest/docs/html/ftv2pnode.png
visualtest/docs/html/ftv2splitbar.png
visualtest/docs/html/ftv2vertline.png
visualtest/docs/html/functions.html
visualtest/docs/html/functions_vars.html
visualtest/docs/html/globals.html
visualtest/docs/html/globals_defs.html
visualtest/docs/html/globals_enum.html
visualtest/docs/html/globals_eval.html
visualtest/docs/html/globals_func.html
visualtest/docs/html/globals_type.html
visualtest/docs/html/harness__argparser_8c.html
visualtest/docs/html/index.html
visualtest/docs/html/jquery.js
visualtest/docs/html/linux__process_8c.html
visualtest/docs/html/mischelper_8c.html
visualtest/docs/html/nav_f.png
visualtest/docs/html/nav_g.png
visualtest/docs/html/nav_h.png
visualtest/docs/html/open.png
visualtest/docs/html/parsehelper_8c.html
visualtest/docs/html/rwhelper_8c.html
visualtest/docs/html/screenshot_8c.html
visualtest/docs/html/search/all_61.html
visualtest/docs/html/search/all_61.js
visualtest/docs/html/search/all_62.html
visualtest/docs/html/search/all_62.js
visualtest/docs/html/search/all_63.html
visualtest/docs/html/search/all_63.js
visualtest/docs/html/search/all_64.html
visualtest/docs/html/search/all_64.js
visualtest/docs/html/search/all_65.html
visualtest/docs/html/search/all_65.js
visualtest/docs/html/search/all_66.html
visualtest/docs/html/search/all_66.js
visualtest/docs/html/search/all_68.html
visualtest/docs/html/search/all_68.js
visualtest/docs/html/search/all_69.html
visualtest/docs/html/search/all_69.js
visualtest/docs/html/search/all_6b.html
visualtest/docs/html/search/all_6b.js
visualtest/docs/html/search/all_6c.html
visualtest/docs/html/search/all_6c.js
visualtest/docs/html/search/all_6d.html
visualtest/docs/html/search/all_6d.js
visualtest/docs/html/search/all_6e.html
visualtest/docs/html/search/all_6e.js
visualtest/docs/html/search/all_6f.html
visualtest/docs/html/search/all_6f.js
visualtest/docs/html/search/all_70.html
visualtest/docs/html/search/all_70.js
visualtest/docs/html/search/all_72.html
visualtest/docs/html/search/all_72.js
visualtest/docs/html/search/all_73.html
visualtest/docs/html/search/all_73.js
visualtest/docs/html/search/all_74.html
visualtest/docs/html/search/all_74.js
visualtest/docs/html/search/all_76.html
visualtest/docs/html/search/all_76.js
visualtest/docs/html/search/all_77.html
visualtest/docs/html/search/all_77.js
visualtest/docs/html/search/classes_73.html
visualtest/docs/html/search/classes_73.js
visualtest/docs/html/search/close.png
visualtest/docs/html/search/defines_61.html
visualtest/docs/html/search/defines_61.js
visualtest/docs/html/search/defines_64.html
visualtest/docs/html/search/defines_64.js
visualtest/docs/html/search/defines_6b.html
visualtest/docs/html/search/defines_6b.js
visualtest/docs/html/search/defines_6d.html
visualtest/docs/html/search/defines_6d.js
visualtest/docs/html/search/defines_73.html
visualtest/docs/html/search/defines_73.js
visualtest/docs/html/search/defines_74.html
visualtest/docs/html/search/defines_74.js
visualtest/docs/html/search/enums_73.html
visualtest/docs/html/search/enums_73.js
visualtest/docs/html/search/enumvalues_73.html
visualtest/docs/html/search/enumvalues_73.js
visualtest/docs/html/search/files_61.html
visualtest/docs/html/search/files_61.js
visualtest/docs/html/search/files_68.html
visualtest/docs/html/search/files_68.js
visualtest/docs/html/search/files_6c.html
visualtest/docs/html/search/files_6c.js
visualtest/docs/html/search/files_6d.html
visualtest/docs/html/search/files_6d.js
visualtest/docs/html/search/files_70.html
visualtest/docs/html/search/files_70.js
visualtest/docs/html/search/files_72.html
visualtest/docs/html/search/files_72.js
visualtest/docs/html/search/files_73.html
visualtest/docs/html/search/files_73.js
visualtest/docs/html/search/files_74.html
visualtest/docs/html/search/files_74.js
visualtest/docs/html/search/files_76.html
visualtest/docs/html/search/files_76.js
visualtest/docs/html/search/files_77.html
visualtest/docs/html/search/files_77.js
visualtest/docs/html/search/functions_6d.html
visualtest/docs/html/search/functions_6d.js
visualtest/docs/html/search/functions_73.html
visualtest/docs/html/search/functions_73.js
visualtest/docs/html/search/mag_sel.png
visualtest/docs/html/search/nomatches.html
visualtest/docs/html/search/pages_76.html
visualtest/docs/html/search/pages_76.js
visualtest/docs/html/search/search.css
visualtest/docs/html/search/search.js
visualtest/docs/html/search/search_l.png
visualtest/docs/html/search/search_m.png
visualtest/docs/html/search/search_r.png
visualtest/docs/html/search/typedefs_73.html
visualtest/docs/html/search/typedefs_73.js
visualtest/docs/html/search/variables_61.html
visualtest/docs/html/search/variables_61.js
visualtest/docs/html/search/variables_62.html
visualtest/docs/html/search/variables_62.js
visualtest/docs/html/search/variables_63.html
visualtest/docs/html/search/variables_63.js
visualtest/docs/html/search/variables_64.html
visualtest/docs/html/search/variables_64.js
visualtest/docs/html/search/variables_65.html
visualtest/docs/html/search/variables_65.js
visualtest/docs/html/search/variables_66.html
visualtest/docs/html/search/variables_66.js
visualtest/docs/html/search/variables_69.html
visualtest/docs/html/search/variables_69.js
visualtest/docs/html/search/variables_6d.html
visualtest/docs/html/search/variables_6d.js
visualtest/docs/html/search/variables_6e.html
visualtest/docs/html/search/variables_6e.js
visualtest/docs/html/search/variables_6f.html
visualtest/docs/html/search/variables_6f.js
visualtest/docs/html/search/variables_70.html
visualtest/docs/html/search/variables_70.js
visualtest/docs/html/search/variables_72.html
visualtest/docs/html/search/variables_72.js
visualtest/docs/html/search/variables_73.html
visualtest/docs/html/search/variables_73.js
visualtest/docs/html/search/variables_74.html
visualtest/docs/html/search/variables_74.js
visualtest/docs/html/search/variables_76.html
visualtest/docs/html/search/variables_76.js
visualtest/docs/html/struct_s_d_l___process_exit_status.html
visualtest/docs/html/struct_s_d_l___process_info.html
visualtest/docs/html/struct_s_d_l_visual_test___action.html
visualtest/docs/html/struct_s_d_l_visual_test___action_node.html
visualtest/docs/html/struct_s_d_l_visual_test___action_queue.html
visualtest/docs/html/struct_s_d_l_visual_test___exhaustive_variator.html
visualtest/docs/html/struct_s_d_l_visual_test___harness_state.html
visualtest/docs/html/struct_s_d_l_visual_test___r_w_helper_buffer.html
visualtest/docs/html/struct_s_d_l_visual_test___random_variator.html
visualtest/docs/html/struct_s_d_l_visual_test___s_u_t_config.html
visualtest/docs/html/struct_s_d_l_visual_test___s_u_t_int_range.html
visualtest/docs/html/struct_s_d_l_visual_test___s_u_t_option.html
visualtest/docs/html/struct_s_d_l_visual_test___variation.html
visualtest/docs/html/struct_s_d_l_visual_test___variator.html
visualtest/docs/html/sut__configparser_8c.html
visualtest/docs/html/sync_off.png
visualtest/docs/html/sync_on.png
visualtest/docs/html/tab_a.png
visualtest/docs/html/tab_b.png
visualtest/docs/html/tab_h.png
visualtest/docs/html/tab_s.png
visualtest/docs/html/tabs.css
visualtest/docs/html/testharness_8c.html
visualtest/docs/html/union_s_d_l_visual_test___s_u_t_option_value.html
visualtest/docs/html/variator__common_8c.html
visualtest/docs/html/variator__exhaustive_8c.html
visualtest/docs/html/variator__random_8c.html
visualtest/docs/html/variators_8c.html
visualtest/docs/html/windows__process_8c.html
visualtest/docs/html/windows__screenshot_8c.html
visualtest/docs/latex/_s_d_l__visualtest__action__configparser_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__exhaustive__variator_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__harness__argparser_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__parsehelper_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__process_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__random__variator_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__screenshot_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__sut__configparser_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__variator__common_8h.tex
visualtest/docs/latex/_s_d_l__visualtest__variators_8h.tex
visualtest/docs/latex/action__configparser_8c.tex
visualtest/docs/latex/annotated.tex
visualtest/docs/latex/dir_244674c763b96fdad0a6ffe8d0250e08.tex
visualtest/docs/latex/dir_68267d1309a1af8e8297ef4c3efbcdba.tex
visualtest/docs/latex/dir_88e6415a3128b404f1102a130772bdb6.tex
visualtest/docs/latex/dir_a18918b93668b435612395bbc2e8b82b.tex
visualtest/docs/latex/dir_d44c64559bbebec7f509842c48db8b23.tex
visualtest/docs/latex/dir_f584182df4c69fab0b14563b4d535158.tex
visualtest/docs/latex/dir_fe549de2418b81853b5f194edb4a7f34.tex
visualtest/docs/latex/doxygen.sty
visualtest/docs/latex/files.tex
visualtest/docs/latex/harness__argparser_8c.tex
visualtest/docs/latex/index.tex
visualtest/docs/latex/linux__process_8c.tex
visualtest/docs/latex/make.bat
visualtest/docs/latex/mischelper_8c.tex
visualtest/docs/latex/parsehelper_8c.tex
visualtest/docs/latex/refman.tex
visualtest/docs/latex/rwhelper_8c.tex
visualtest/docs/latex/screenshot_8c.tex
visualtest/docs/latex/struct_s_d_l___process_exit_status.tex
visualtest/docs/latex/struct_s_d_l___process_info.tex
visualtest/docs/latex/struct_s_d_l_visual_test___action.tex
visualtest/docs/latex/struct_s_d_l_visual_test___action_node.tex
visualtest/docs/latex/struct_s_d_l_visual_test___action_queue.tex
visualtest/docs/latex/struct_s_d_l_visual_test___exhaustive_variator.tex
visualtest/docs/latex/struct_s_d_l_visual_test___harness_state.tex
visualtest/docs/latex/struct_s_d_l_visual_test___r_w_helper_buffer.tex
visualtest/docs/latex/struct_s_d_l_visual_test___random_variator.tex
visualtest/docs/latex/struct_s_d_l_visual_test___s_u_t_config.tex
visualtest/docs/latex/struct_s_d_l_visual_test___s_u_t_int_range.tex
visualtest/docs/latex/struct_s_d_l_visual_test___s_u_t_option.tex
visualtest/docs/latex/struct_s_d_l_visual_test___variation.tex
visualtest/docs/latex/struct_s_d_l_visual_test___variator.tex
visualtest/docs/latex/sut__configparser_8c.tex
visualtest/docs/latex/testharness_8c.tex
visualtest/docs/latex/union_s_d_l_visual_test___s_u_t_option_value.tex
visualtest/docs/latex/variator__common_8c.tex
visualtest/docs/latex/variator__exhaustive_8c.tex
visualtest/docs/latex/variator__random_8c.tex
visualtest/docs/latex/variators_8c.tex
visualtest/docs/latex/windows__process_8c.tex
visualtest/docs/latex/windows__screenshot_8c.tex
visualtest/include/SDL_visualtest_action_configparser.h
visualtest/include/SDL_visualtest_exhaustive_variator.h
visualtest/include/SDL_visualtest_harness_argparser.h
visualtest/include/SDL_visualtest_mischelper.h
visualtest/include/SDL_visualtest_parsehelper.h
visualtest/include/SDL_visualtest_process.h
visualtest/include/SDL_visualtest_random_variator.h
visualtest/include/SDL_visualtest_rwhelper.h
visualtest/include/SDL_visualtest_screenshot.h
visualtest/include/SDL_visualtest_sut_configparser.h
visualtest/include/SDL_visualtest_variator_common.h
visualtest/include/SDL_visualtest_variators.h
visualtest/install-sh
visualtest/launch_harness.cmd
visualtest/launch_harness.sh
visualtest/missing
visualtest/src/action_configparser.c
visualtest/src/harness_argparser.c
visualtest/src/linux/linux_process.c
visualtest/src/mischelper.c
visualtest/src/parsehelper.c
visualtest/src/rwhelper.c
visualtest/src/screenshot.c
visualtest/src/sut_configparser.c
visualtest/src/testharness.c
visualtest/src/variator_common.c
visualtest/src/variator_exhaustive.c
visualtest/src/variator_random.c
visualtest/src/variators.c
visualtest/src/windows/windows_process.c
visualtest/src/windows/windows_screenshot.c
visualtest/stamp-h1
visualtest/testsprite2_sample.actions
visualtest/testsprite2_sample.config
visualtest/testsprite2_sample.parameters
visualtest/unittest/testquit.actions
visualtest/unittest/testquit.c
visualtest/unittest/testquit.config
visualtest/unittest/testquit.parameters
     1.1 --- a/VisualC/SDL_VS2012.sln	Sat Nov 09 01:15:17 2013 -0800
     1.2 +++ b/VisualC/SDL_VS2012.sln	Sun Nov 10 00:32:23 2013 -0500
     1.3 @@ -103,6 +103,19 @@
     1.4  		{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A} = {DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}
     1.5  	EndProjectSection
     1.6  EndProject
     1.7 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visualtest", "visualtest\visualtest_VS2012.vcxproj", "{13DDF23A-4A8F-4AF9-9734-CC09D9157924}"
     1.8 +	ProjectSection(ProjectDependencies) = postProject
     1.9 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8} = {1D12C737-7C71-45CE-AE2C-AAB47B690BC8}
    1.10 +		{40FB7794-D3C3-4CFE-BCF4-A80C96635682} = {40FB7794-D3C3-4CFE-BCF4-A80C96635682}
    1.11 +		{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68} = {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}
    1.12 +		{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A} = {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}
    1.13 +		{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A} = {DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}
    1.14 +	EndProjectSection
    1.15 +EndProject
    1.16 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "visualtest", "visualtest", "{68C17E4D-1073-48DB-A96C-C36FE8705F1B}"
    1.17 +EndProject
    1.18 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testquit", "visualtest\unittest\testquit\testquit_VS2012.vcxproj", "{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}"
    1.19 +EndProject
    1.20  Global
    1.21  	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    1.22  		Debug|Win32 = Debug|Win32
    1.23 @@ -253,6 +266,22 @@
    1.24  		{55812185-D13C-4022-9C81-32E0F4A08BCC}.Release|Win32.Build.0 = Release|Win32
    1.25  		{55812185-D13C-4022-9C81-32E0F4A08BCC}.Release|x64.ActiveCfg = Release|x64
    1.26  		{55812185-D13C-4022-9C81-32E0F4A08BCC}.Release|x64.Build.0 = Release|x64
    1.27 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924}.Debug|Win32.ActiveCfg = Debug|Win32
    1.28 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924}.Debug|Win32.Build.0 = Debug|Win32
    1.29 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924}.Debug|x64.ActiveCfg = Debug|x64
    1.30 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924}.Debug|x64.Build.0 = Debug|x64
    1.31 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924}.Release|Win32.ActiveCfg = Release|Win32
    1.32 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924}.Release|Win32.Build.0 = Release|Win32
    1.33 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924}.Release|x64.ActiveCfg = Release|x64
    1.34 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924}.Release|x64.Build.0 = Release|x64
    1.35 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}.Debug|Win32.ActiveCfg = Debug|Win32
    1.36 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}.Debug|Win32.Build.0 = Debug|Win32
    1.37 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}.Debug|x64.ActiveCfg = Debug|x64
    1.38 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}.Debug|x64.Build.0 = Debug|x64
    1.39 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}.Release|Win32.ActiveCfg = Release|Win32
    1.40 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}.Release|Win32.Build.0 = Release|Win32
    1.41 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}.Release|x64.ActiveCfg = Release|x64
    1.42 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}.Release|x64.Build.0 = Release|x64
    1.43  	EndGlobalSection
    1.44  	GlobalSection(SolutionProperties) = preSolution
    1.45  		HideSolutionNode = FALSE
    1.46 @@ -274,5 +303,7 @@
    1.47  		{55812185-D13C-4022-9C81-32E0F4A08336} = {CE748C1F-3C21-4825-AA6A-F895A023F7E7}
    1.48  		{55812185-D13C-4022-9C81-32E0F4A08996} = {CE748C1F-3C21-4825-AA6A-F895A023F7E7}
    1.49  		{55812185-D13C-4022-9C81-32E0F4A08BCC} = {CE748C1F-3C21-4825-AA6A-F895A023F7E7}
    1.50 +		{13DDF23A-4A8F-4AF9-9734-CC09D9157924} = {68C17E4D-1073-48DB-A96C-C36FE8705F1B}
    1.51 +		{1D12C737-7C71-45CE-AE2C-AAB47B690BC8} = {68C17E4D-1073-48DB-A96C-C36FE8705F1B}
    1.52  	EndGlobalSection
    1.53  EndGlobal
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/VisualC/visualtest/unittest/testquit/testquit_VS2012.vcxproj	Sun Nov 10 00:32:23 2013 -0500
     2.3 @@ -0,0 +1,232 @@
     2.4 +<?xml version="1.0" encoding="utf-8"?>
     2.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     2.6 +  <ItemGroup Label="ProjectConfigurations">
     2.7 +    <ProjectConfiguration Include="Debug|Win32">
     2.8 +      <Configuration>Debug</Configuration>
     2.9 +      <Platform>Win32</Platform>
    2.10 +    </ProjectConfiguration>
    2.11 +    <ProjectConfiguration Include="Debug|x64">
    2.12 +      <Configuration>Debug</Configuration>
    2.13 +      <Platform>x64</Platform>
    2.14 +    </ProjectConfiguration>
    2.15 +    <ProjectConfiguration Include="Release|Win32">
    2.16 +      <Configuration>Release</Configuration>
    2.17 +      <Platform>Win32</Platform>
    2.18 +    </ProjectConfiguration>
    2.19 +    <ProjectConfiguration Include="Release|x64">
    2.20 +      <Configuration>Release</Configuration>
    2.21 +      <Platform>x64</Platform>
    2.22 +    </ProjectConfiguration>
    2.23 +  </ItemGroup>
    2.24 +  <PropertyGroup Label="Globals">
    2.25 +    <ProjectName>testquit</ProjectName>
    2.26 +    <RootNamespace>testquit</RootNamespace>
    2.27 +    <ProjectGuid>{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}</ProjectGuid>
    2.28 +  </PropertyGroup>
    2.29 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    2.30 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    2.31 +    <ConfigurationType>Application</ConfigurationType>
    2.32 +    <UseOfMfc>false</UseOfMfc>
    2.33 +    <PlatformToolset>v110</PlatformToolset>
    2.34 +  </PropertyGroup>
    2.35 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    2.36 +    <ConfigurationType>Application</ConfigurationType>
    2.37 +    <UseOfMfc>false</UseOfMfc>
    2.38 +    <CharacterSet>MultiByte</CharacterSet>
    2.39 +    <PlatformToolset>v110</PlatformToolset>
    2.40 +  </PropertyGroup>
    2.41 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    2.42 +    <ConfigurationType>Application</ConfigurationType>
    2.43 +    <UseOfMfc>false</UseOfMfc>
    2.44 +    <PlatformToolset>v110</PlatformToolset>
    2.45 +  </PropertyGroup>
    2.46 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    2.47 +    <ConfigurationType>Application</ConfigurationType>
    2.48 +    <UseOfMfc>false</UseOfMfc>
    2.49 +    <PlatformToolset>v110</PlatformToolset>
    2.50 +  </PropertyGroup>
    2.51 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    2.52 +  <ImportGroup Label="ExtensionSettings">
    2.53 +  </ImportGroup>
    2.54 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    2.55 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    2.56 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    2.57 +  </ImportGroup>
    2.58 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    2.59 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    2.60 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    2.61 +  </ImportGroup>
    2.62 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    2.63 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    2.64 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    2.65 +  </ImportGroup>
    2.66 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    2.67 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    2.68 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    2.69 +  </ImportGroup>
    2.70 +  <PropertyGroup Label="UserMacros" />
    2.71 +  <PropertyGroup>
    2.72 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    2.73 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir>
    2.74 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
    2.75 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
    2.76 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
    2.77 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
    2.78 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
    2.79 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir>
    2.80 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
    2.81 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir>
    2.82 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
    2.83 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
    2.84 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
    2.85 +  </PropertyGroup>
    2.86 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    2.87 +    <Midl>
    2.88 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    2.89 +      <MkTypLibCompatible>true</MkTypLibCompatible>
    2.90 +      <SuppressStartupBanner>true</SuppressStartupBanner>
    2.91 +      <TargetEnvironment>Win32</TargetEnvironment>
    2.92 +    </Midl>
    2.93 +    <ClCompile>
    2.94 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    2.95 +      <AdditionalIncludeDirectories>..\..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    2.96 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    2.97 +      <StringPooling>true</StringPooling>
    2.98 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    2.99 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   2.100 +      <PrecompiledHeader>
   2.101 +      </PrecompiledHeader>
   2.102 +      <WarningLevel>Level3</WarningLevel>
   2.103 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.104 +      <CompileAs>Default</CompileAs>
   2.105 +    </ClCompile>
   2.106 +    <ResourceCompile>
   2.107 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.108 +      <Culture>0x0409</Culture>
   2.109 +    </ResourceCompile>
   2.110 +    <Link>
   2.111 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.112 +      <SubSystem>Windows</SubSystem>
   2.113 +    </Link>
   2.114 +    <PostBuildEvent>
   2.115 +      <Command>copy "$(SolutionDir)\SDL\$(Platform)\$(Configuration)\SDL2.dll" "$(TargetDir)\SDL2.dll"</Command>
   2.116 +    </PostBuildEvent>
   2.117 +    <PostBuildEvent>
   2.118 +      <Message>Copy SDL and data files</Message>
   2.119 +    </PostBuildEvent>
   2.120 +  </ItemDefinitionGroup>
   2.121 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   2.122 +    <Midl>
   2.123 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.124 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   2.125 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.126 +    </Midl>
   2.127 +    <ClCompile>
   2.128 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   2.129 +      <AdditionalIncludeDirectories>..\..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   2.130 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.131 +      <StringPooling>true</StringPooling>
   2.132 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   2.133 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   2.134 +      <PrecompiledHeader>
   2.135 +      </PrecompiledHeader>
   2.136 +      <WarningLevel>Level3</WarningLevel>
   2.137 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.138 +      <CompileAs>Default</CompileAs>
   2.139 +    </ClCompile>
   2.140 +    <ResourceCompile>
   2.141 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.142 +      <Culture>0x0409</Culture>
   2.143 +    </ResourceCompile>
   2.144 +    <Link>
   2.145 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.146 +      <SubSystem>Windows</SubSystem>
   2.147 +    </Link>
   2.148 +    <PostBuildEvent>
   2.149 +      <Command>copy "$(SolutionDir)\SDL\$(Platform)\$(Configuration)\SDL2.dll" "$(TargetDir)\SDL2.dll"</Command>
   2.150 +    </PostBuildEvent>
   2.151 +    <PostBuildEvent>
   2.152 +      <Message>Copy SDL and data files</Message>
   2.153 +    </PostBuildEvent>
   2.154 +  </ItemDefinitionGroup>
   2.155 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   2.156 +    <Midl>
   2.157 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.158 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   2.159 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.160 +      <TargetEnvironment>Win32</TargetEnvironment>
   2.161 +    </Midl>
   2.162 +    <ClCompile>
   2.163 +      <Optimization>Disabled</Optimization>
   2.164 +      <AdditionalIncludeDirectories>..\..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   2.165 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.166 +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
   2.167 +      <PrecompiledHeader>
   2.168 +      </PrecompiledHeader>
   2.169 +      <WarningLevel>Level3</WarningLevel>
   2.170 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.171 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   2.172 +      <CompileAs>Default</CompileAs>
   2.173 +    </ClCompile>
   2.174 +    <ResourceCompile>
   2.175 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.176 +      <Culture>0x0409</Culture>
   2.177 +    </ResourceCompile>
   2.178 +    <Link>
   2.179 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.180 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   2.181 +      <SubSystem>Windows</SubSystem>
   2.182 +    </Link>
   2.183 +    <PostBuildEvent>
   2.184 +      <Command>copy "$(SolutionDir)\SDL\$(Platform)\$(Configuration)\SDL2.dll" "$(TargetDir)\SDL2.dll"</Command>
   2.185 +    </PostBuildEvent>
   2.186 +    <PostBuildEvent>
   2.187 +      <Message>Copy SDL and data files</Message>
   2.188 +    </PostBuildEvent>
   2.189 +  </ItemDefinitionGroup>
   2.190 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   2.191 +    <Midl>
   2.192 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.193 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   2.194 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.195 +    </Midl>
   2.196 +    <ClCompile>
   2.197 +      <Optimization>Disabled</Optimization>
   2.198 +      <AdditionalIncludeDirectories>..\..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   2.199 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.200 +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
   2.201 +      <PrecompiledHeader>
   2.202 +      </PrecompiledHeader>
   2.203 +      <WarningLevel>Level3</WarningLevel>
   2.204 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.205 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
   2.206 +      <CompileAs>Default</CompileAs>
   2.207 +    </ClCompile>
   2.208 +    <ResourceCompile>
   2.209 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   2.210 +      <Culture>0x0409</Culture>
   2.211 +    </ResourceCompile>
   2.212 +    <Link>
   2.213 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   2.214 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   2.215 +      <SubSystem>Windows</SubSystem>
   2.216 +    </Link>
   2.217 +    <PostBuildEvent>
   2.218 +      <Command>copy "$(SolutionDir)\SDL\$(Platform)\$(Configuration)\SDL2.dll" "$(TargetDir)\SDL2.dll"</Command>
   2.219 +    </PostBuildEvent>
   2.220 +    <PostBuildEvent>
   2.221 +      <Message>Copy SDL and data files</Message>
   2.222 +    </PostBuildEvent>
   2.223 +  </ItemDefinitionGroup>
   2.224 +  <ItemGroup>
   2.225 +    <ClCompile Include="..\..\..\..\visualtest\unittest\testquit.c" />
   2.226 +  </ItemGroup>
   2.227 +  <ItemGroup>
   2.228 +    <Library Include="..\..\..\SDL\$(Platform)\$(Configuration)\SDL2.lib" />
   2.229 +    <Library Include="..\..\..\SDLmain\$(Platform)\$(Configuration)\SDL2main.lib" />
   2.230 +    <Library Include="..\..\..\SDLtest\$(Platform)\$(Configuration)\SDL2test.lib" />
   2.231 +  </ItemGroup>
   2.232 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   2.233 +  <ImportGroup Label="ExtensionTargets">
   2.234 +  </ImportGroup>
   2.235 +</Project>
   2.236 \ No newline at end of file
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/VisualC/visualtest/visualtest_VS2012.vcxproj	Sun Nov 10 00:32:23 2013 -0500
     3.3 @@ -0,0 +1,308 @@
     3.4 +<?xml version="1.0" encoding="utf-8"?>
     3.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     3.6 +  <ItemGroup Label="ProjectConfigurations">
     3.7 +    <ProjectConfiguration Include="Debug|Win32">
     3.8 +      <Configuration>Debug</Configuration>
     3.9 +      <Platform>Win32</Platform>
    3.10 +    </ProjectConfiguration>
    3.11 +    <ProjectConfiguration Include="Debug|x64">
    3.12 +      <Configuration>Debug</Configuration>
    3.13 +      <Platform>x64</Platform>
    3.14 +    </ProjectConfiguration>
    3.15 +    <ProjectConfiguration Include="Release|Win32">
    3.16 +      <Configuration>Release</Configuration>
    3.17 +      <Platform>Win32</Platform>
    3.18 +    </ProjectConfiguration>
    3.19 +    <ProjectConfiguration Include="Release|x64">
    3.20 +      <Configuration>Release</Configuration>
    3.21 +      <Platform>x64</Platform>
    3.22 +    </ProjectConfiguration>
    3.23 +  </ItemGroup>
    3.24 +  <PropertyGroup Label="Globals">
    3.25 +    <ProjectName>visualtest</ProjectName>
    3.26 +    <RootNamespace>visualtest</RootNamespace>
    3.27 +    <ProjectGuid>{13DDF23A-4A8F-4AF9-9734-CC09D9157924}</ProjectGuid>
    3.28 +  </PropertyGroup>
    3.29 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    3.30 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    3.31 +    <ConfigurationType>Application</ConfigurationType>
    3.32 +    <UseOfMfc>false</UseOfMfc>
    3.33 +    <PlatformToolset>v110</PlatformToolset>
    3.34 +  </PropertyGroup>
    3.35 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    3.36 +    <ConfigurationType>Application</ConfigurationType>
    3.37 +    <UseOfMfc>false</UseOfMfc>
    3.38 +    <CharacterSet>MultiByte</CharacterSet>
    3.39 +    <PlatformToolset>v110</PlatformToolset>
    3.40 +  </PropertyGroup>
    3.41 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    3.42 +    <ConfigurationType>Application</ConfigurationType>
    3.43 +    <UseOfMfc>false</UseOfMfc>
    3.44 +    <PlatformToolset>v110</PlatformToolset>
    3.45 +  </PropertyGroup>
    3.46 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    3.47 +    <ConfigurationType>Application</ConfigurationType>
    3.48 +    <UseOfMfc>false</UseOfMfc>
    3.49 +    <PlatformToolset>v110</PlatformToolset>
    3.50 +  </PropertyGroup>
    3.51 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    3.52 +  <ImportGroup Label="ExtensionSettings">
    3.53 +  </ImportGroup>
    3.54 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    3.55 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    3.56 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    3.57 +  </ImportGroup>
    3.58 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    3.59 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    3.60 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    3.61 +  </ImportGroup>
    3.62 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    3.63 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    3.64 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    3.65 +  </ImportGroup>
    3.66 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    3.67 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    3.68 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    3.69 +  </ImportGroup>
    3.70 +  <PropertyGroup Label="UserMacros" />
    3.71 +  <PropertyGroup>
    3.72 +    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    3.73 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir>
    3.74 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
    3.75 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
    3.76 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
    3.77 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
    3.78 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
    3.79 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir>
    3.80 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
    3.81 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir>
    3.82 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
    3.83 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
    3.84 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
    3.85 +  </PropertyGroup>
    3.86 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    3.87 +    <TargetName>testharness</TargetName>
    3.88 +  </PropertyGroup>
    3.89 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    3.90 +    <Midl>
    3.91 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    3.92 +      <MkTypLibCompatible>true</MkTypLibCompatible>
    3.93 +      <SuppressStartupBanner>true</SuppressStartupBanner>
    3.94 +      <TargetEnvironment>Win32</TargetEnvironment>
    3.95 +    </Midl>
    3.96 +    <ClCompile>
    3.97 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    3.98 +      <AdditionalIncludeDirectories>..\..\include;..\..\visualtest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    3.99 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.100 +      <StringPooling>true</StringPooling>
   3.101 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   3.102 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   3.103 +      <PrecompiledHeader>
   3.104 +      </PrecompiledHeader>
   3.105 +      <WarningLevel>Level3</WarningLevel>
   3.106 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.107 +      <CompileAs>Default</CompileAs>
   3.108 +    </ClCompile>
   3.109 +    <ResourceCompile>
   3.110 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.111 +      <Culture>0x0409</Culture>
   3.112 +    </ResourceCompile>
   3.113 +    <Link>
   3.114 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.115 +      <SubSystem>Windows</SubSystem>
   3.116 +    </Link>
   3.117 +    <PostBuildEvent>
   3.118 +      <Command>
   3.119 +        copy "$(SolutionDir)SDL\$(Platform)\$(Configuration)\SDL2.dll" "$(TargetDir)SDL2.dll"
   3.120 +        copy "$(SolutionDir)..\test\icon.bmp" "$(TargetDir)icon.bmp"
   3.121 +        copy "$(SolutionDir)tests\testsprite2\$(Platform)\$(Configuration)\testsprite2.exe" "$(TargetDir)testsprite2.exe"
   3.122 +        copy "$(SolutionDir)visualtest\unittest\testquit\$(Platform)\$(Configuration)\testquit.exe" "$(TargetDir)testquit.exe"
   3.123 +        copy /y "$(SolutionDir)..\visualtest\*.config" "$(TargetDir)"
   3.124 +        copy /y "$(SolutionDir)..\visualtest\*.parameters" "$(TargetDir)"
   3.125 +        copy /y "$(SolutionDir)..\visualtest\*.actions" "$(TargetDir)"
   3.126 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.config" "$(TargetDir)"
   3.127 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.parameters" "$(TargetDir)"
   3.128 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.actions" "$(TargetDir)"
   3.129 +  	  </Command>
   3.130 +    </PostBuildEvent>
   3.131 +    <PostBuildEvent>
   3.132 +      <Message>Copy SDL and data files</Message>
   3.133 +    </PostBuildEvent>
   3.134 +  </ItemDefinitionGroup>
   3.135 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
   3.136 +    <Midl>
   3.137 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.138 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   3.139 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.140 +    </Midl>
   3.141 +    <ClCompile>
   3.142 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   3.143 +      <AdditionalIncludeDirectories>..\..\include;..\..\visualtest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   3.144 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.145 +      <StringPooling>true</StringPooling>
   3.146 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   3.147 +      <FunctionLevelLinking>true</FunctionLevelLinking>
   3.148 +      <PrecompiledHeader>
   3.149 +      </PrecompiledHeader>
   3.150 +      <WarningLevel>Level3</WarningLevel>
   3.151 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.152 +      <CompileAs>Default</CompileAs>
   3.153 +    </ClCompile>
   3.154 +    <ResourceCompile>
   3.155 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.156 +      <Culture>0x0409</Culture>
   3.157 +    </ResourceCompile>
   3.158 +    <Link>
   3.159 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.160 +      <SubSystem>Windows</SubSystem>
   3.161 +    </Link>
   3.162 +    <PostBuildEvent>
   3.163 +      <Command>
   3.164 +        copy "$(SolutionDir)SDL\$(Platform)\$(Configuration)\SDL2.dll" "$(TargetDir)SDL2.dll"
   3.165 +        copy "$(SolutionDir)..\test\icon.bmp" "$(TargetDir)icon.bmp"
   3.166 +        copy "$(SolutionDir)tests\testsprite2\$(Platform)\$(Configuration)\testsprite2.exe" "$(TargetDir)testsprite2.exe"
   3.167 +        copy "$(SolutionDir)visualtest\unittest\testquit\$(Platform)\$(Configuration)\testquit.exe" "$(TargetDir)testquit.exe"
   3.168 +        copy /y "$(SolutionDir)..\visualtest\*.config" "$(TargetDir)"
   3.169 +        copy /y "$(SolutionDir)..\visualtest\*.parameters" "$(TargetDir)"
   3.170 +        copy /y "$(SolutionDir)..\visualtest\*.actions" "$(TargetDir)"
   3.171 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.config" "$(TargetDir)"
   3.172 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.parameters" "$(TargetDir)"
   3.173 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.actions" "$(TargetDir)"
   3.174 +      </Command>
   3.175 +    </PostBuildEvent>
   3.176 +    <PostBuildEvent>
   3.177 +      <Message>Copy SDL and data files</Message>
   3.178 +    </PostBuildEvent>
   3.179 +  </ItemDefinitionGroup>
   3.180 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   3.181 +    <Midl>
   3.182 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.183 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   3.184 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.185 +      <TargetEnvironment>Win32</TargetEnvironment>
   3.186 +    </Midl>
   3.187 +    <ClCompile>
   3.188 +      <Optimization>Disabled</Optimization>
   3.189 +      <AdditionalIncludeDirectories>..\..\include;..\..\visualtest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   3.190 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.191 +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
   3.192 +      <PrecompiledHeader>
   3.193 +      </PrecompiledHeader>
   3.194 +      <WarningLevel>Level3</WarningLevel>
   3.195 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.196 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
   3.197 +      <CompileAs>Default</CompileAs>
   3.198 +      <DisableLanguageExtensions>false</DisableLanguageExtensions>
   3.199 +    </ClCompile>
   3.200 +    <ResourceCompile>
   3.201 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.202 +      <Culture>0x0409</Culture>
   3.203 +    </ResourceCompile>
   3.204 +    <Link>
   3.205 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.206 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   3.207 +      <SubSystem>Windows</SubSystem>
   3.208 +      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
   3.209 +    </Link>
   3.210 +    <PostBuildEvent>
   3.211 +      <Command>
   3.212 +        copy "$(SolutionDir)SDL\$(Platform)\$(Configuration)\SDL2.dll" "$(TargetDir)SDL2.dll"
   3.213 +        copy "$(SolutionDir)..\test\icon.bmp" "$(TargetDir)icon.bmp"
   3.214 +        copy "$(SolutionDir)tests\testsprite2\$(Platform)\$(Configuration)\testsprite2.exe" "$(TargetDir)testsprite2.exe"
   3.215 +        copy "$(SolutionDir)visualtest\unittest\testquit\$(Platform)\$(Configuration)\testquit.exe" "$(TargetDir)testquit.exe"
   3.216 +        copy /y "$(SolutionDir)..\visualtest\*.config" "$(TargetDir)"
   3.217 +        copy /y "$(SolutionDir)..\visualtest\*.parameters" "$(TargetDir)"
   3.218 +        copy /y "$(SolutionDir)..\visualtest\*.actions" "$(TargetDir)"
   3.219 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.config" "$(TargetDir)"
   3.220 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.parameters" "$(TargetDir)"
   3.221 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.actions" "$(TargetDir)"
   3.222 +      </Command>
   3.223 +    </PostBuildEvent>
   3.224 +    <PostBuildEvent>
   3.225 +      <Message>Copy SDL and data files</Message>
   3.226 +    </PostBuildEvent>
   3.227 +  </ItemDefinitionGroup>
   3.228 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   3.229 +    <Midl>
   3.230 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.231 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   3.232 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.233 +    </Midl>
   3.234 +    <ClCompile>
   3.235 +      <Optimization>Disabled</Optimization>
   3.236 +      <AdditionalIncludeDirectories>..\..\include;..\..\visualtest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   3.237 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.238 +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
   3.239 +      <PrecompiledHeader>
   3.240 +      </PrecompiledHeader>
   3.241 +      <WarningLevel>Level3</WarningLevel>
   3.242 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.243 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
   3.244 +      <CompileAs>Default</CompileAs>
   3.245 +    </ClCompile>
   3.246 +    <ResourceCompile>
   3.247 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   3.248 +      <Culture>0x0409</Culture>
   3.249 +    </ResourceCompile>
   3.250 +    <Link>
   3.251 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   3.252 +      <GenerateDebugInformation>true</GenerateDebugInformation>
   3.253 +      <SubSystem>Windows</SubSystem>
   3.254 +    </Link>
   3.255 +    <PostBuildEvent>
   3.256 +      <Command>
   3.257 +        copy "$(SolutionDir)SDL\$(Platform)\$(Configuration)\SDL2.dll" "$(TargetDir)SDL2.dll"
   3.258 +        copy "$(SolutionDir)..\test\icon.bmp" "$(TargetDir)icon.bmp"
   3.259 +        copy "$(SolutionDir)tests\testsprite2\$(Platform)\$(Configuration)\testsprite2.exe" "$(TargetDir)testsprite2.exe"
   3.260 +        copy "$(SolutionDir)visualtest\unittest\testquit\$(Platform)\$(Configuration)\testquit.exe" "$(TargetDir)testquit.exe"
   3.261 +        copy /y "$(SolutionDir)..\visualtest\*.config" "$(TargetDir)"
   3.262 +        copy /y "$(SolutionDir)..\visualtest\*.parameters" "$(TargetDir)"
   3.263 +        copy /y "$(SolutionDir)..\visualtest\*.actions" "$(TargetDir)"
   3.264 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.config" "$(TargetDir)"
   3.265 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.parameters" "$(TargetDir)"
   3.266 +        copy /y "$(SolutionDir)..\visualtest\unittest\*.actions" "$(TargetDir)"
   3.267 +      </Command>
   3.268 +    </PostBuildEvent>
   3.269 +    <PostBuildEvent>
   3.270 +      <Message>Copy SDL and data files</Message>
   3.271 +    </PostBuildEvent>
   3.272 +  </ItemDefinitionGroup>
   3.273 +  <ItemGroup>
   3.274 +    <Library Include="..\SDL\$(Platform)\$(Configuration)\SDL2.lib" />
   3.275 +    <Library Include="..\SDLmain\$(Platform)\$(Configuration)\SDL2main.lib" />
   3.276 +    <Library Include="..\SDLtest\$(Platform)\$(Configuration)\SDL2test.lib" />
   3.277 +  </ItemGroup>
   3.278 +  <ItemGroup>
   3.279 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_action_configparser.h" />
   3.280 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_exhaustive_variator.h" />
   3.281 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_harness_argparser.h" />
   3.282 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_mischelper.h" />
   3.283 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_parsehelper.h" />
   3.284 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_process.h" />
   3.285 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_random_variator.h" />
   3.286 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_rwhelper.h" />
   3.287 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_screenshot.h" />
   3.288 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_sut_configparser.h" />
   3.289 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_variators.h" />
   3.290 +    <ClInclude Include="..\..\visualtest\include\SDL_visualtest_variator_common.h" />
   3.291 +  </ItemGroup>
   3.292 +  <ItemGroup>
   3.293 +    <ClCompile Include="..\..\visualtest\src\action_configparser.c" />
   3.294 +    <ClCompile Include="..\..\visualtest\src\harness_argparser.c" />
   3.295 +    <ClCompile Include="..\..\visualtest\src\mischelper.c" />
   3.296 +    <ClCompile Include="..\..\visualtest\src\parsehelper.c" />
   3.297 +    <ClCompile Include="..\..\visualtest\src\rwhelper.c" />
   3.298 +    <ClCompile Include="..\..\visualtest\src\screenshot.c" />
   3.299 +    <ClCompile Include="..\..\visualtest\src\sut_configparser.c" />
   3.300 +    <ClCompile Include="..\..\visualtest\src\testharness.c" />
   3.301 +    <ClCompile Include="..\..\visualtest\src\variators.c" />
   3.302 +    <ClCompile Include="..\..\visualtest\src\variator_exhaustive.c" />
   3.303 +    <ClCompile Include="..\..\visualtest\src\variator_common.c" />
   3.304 +    <ClCompile Include="..\..\visualtest\src\variator_random.c" />
   3.305 +    <ClCompile Include="..\..\visualtest\src\windows\windows_process.c" />
   3.306 +    <ClCompile Include="..\..\visualtest\src\windows\windows_screenshot.c" />
   3.307 +  </ItemGroup>
   3.308 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   3.309 +  <ImportGroup Label="ExtensionTargets">
   3.310 +  </ImportGroup>
   3.311 +</Project>
   3.312 \ No newline at end of file
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/visualtest/COPYING.txt	Sun Nov 10 00:32:23 2013 -0500
     4.3 @@ -0,0 +1,18 @@
     4.4 +Visual and Interactive Test Automation for SDL 2.0
     4.5 +Copyright (C) 2013 Apoorv Upreti <apoorvupreti@gmail.com>
     4.6 +
     4.7 +This software is provided 'as-is', without any express or implied
     4.8 +warranty.  In no event will the authors be held liable for any damages
     4.9 +arising from the use of this software.
    4.10 +
    4.11 +Permission is granted to anyone to use this software for any purpose,
    4.12 +including commercial applications, and to alter it and redistribute it
    4.13 +freely, subject to the following restrictions:
    4.14 +
    4.15 +1. The origin of this software must not be misrepresented; you must not
    4.16 +   claim that you wrote the original software. If you use this software
    4.17 +   in a product, an acknowledgment in the product documentation would be
    4.18 +   appreciated but is not required.
    4.19 +2. Altered source versions must be plainly marked as such, and must not be
    4.20 +   misrepresented as being the original software.
    4.21 +3. This notice may not be removed or altered from any source distribution.
    4.22 \ No newline at end of file
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/visualtest/Makefile.in	Sun Nov 10 00:32:23 2013 -0500
     5.3 @@ -0,0 +1,37 @@
     5.4 +# Makefile to build the SDL tests
     5.5 +srcdir  = @srcdir@
     5.6 +CC      = @CC@
     5.7 +EXE	= @EXE@
     5.8 +CFLAGS  = @CFLAGS@ -I../include -I./include
     5.9 +LIBS	= @LIBS@
    5.10 +TARGETS = \
    5.11 +	testharness$(EXE) \
    5.12 +	testquit$(EXE)
    5.13 +all: Makefile $(TARGETS)
    5.14 +Makefile: $(srcdir)/Makefile.in
    5.15 +	$(SHELL) config.status $@
    5.16 +testharness$(EXE): $(srcdir)/src/action_configparser.c \
    5.17 +		   $(srcdir)/src/harness_argparser.c \
    5.18 +		   $(srcdir)/src/rwhelper.c \
    5.19 +		   $(srcdir)/src/testharness.c \
    5.20 +		   $(srcdir)/src/variator_exhaustive.c \
    5.21 +		   $(srcdir)/src/variators.c \
    5.22 +		   $(srcdir)/src/screenshot.c \
    5.23 +		   $(srcdir)/src/harness_argparser.c \
    5.24 +		   $(srcdir)/src/sut_configparser.c \
    5.25 +		   $(srcdir)/src/variator_common.c \
    5.26 +		   $(srcdir)/src/variator_random.c \
    5.27 +		   $(srcdir)/src/parsehelper.c \
    5.28 +		   $(srcdir)/src/mischelper.c \
    5.29 +		   $(srcdir)/src/linux/linux_process.c \
    5.30 +		   $(srcdir)/src/windows/windows_process.c \
    5.31 +		   $(srcdir)/src/windows/windows_screenshot.c
    5.32 +	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    5.33 +testquit$(EXE): $(srcdir)/unittest/testquit.c
    5.34 +	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    5.35 +clean:
    5.36 +	rm -f $(TARGETS)
    5.37 +distclean: clean
    5.38 +	rm -f Makefile
    5.39 +	rm -f config.status config.cache config.log
    5.40 +	rm -rf $(srcdir)/autom4te*
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/visualtest/README.txt	Sun Nov 10 00:32:23 2013 -0500
     6.3 @@ -0,0 +1,214 @@
     6.4 +/*!
     6.5 +
     6.6 +\mainpage Visual and Interactive Test Automation for SDL 2.0
     6.7 +
     6.8 +\section license_sec License
     6.9 +Check the file \c COPYING.txt for licensing information.
    6.10 +
    6.11 +\section intro_sec Introduction
    6.12 +The goal of this GSoC project is to automate the testing of testsprite2.
    6.13 +testsprite2 takes 26 parameters which have thousands of valid combinations and is
    6.14 +used to validate SDL's window, mouse and rendering behaviour. By having a test
    6.15 +harness that runs testsprite2 with various command line argument strings and
    6.16 +validates the output for each run, we can make testing an easier task for
    6.17 +maintainers, contributors and testers. The test harness can be used by a continuous
    6.18 +integration system (like buildbot or jenkins) to validate SDL after checkins.
    6.19 +
    6.20 +SDL Homepage: http://libsdl.org/
    6.21 +
    6.22 +\section build_sec Building
    6.23 +
    6.24 +\subsection build_linux Building on Linux/Cygwin
    6.25 +<tt>./autogen.sh; ./configure; make;</tt>
    6.26 +
    6.27 +\subsection build_windows Building on Windows
    6.28 +Use the Visual Studio solution under \c SDL/VisualC/visualtest.
    6.29 +
    6.30 +\section docs_sec Documentation
    6.31 +Documentation is available via Doxygen. To build the documentation, cd to the
    6.32 +SDL/visualtest/docs directory and run \c doxygen. A good starting point for
    6.33 +exploring the documentation is \c SDL/visualtest/docs/html/index.html
    6.34 +
    6.35 +\section usage_sec Usage
    6.36 +To see all the options supported by the test harness, just run \c testharness
    6.37 +with no arguments.
    6.38 +
    6.39 +At the moment the following options are supported:
    6.40 +\li \c sutapp - Path to the system under test (SUT) application
    6.41 +\li \c sutargs - Launch the SUT with the specified arguments string
    6.42 +\li \c timeout - The maximum time after which the SUT process will be killed;
    6.43 +	passed as hh:mm:ss; default 00:01:00
    6.44 +\li \c variator - Which variator to use; see \ref variators_sec
    6.45 +\li \c num-variations - The number of variations to run for; taken to be 
    6.46 +	1 for the random variator and ALL for the exhaustive variator by default
    6.47 +\li \c no-launch - Just print the arguments string for each variation without
    6.48 +	launching the SUT or performing any actions
    6.49 +\li \c parameter-config - A config file that describes the command line parameters
    6.50 +	supported by the SUT; see \ref paramconfig_sec or the sample *.parameters files
    6.51 +	for more details
    6.52 +\li \c action-config - A config file with a list of actions to be performed while
    6.53 +	the SUT is running; see \ref actionconfig_sec or the sample *.actions files
    6.54 +\li \c output-dir - Path to the directory where screenshots should be saved; is
    6.55 +	created if it doesn't exist; taken to be "./output" by default
    6.56 +\li \c verify-dir - Path to the directory with the verification images; taken to 
    6.57 +	be "./verify" by default
    6.58 +
    6.59 +Paths can be relative or absolute.
    6.60 +
    6.61 +Alternatively, the options can be passed as a config file for convenience:
    6.62 +
    6.63 +<tt>testharness \-\-config testsprite2_sample.config</tt>
    6.64 +
    6.65 +For a sample, take a look at the *.config files in this repository.
    6.66 +
    6.67 +We can also pass a config file and override certain options as necessary:
    6.68 +<tt>testharness \-\-config testsprite2_sample.config \-\-num-variations 10</tt>
    6.69 +
    6.70 +Note: You may find it convenient to copy the SUT executable along with any
    6.71 +resources to the test harness directory. Also note that testsprite2 and its
    6.72 +resources (icon.bmp) are automatically copied when using the Visual Studio
    6.73 +solution.
    6.74 +
    6.75 +\subsection usageexamples_subsec Usage examples:
    6.76 +
    6.77 +Passing a custom arguments string:
    6.78 +<tt>testharness \-\-sutapp testsprite2 \-\-sutargs "\-\-cyclecolor \-\-blend mod
    6.79 +\-\-iterations 2" \-\-action-config xyz.actions</tt>
    6.80 +
    6.81 +Using the random variator:
    6.82 +<tt>testharness \-\-sutapp testsprite2 \-\-variator random \-\-num-variations 5
    6.83 +\-\-parameter-config xyz.parameters \-\-action-config xyz.actions</tt>
    6.84 +
    6.85 +\subsection config_subsec Config Files
    6.86 +Config files are an alternate way to pass parameters to the test harness. We
    6.87 +describe the paramters in a config file and pass that to the test harness using
    6.88 +the \-\-config option. The config file consists of lines of the form "x=y" where
    6.89 +x is an option and y is it's value. For boolean options, we simply give the name
    6.90 +of the option to indicate that it is to be passed to the testharness.
    6.91 +
    6.92 +The hash '#' character can be used to start a comment from that point to the end
    6.93 +of the line.
    6.94 +
    6.95 +\section paramconfig_sec The SUT Parameters File
    6.96 +To generate variations we need to describe the parameters the will be passed to
    6.97 +the SUT. This description is given in a parameters file. Each line of the parameters
    6.98 +file (except the blank lines) represents one command line option with five
    6.99 +comma separated fields:
   6.100 +<tt>name, type, values, required, categories</tt>
   6.101 +
   6.102 +\li \c name is the name of the option, e.g., \c \-\-cyclecolor.
   6.103 +\li \c type can have one of three values - integer, boolean and enum.
   6.104 +\li \c values - for integer options this is the valid range of values the option
   6.105 +	can take, i.e., [min max]. For enum options this is a list of strings that
   6.106 +	the option can take, e.g., [val1 val2 val3]. For boolean options this field
   6.107 +	is ignored.
   6.108 +\li \c required - true if the option is required, false otherwise.
   6.109 +\li \c categories - a list of categories that the option belongs to. For example,
   6.110 +	[video mouse audio]
   6.111 +
   6.112 +Just like with config files, hash characters can be used to start comments.
   6.113 +
   6.114 +\subsection additionalnotes_subsec Additional Notes
   6.115 +
   6.116 +\li If you want to have an option that always takes a certain value, use an enum
   6.117 +	with only one value.
   6.118 +\li Currently there isn't any way to turn an option off, i.e., all options will
   6.119 +	be included in the command line options string that is generated using the
   6.120 +	config. If you don't want an option to be passed to the SUT, remove it from
   6.121 +	the config file or comment it out.
   6.122 +
   6.123 +\section variators_sec Variators
   6.124 +Variators are the mechanism by which we generate strings of command line arguments
   6.125 +to test the SUT with. A variator is quite simply an iterator that iterates through
   6.126 +different variations of command line options. There are two variators supported at
   6.127 +the moment:
   6.128 +\li \b Exhaustive - Generate all possible combinations of command line arguments
   6.129 +	that are valid.
   6.130 +\li \b Random - Generate a random variation each time the variator is called.
   6.131 +
   6.132 +As an example, let's try a simple .parameters file:\n
   6.133 +<tt>
   6.134 +\-\-blend, enum, [add mod], false, [] \n
   6.135 +\-\-fullscreen, boolean, [], false, []
   6.136 +</tt>
   6.137 +
   6.138 +The exhaustive variator would generate the following four variations:\n
   6.139 +<tt>
   6.140 +\-\-blend add \n
   6.141 +\-\-blend mod \n
   6.142 +\-\-blend add \-\-fullscreen \n
   6.143 +\-\-blend mod \-\-fullscreen \n
   6.144 +</tt>
   6.145 +
   6.146 +The random variator would simply generate a random variation like the following:\n
   6.147 +<tt>\-\-blend mod</tt>
   6.148 +
   6.149 +\section actionconfig_sec The Actions File
   6.150 +Once the SUT process has been launched, automated testing happens using a mechanism
   6.151 +called actions. A list of actions is read from a file and each action is performed
   6.152 +on the SUT process sequentially. Each line in the actions file describes an action.
   6.153 +The format for an action is <tt>hh:mm:ss ACTION_NAME additional parameters</tt>.
   6.154 +There are five actions supported at the moment:
   6.155 +\li \b SCREENSHOT - Takes a screenshot of each window owned by the SUT process. The
   6.156 +	images are saved as \c [hash]_[i].bmp where \c [hash] is the 32 character long
   6.157 +	hexadecimal MD5 hash of the arguments string that was passed to the SUT while
   6.158 +	launching it and \c i is the window number. i = 1 is an exceptional case
   6.159 +	where the \c _[i] is dropped and the filename is simply \c [hash].bmp\n
   6.160 +	Note: The screenshots are only of the window's client area.
   6.161 +\li \b VERIFY - Verifies the screenshots taken by the last SCREENSHOT action by
   6.162 +	comparing them against a verification image. Each \c [hash]_i.bmp image output
   6.163 +	by the SCREENSHOT action is compared against a \c [hash].bmp image in the
   6.164 +	verify-dir.
   6.165 +\li \b QUIT - Gracefully quits the SUT process. On Windows this means sending a
   6.166 +	WM_CLOSE message to each window owned by the SUT process. On Linux it means
   6.167 +	sending a SIGQUIT signal to the SUT process.
   6.168 +\li \b KILL - Forcefully kills the SUT process. This is useful when the SUT process
   6.169 +	doesn't respond to the QUIT action.
   6.170 +\li <b>LAUNCH [/path/to/executable] [args]</b> - Runs an executable with \c [args]
   6.171 +	as the arguments string.
   6.172 +
   6.173 +Just like with config files, hash characters can be used to start comments.
   6.174 +
   6.175 +\section contint_sec Continuous Integration (CI)
   6.176 +One of the goals of the project was to create a test harness that integrates
   6.177 +with CI systems to provide automated visual and interactive testing to SDL.
   6.178 +
   6.179 +At the moment the test harness can be run in two modes that are useful for CI:
   6.180 +\li Crash testing mode - launch the SUT with every variation and all parameters,
   6.181 +	report to the CI if there's a crash
   6.182 +\li Visual testing mode - launch and visually verify the SUT for a smaller subset
   6.183 +	of the parameters
   6.184 +
   6.185 +Look at the launch_harness.sh/launch_harness.cmd for an example scripts that run the
   6.186 +test harness for all variations with all parameters and report an error on a crash.
   6.187 +The script uses the testsprite2_crashtest config, so remember to copy those files
   6.188 +over to the test harness executable directory along with the script.
   6.189 +
   6.190 +\section todo_sec TODOs
   6.191 +\li Allow specifying a clipping box along with the VERIFY action, i.e., hh:mm:ss
   6.192 +	VERIFY x, y, w, h
   6.193 +\li Add support for spaces between the equals sign in test harness config files
   6.194 +\li Implement the SCREENSHOT action on Linux
   6.195 +\li Add a pairwise variator
   6.196 +\li Add actions to inject keyboard/mouse events
   6.197 +\li Add actions to manipulate the SUT window, e.g., minimize, restore, resize
   6.198 +\li Add support to load and save screenshots as .pngs instead of .bmps
   6.199 +
   6.200 +\section issues_sec Known Issues
   6.201 +\li The QUIT action does not work on a testsprite2 process with multiple windows.
   6.202 +	This appears to be an issue with testsprite2.
   6.203 +\li The SCREENSHOT action doesn't capture the testsprite2 window correctly if the
   6.204 +	--fullscreen option is supplied. It works with --fullscreen-desktop, however.
   6.205 +
   6.206 +\section moreinfo_sec More Information
   6.207 +
   6.208 +Author Contact Info:\n
   6.209 +Apoorv Upreti \c \<apoorvupreti@gmail.com\>
   6.210 +
   6.211 +Other useful links:
   6.212 +- Project Repository: https://bitbucket.org/nerdap/sdlvisualtest
   6.213 +- Project Wiki: https://github.com/nerdap/autotestsprite2/wiki
   6.214 +- Project Blog: http://nerdap.github.io
   6.215 +- Verification images for testsprite2_blendmodes: https://www.dropbox.com/s/nm02aem76m812ng/testsprite2_blendmodes.zip
   6.216 +- Verification images for testsprite2_geometry: https://www.dropbox.com/s/csypwryopaslpaf/testsprite2_geometry.zip
   6.217 +*/
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/visualtest/acinclude.m4	Sun Nov 10 00:32:23 2013 -0500
     7.3 @@ -0,0 +1,359 @@
     7.4 +# Configure paths for SDL
     7.5 +# Sam Lantinga 9/21/99
     7.6 +# stolen from Manish Singh
     7.7 +# stolen back from Frank Belew
     7.8 +# stolen from Manish Singh
     7.9 +# Shamelessly stolen from Owen Taylor
    7.10 +
    7.11 +# serial 1
    7.12 +
    7.13 +dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
    7.14 +dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
    7.15 +dnl
    7.16 +AC_DEFUN([AM_PATH_SDL2],
    7.17 +[dnl 
    7.18 +dnl Get the cflags and libraries from the sdl2-config script
    7.19 +dnl
    7.20 +AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
    7.21 +            sdl_prefix="$withval", sdl_prefix="")
    7.22 +AC_ARG_WITH(sdl-exec-prefix,[  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
    7.23 +            sdl_exec_prefix="$withval", sdl_exec_prefix="")
    7.24 +AC_ARG_ENABLE(sdltest, [  --disable-sdltest       Do not try to compile and run a test SDL program],
    7.25 +		    , enable_sdltest=yes)
    7.26 +
    7.27 +  min_sdl_version=ifelse([$1], ,0.9.0,$1)
    7.28 +
    7.29 +  if test "x$sdl_prefix$sdl_exec_prefix" = x ; then
    7.30 +    PKG_CHECK_MODULES([SDL], [sdl2 >= $min_sdl_version],
    7.31 +           [sdl_pc=yes],
    7.32 +           [sdl_pc=no])
    7.33 +  else
    7.34 +    sdl_pc=no
    7.35 +    if test x$sdl_exec_prefix != x ; then
    7.36 +      sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
    7.37 +      if test x${SDL_CONFIG+set} != xset ; then
    7.38 +        SDL_CONFIG=$sdl_exec_prefix/bin/sdl2-config
    7.39 +      fi
    7.40 +    fi
    7.41 +    if test x$sdl_prefix != x ; then
    7.42 +      sdl_config_args="$sdl_config_args --prefix=$sdl_prefix"
    7.43 +      if test x${SDL_CONFIG+set} != xset ; then
    7.44 +        SDL_CONFIG=$sdl_prefix/bin/sdl2-config
    7.45 +      fi
    7.46 +    fi
    7.47 +  fi
    7.48 +
    7.49 +  if test "x$sdl_pc" = xyes ; then
    7.50 +    no_sdl=""
    7.51 +    SDL_CONFIG="pkg-config sdl2"
    7.52 +  else
    7.53 +    as_save_PATH="$PATH"
    7.54 +    if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
    7.55 +      PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    7.56 +    fi
    7.57 +    AC_PATH_PROG(SDL_CONFIG, sdl2-config, no, [$PATH])
    7.58 +    PATH="$as_save_PATH"
    7.59 +    AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    7.60 +    no_sdl=""
    7.61 +
    7.62 +    if test "$SDL_CONFIG" = "no" ; then
    7.63 +      no_sdl=yes
    7.64 +    else
    7.65 +      SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags`
    7.66 +      SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs`
    7.67 +
    7.68 +      sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \
    7.69 +             sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
    7.70 +      sdl_minor_version=`$SDL_CONFIG $sdl_config_args --version | \
    7.71 +             sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
    7.72 +      sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
    7.73 +             sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
    7.74 +      if test "x$enable_sdltest" = "xyes" ; then
    7.75 +        ac_save_CFLAGS="$CFLAGS"
    7.76 +        ac_save_CXXFLAGS="$CXXFLAGS"
    7.77 +        ac_save_LIBS="$LIBS"
    7.78 +        CFLAGS="$CFLAGS $SDL_CFLAGS"
    7.79 +        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
    7.80 +        LIBS="$LIBS $SDL_LIBS"
    7.81 +dnl
    7.82 +dnl Now check if the installed SDL is sufficiently new. (Also sanity
    7.83 +dnl checks the results of sdl2-config to some extent
    7.84 +dnl
    7.85 +      rm -f conf.sdltest
    7.86 +      AC_TRY_RUN([
    7.87 +#include <stdio.h>
    7.88 +#include <stdlib.h>
    7.89 +#include <string.h>
    7.90 +#include "SDL.h"
    7.91 +
    7.92 +char*
    7.93 +my_strdup (char *str)
    7.94 +{
    7.95 +  char *new_str;
    7.96 +  
    7.97 +  if (str)
    7.98 +    {
    7.99 +      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
   7.100 +      strcpy (new_str, str);
   7.101 +    }
   7.102 +  else
   7.103 +    new_str = NULL;
   7.104 +  
   7.105 +  return new_str;
   7.106 +}
   7.107 +
   7.108 +int main (int argc, char *argv[])
   7.109 +{
   7.110 +  int major, minor, micro;
   7.111 +  char *tmp_version;
   7.112 +
   7.113 +  /* This hangs on some systems (?)
   7.114 +  system ("touch conf.sdltest");
   7.115 +  */
   7.116 +  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
   7.117 +
   7.118 +  /* HP/UX 9 (%@#!) writes to sscanf strings */
   7.119 +  tmp_version = my_strdup("$min_sdl_version");
   7.120 +  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
   7.121 +     printf("%s, bad version string\n", "$min_sdl_version");
   7.122 +     exit(1);
   7.123 +   }
   7.124 +
   7.125 +   if (($sdl_major_version > major) ||
   7.126 +      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
   7.127 +      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
   7.128 +    {
   7.129 +      return 0;
   7.130 +    }
   7.131 +  else
   7.132 +    {
   7.133 +      printf("\n*** 'sdl2-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
   7.134 +      printf("*** of SDL required is %d.%d.%d. If sdl2-config is correct, then it is\n", major, minor, micro);
   7.135 +      printf("*** best to upgrade to the required version.\n");
   7.136 +      printf("*** If sdl2-config was wrong, set the environment variable SDL_CONFIG\n");
   7.137 +      printf("*** to point to the correct copy of sdl2-config, and remove the file\n");
   7.138 +      printf("*** config.cache before re-running configure\n");
   7.139 +      return 1;
   7.140 +    }
   7.141 +}
   7.142 +
   7.143 +],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
   7.144 +        CFLAGS="$ac_save_CFLAGS"
   7.145 +        CXXFLAGS="$ac_save_CXXFLAGS"
   7.146 +        LIBS="$ac_save_LIBS"
   7.147 +      fi
   7.148 +    fi
   7.149 +    if test "x$no_sdl" = x ; then
   7.150 +      AC_MSG_RESULT(yes)
   7.151 +    else
   7.152 +      AC_MSG_RESULT(no)
   7.153 +    fi
   7.154 +  fi
   7.155 +  if test "x$no_sdl" = x ; then
   7.156 +     ifelse([$2], , :, [$2])
   7.157 +  else
   7.158 +     if test "$SDL_CONFIG" = "no" ; then
   7.159 +       echo "*** The sdl2-config script installed by SDL could not be found"
   7.160 +       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
   7.161 +       echo "*** your path, or set the SDL_CONFIG environment variable to the"
   7.162 +       echo "*** full path to sdl2-config."
   7.163 +     else
   7.164 +       if test -f conf.sdltest ; then
   7.165 +        :
   7.166 +       else
   7.167 +          echo "*** Could not run SDL test program, checking why..."
   7.168 +          CFLAGS="$CFLAGS $SDL_CFLAGS"
   7.169 +          CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
   7.170 +          LIBS="$LIBS $SDL_LIBS"
   7.171 +          AC_TRY_LINK([
   7.172 +#include <stdio.h>
   7.173 +#include "SDL.h"
   7.174 +
   7.175 +int main(int argc, char *argv[])
   7.176 +{ return 0; }
   7.177 +#undef  main
   7.178 +#define main K_and_R_C_main
   7.179 +],      [ return 0; ],
   7.180 +        [ echo "*** The test program compiled, but did not run. This usually means"
   7.181 +          echo "*** that the run-time linker is not finding SDL or finding the wrong"
   7.182 +          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
   7.183 +          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
   7.184 +          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
   7.185 +          echo "*** is required on your system"
   7.186 +	  echo "***"
   7.187 +          echo "*** If you have an old version installed, it is best to remove it, although"
   7.188 +          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
   7.189 +        [ echo "*** The test program failed to compile or link. See the file config.log for the"
   7.190 +          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
   7.191 +          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
   7.192 +          echo "*** may want to edit the sdl2-config script: $SDL_CONFIG" ])
   7.193 +          CFLAGS="$ac_save_CFLAGS"
   7.194 +          CXXFLAGS="$ac_save_CXXFLAGS"
   7.195 +          LIBS="$ac_save_LIBS"
   7.196 +       fi
   7.197 +     fi
   7.198 +     SDL_CFLAGS=""
   7.199 +     SDL_LIBS=""
   7.200 +     ifelse([$3], , :, [$3])
   7.201 +  fi
   7.202 +  AC_SUBST(SDL_CFLAGS)
   7.203 +  AC_SUBST(SDL_LIBS)
   7.204 +  rm -f conf.sdltest
   7.205 +])
   7.206 +# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
   7.207 +# serial 1 (pkg-config-0.24)
   7.208 +# 
   7.209 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
   7.210 +#
   7.211 +# This program is free software; you can redistribute it and/or modify
   7.212 +# it under the terms of the GNU General Public License as published by
   7.213 +# the Free Software Foundation; either version 2 of the License, or
   7.214 +# (at your option) any later version.
   7.215 +#
   7.216 +# This program is distributed in the hope that it will be useful, but
   7.217 +# WITHOUT ANY WARRANTY; without even the implied warranty of
   7.218 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   7.219 +# General Public License for more details.
   7.220 +#
   7.221 +# You should have received a copy of the GNU General Public License
   7.222 +# along with this program; if not, write to the Free Software
   7.223 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
   7.224 +#
   7.225 +# As a special exception to the GNU General Public License, if you
   7.226 +# distribute this file as part of a program that contains a
   7.227 +# configuration script generated by Autoconf, you may include it under
   7.228 +# the same distribution terms that you use for the rest of that program.
   7.229 +
   7.230 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
   7.231 +# ----------------------------------
   7.232 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
   7.233 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
   7.234 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
   7.235 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
   7.236 +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
   7.237 +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
   7.238 +
   7.239 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   7.240 +	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
   7.241 +fi
   7.242 +if test -n "$PKG_CONFIG"; then
   7.243 +	_pkg_min_version=m4_default([$1], [0.9.0])
   7.244 +	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
   7.245 +	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   7.246 +		AC_MSG_RESULT([yes])
   7.247 +	else
   7.248 +		AC_MSG_RESULT([no])
   7.249 +		PKG_CONFIG=""
   7.250 +	fi
   7.251 +fi[]dnl
   7.252 +])# PKG_PROG_PKG_CONFIG
   7.253 +
   7.254 +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
   7.255 +#
   7.256 +# Check to see whether a particular set of modules exists.  Similar
   7.257 +# to PKG_CHECK_MODULES(), but does not set variables or print errors.
   7.258 +#
   7.259 +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
   7.260 +# only at the first occurence in configure.ac, so if the first place
   7.261 +# it's called might be skipped (such as if it is within an "if", you
   7.262 +# have to call PKG_CHECK_EXISTS manually
   7.263 +# --------------------------------------------------------------
   7.264 +AC_DEFUN([PKG_CHECK_EXISTS],
   7.265 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
   7.266 +if test -n "$PKG_CONFIG" && \
   7.267 +    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
   7.268 +  m4_default([$2], [:])
   7.269 +m4_ifvaln([$3], [else
   7.270 +  $3])dnl
   7.271 +fi])
   7.272 +
   7.273 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
   7.274 +# ---------------------------------------------
   7.275 +m4_define([_PKG_CONFIG],
   7.276 +[if test -n "$$1"; then
   7.277 +    pkg_cv_[]$1="$$1"
   7.278 + elif test -n "$PKG_CONFIG"; then
   7.279 +    PKG_CHECK_EXISTS([$3],
   7.280 +                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
   7.281 +		     [pkg_failed=yes])
   7.282 + else
   7.283 +    pkg_failed=untried
   7.284 +fi[]dnl
   7.285 +])# _PKG_CONFIG
   7.286 +
   7.287 +# _PKG_SHORT_ERRORS_SUPPORTED
   7.288 +# -----------------------------
   7.289 +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
   7.290 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
   7.291 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   7.292 +        _pkg_short_errors_supported=yes
   7.293 +else
   7.294 +        _pkg_short_errors_supported=no
   7.295 +fi[]dnl
   7.296 +])# _PKG_SHORT_ERRORS_SUPPORTED
   7.297 +
   7.298 +
   7.299 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
   7.300 +# [ACTION-IF-NOT-FOUND])
   7.301 +#
   7.302 +#
   7.303 +# Note that if there is a possibility the first call to
   7.304 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
   7.305 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
   7.306 +#
   7.307 +#
   7.308 +# --------------------------------------------------------------
   7.309 +AC_DEFUN([PKG_CHECK_MODULES],
   7.310 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
   7.311 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
   7.312 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
   7.313 +
   7.314 +pkg_failed=no
   7.315 +AC_MSG_CHECKING([for $1])
   7.316 +
   7.317 +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
   7.318 +_PKG_CONFIG([$1][_LIBS], [libs], [$2])
   7.319 +
   7.320 +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
   7.321 +and $1[]_LIBS to avoid the need to call pkg-config.
   7.322 +See the pkg-config man page for more details.])
   7.323 +
   7.324 +if test $pkg_failed = yes; then
   7.325 +   	AC_MSG_RESULT([no])
   7.326 +        _PKG_SHORT_ERRORS_SUPPORTED
   7.327 +        if test $_pkg_short_errors_supported = yes; then
   7.328 +	        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
   7.329 +        else 
   7.330 +	        $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
   7.331 +        fi
   7.332 +	# Put the nasty error message in config.log where it belongs
   7.333 +	echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
   7.334 +
   7.335 +	m4_default([$4], [AC_MSG_ERROR(
   7.336 +[Package requirements ($2) were not met:
   7.337 +
   7.338 +$$1_PKG_ERRORS
   7.339 +
   7.340 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
   7.341 +installed software in a non-standard prefix.
   7.342 +
   7.343 +_PKG_TEXT])dnl
   7.344 +        ])
   7.345 +elif test $pkg_failed = untried; then
   7.346 +     	AC_MSG_RESULT([no])
   7.347 +	m4_default([$4], [AC_MSG_FAILURE(
   7.348 +[The pkg-config script could not be found or is too old.  Make sure it
   7.349 +is in your PATH or set the PKG_CONFIG environment variable to the full
   7.350 +path to pkg-config.
   7.351 +
   7.352 +_PKG_TEXT
   7.353 +
   7.354 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
   7.355 +        ])
   7.356 +else
   7.357 +	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
   7.358 +	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
   7.359 +        AC_MSG_RESULT([yes])
   7.360 +	$3
   7.361 +fi[]dnl
   7.362 +])# PKG_CHECK_MODULES
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/visualtest/autogen.sh	Sun Nov 10 00:32:23 2013 -0500
     8.3 @@ -0,0 +1,12 @@
     8.4 +#!/bin/sh
     8.5 +#
     8.6 +# Regenerate configuration files
     8.7 +cp acinclude.m4 aclocal.m4
     8.8 +found=false
     8.9 +for autoconf in autoconf autoconf259 autoconf-2.59
    8.10 +do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
    8.11 +done
    8.12 +if test x$found = xfalse; then
    8.13 +    echo "Couldn't find autoconf, aborting"
    8.14 +    exit 1
    8.15 +fi
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/visualtest/compile	Sun Nov 10 00:32:23 2013 -0500
     9.3 @@ -0,0 +1,1 @@
     9.4 +/usr/share/automake-1.11/compile
     9.5 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/visualtest/config.h	Sun Nov 10 00:32:23 2013 -0500
    10.3 @@ -0,0 +1,23 @@
    10.4 +/* config.h.  Generated from config.h.in by configure.  */
    10.5 +/* config.h.in.  Generated from configure.in by autoheader.  */
    10.6 +
    10.7 +/* Define to the address where bug reports for this package should be sent. */
    10.8 +#define PACKAGE_BUGREPORT "apoorvupreti@gmail.com"
    10.9 +
   10.10 +/* Define to the full name of this package. */
   10.11 +#define PACKAGE_NAME "sdlvisualtest"
   10.12 +
   10.13 +/* Define to the full name and version of this package. */
   10.14 +#define PACKAGE_STRING "sdlvisualtest 0.01"
   10.15 +
   10.16 +/* Define to the one symbol short name of this package. */
   10.17 +#define PACKAGE_TARNAME "sdlvisualtest"
   10.18 +
   10.19 +/* Define to the home page for this package. */
   10.20 +#define PACKAGE_URL ""
   10.21 +
   10.22 +/* Define to the version of this package. */
   10.23 +#define PACKAGE_VERSION "0.01"
   10.24 +
   10.25 +/* Define to empty if `const' does not conform to ANSI C. */
   10.26 +/* #undef const */
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/visualtest/config.h.in	Sun Nov 10 00:32:23 2013 -0500
    11.3 @@ -0,0 +1,22 @@
    11.4 +/* config.h.in.  Generated from configure.in by autoheader.  */
    11.5 +
    11.6 +/* Define to the address where bug reports for this package should be sent. */
    11.7 +#undef PACKAGE_BUGREPORT
    11.8 +
    11.9 +/* Define to the full name of this package. */
   11.10 +#undef PACKAGE_NAME
   11.11 +
   11.12 +/* Define to the full name and version of this package. */
   11.13 +#undef PACKAGE_STRING
   11.14 +
   11.15 +/* Define to the one symbol short name of this package. */
   11.16 +#undef PACKAGE_TARNAME
   11.17 +
   11.18 +/* Define to the home page for this package. */
   11.19 +#undef PACKAGE_URL
   11.20 +
   11.21 +/* Define to the version of this package. */
   11.22 +#undef PACKAGE_VERSION
   11.23 +
   11.24 +/* Define to empty if `const' does not conform to ANSI C. */
   11.25 +#undef const
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.actions	Sun Nov 10 00:32:23 2013 -0500
    12.3 @@ -0,0 +1,3 @@
    12.4 +00:00:03 SCREENSHOT
    12.5 +00:00:06 VERIFY
    12.6 +00:00:09 QUIT
    12.7 \ No newline at end of file
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.config	Sun Nov 10 00:32:23 2013 -0500
    13.3 @@ -0,0 +1,5 @@
    13.4 +parameter-config=testsprite2_blendmodes.parameters
    13.5 +variator=exhaustive
    13.6 +sutapp=testsprite2
    13.7 +timeout=00:00:15
    13.8 +action-config=testsprite2_blendmodes.actions
    13.9 \ No newline at end of file
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.parameters	Sun Nov 10 00:32:23 2013 -0500
    14.3 @@ -0,0 +1,5 @@
    14.4 +# parameter name, type, value range, required, categories
    14.5 +--blend, enum, [none blend add mod], false, []
    14.6 +--cyclecolor, boolean, [], false, []
    14.7 +--cyclealpha, boolean, [], false, []
    14.8 +--iterations, integer, [1000 1000], true, []
    14.9 \ No newline at end of file
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.actions	Sun Nov 10 00:32:23 2013 -0500
    15.3 @@ -0,0 +1,1 @@
    15.4 +00:00:02 QUIT
    15.5 \ No newline at end of file
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.config	Sun Nov 10 00:32:23 2013 -0500
    16.3 @@ -0,0 +1,5 @@
    16.4 +parameter-config=testsprite2_crashtest.parameters
    16.5 +variator=exhaustive
    16.6 +sutapp=testsprite2
    16.7 +timeout=00:00:10
    16.8 +action-config=testsprite2_crashtest.actions
    16.9 \ No newline at end of file
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.parameters	Sun Nov 10 00:32:23 2013 -0500
    17.3 @@ -0,0 +1,24 @@
    17.4 +# parameter name, type, value range, required, categories
    17.5 +--display, integer, [1 5], false, []
    17.6 +--fullscreen, boolean, [], false, []
    17.7 +--fullscreen-desktop, boolean, [], false, []
    17.8 +--title, enum, [vartest bartest footest], false, []
    17.9 +--icon, enum, [icon.bmp], false, []
   17.10 +--center, boolean, [], false, []
   17.11 +--position, enum, [300,300], false, []
   17.12 +--geometry, enum, [500x500], false, []
   17.13 +--min-geometry, enum, [100x100 200x200], false, []
   17.14 +--max-geometry, enum, [600x600 700x700], false, []
   17.15 +--logical, enum, [500x500 550x450], false, []
   17.16 +--scale, integer, [1 5], false, []
   17.17 +--depth, integer, [1 5], false, []
   17.18 +--refresh, integer, [1 5], false, []
   17.19 +--vsync, boolean, [], false, []
   17.20 +--noframe, boolean, [], false, []
   17.21 +--resize, boolean, [], false, []
   17.22 +--minimize, boolean, [], false, []
   17.23 +--maximize, boolean, [], false, []
   17.24 +--grab, boolean, [], false, [mouse]
   17.25 +--blend, enum, [none blend add mod], false, []
   17.26 +--cyclecolor, boolean, [], false, []
   17.27 +--cyclealpha, boolean, [], false, []
   17.28 \ No newline at end of file
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.actions	Sun Nov 10 00:32:23 2013 -0500
    18.3 @@ -0,0 +1,3 @@
    18.4 +00:00:03 SCREENSHOT
    18.5 +00:00:06 VERIFY
    18.6 +00:00:09 QUIT
    18.7 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.config	Sun Nov 10 00:32:23 2013 -0500
    19.3 @@ -0,0 +1,5 @@
    19.4 +parameter-config=testsprite2_fullscreen.parameters
    19.5 +variator=exhaustive
    19.6 +sutapp=testsprite2
    19.7 +timeout=00:00:15
    19.8 +action-config=testsprite2_fullscreen.actions
    19.9 \ No newline at end of file
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.parameters	Sun Nov 10 00:32:23 2013 -0500
    20.3 @@ -0,0 +1,5 @@
    20.4 +# parameter name, type, value range, required, categories
    20.5 +--blend, enum, [none blend add mod], false, []
    20.6 +--fullscreen, boolean, [], false, []
    20.7 +--fullscreen-desktop, boolean, [], false, []
    20.8 +--iterations, integer, [1000 1000], true, []
    20.9 \ No newline at end of file
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/visualtest/configs/testsprite2_geometry/testsprite2_geometry.actions	Sun Nov 10 00:32:23 2013 -0500
    21.3 @@ -0,0 +1,3 @@
    21.4 +00:00:03 SCREENSHOT
    21.5 +00:00:06 VERIFY
    21.6 +00:00:09 QUIT
    21.7 \ No newline at end of file
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/visualtest/configs/testsprite2_geometry/testsprite2_geometry.config	Sun Nov 10 00:32:23 2013 -0500
    22.3 @@ -0,0 +1,5 @@
    22.4 +parameter-config=testsprite2_geometry.parameters
    22.5 +variator=exhaustive
    22.6 +sutapp=testsprite2
    22.7 +timeout=00:00:15
    22.8 +action-config=testsprite2_geometry.actions
    22.9 \ No newline at end of file
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/visualtest/configs/testsprite2_geometry/testsprite2_geometry.parameters	Sun Nov 10 00:32:23 2013 -0500
    23.3 @@ -0,0 +1,5 @@
    23.4 +# parameter name, type, value range, required, categories
    23.5 +--geometry, enum, [500x500 600x600], false, []
    23.6 +--logical, enum, [300x500 550x450], false, []
    23.7 +--scale, integer, [1 5], false, []
    23.8 +--iterations, integer, [1000 1000], true, []
    23.9 \ No newline at end of file
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/visualtest/configure	Sun Nov 10 00:32:23 2013 -0500
    24.3 @@ -0,0 +1,5203 @@
    24.4 +#! /bin/sh
    24.5 +# Guess values for system-dependent variables and create Makefiles.
    24.6 +# Generated by GNU Autoconf 2.69 for sdlvisualtest 0.01.
    24.7 +#
    24.8 +# Report bugs to <apoorvupreti@gmail.com>.
    24.9 +#
   24.10 +#
   24.11 +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
   24.12 +#
   24.13 +#
   24.14 +# This configure script is free software; the Free Software Foundation
   24.15 +# gives unlimited permission to copy, distribute and modify it.
   24.16 +## -------------------- ##
   24.17 +## M4sh Initialization. ##
   24.18 +## -------------------- ##
   24.19 +
   24.20 +# Be more Bourne compatible
   24.21 +DUALCASE=1; export DUALCASE # for MKS sh
   24.22 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   24.23 +  emulate sh
   24.24 +  NULLCMD=:
   24.25 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24.26 +  # is contrary to our usage.  Disable this feature.
   24.27 +  alias -g '${1+"$@"}'='"$@"'
   24.28 +  setopt NO_GLOB_SUBST
   24.29 +else
   24.30 +  case `(set -o) 2>/dev/null` in #(
   24.31 +  *posix*) :
   24.32 +    set -o posix ;; #(
   24.33 +  *) :
   24.34 +     ;;
   24.35 +esac
   24.36 +fi
   24.37 +
   24.38 +
   24.39 +as_nl='
   24.40 +'
   24.41 +export as_nl
   24.42 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
   24.43 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   24.44 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   24.45 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   24.46 +# Prefer a ksh shell builtin over an external printf program on Solaris,
   24.47 +# but without wasting forks for bash or zsh.
   24.48 +if test -z "$BASH_VERSION$ZSH_VERSION" \
   24.49 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   24.50 +  as_echo='print -r --'
   24.51 +  as_echo_n='print -rn --'
   24.52 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   24.53 +  as_echo='printf %s\n'
   24.54 +  as_echo_n='printf %s'
   24.55 +else
   24.56 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   24.57 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   24.58 +    as_echo_n='/usr/ucb/echo -n'
   24.59 +  else
   24.60 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   24.61 +    as_echo_n_body='eval
   24.62 +      arg=$1;
   24.63 +      case $arg in #(
   24.64 +      *"$as_nl"*)
   24.65 +	expr "X$arg" : "X\\(.*\\)$as_nl";
   24.66 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   24.67 +      esac;
   24.68 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   24.69 +    '
   24.70 +    export as_echo_n_body
   24.71 +    as_echo_n='sh -c $as_echo_n_body as_echo'
   24.72 +  fi
   24.73 +  export as_echo_body
   24.74 +  as_echo='sh -c $as_echo_body as_echo'
   24.75 +fi
   24.76 +
   24.77 +# The user is always right.
   24.78 +if test "${PATH_SEPARATOR+set}" != set; then
   24.79 +  PATH_SEPARATOR=:
   24.80 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24.81 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24.82 +      PATH_SEPARATOR=';'
   24.83 +  }
   24.84 +fi
   24.85 +
   24.86 +
   24.87 +# IFS
   24.88 +# We need space, tab and new line, in precisely that order.  Quoting is
   24.89 +# there to prevent editors from complaining about space-tab.
   24.90 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
   24.91 +# splitting by setting IFS to empty value.)
   24.92 +IFS=" ""	$as_nl"
   24.93 +
   24.94 +# Find who we are.  Look in the path if we contain no directory separator.
   24.95 +as_myself=
   24.96 +case $0 in #((
   24.97 +  *[\\/]* ) as_myself=$0 ;;
   24.98 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24.99 +for as_dir in $PATH
  24.100 +do
  24.101 +  IFS=$as_save_IFS
  24.102 +  test -z "$as_dir" && as_dir=.
  24.103 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  24.104 +  done
  24.105 +IFS=$as_save_IFS
  24.106 +
  24.107 +     ;;
  24.108 +esac
  24.109 +# We did not find ourselves, most probably we were run as `sh COMMAND'
  24.110 +# in which case we are not to be found in the path.
  24.111 +if test "x$as_myself" = x; then
  24.112 +  as_myself=$0
  24.113 +fi
  24.114 +if test ! -f "$as_myself"; then
  24.115 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  24.116 +  exit 1
  24.117 +fi
  24.118 +
  24.119 +# Unset variables that we do not need and which cause bugs (e.g. in
  24.120 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  24.121 +# suppresses any "Segmentation fault" message there.  '((' could
  24.122 +# trigger a bug in pdksh 5.2.14.
  24.123 +for as_var in BASH_ENV ENV MAIL MAILPATH
  24.124 +do eval test x\${$as_var+set} = xset \
  24.125 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  24.126 +done
  24.127 +PS1='$ '
  24.128 +PS2='> '
  24.129 +PS4='+ '
  24.130 +
  24.131 +# NLS nuisances.
  24.132 +LC_ALL=C
  24.133 +export LC_ALL
  24.134 +LANGUAGE=C
  24.135 +export LANGUAGE
  24.136 +
  24.137 +# CDPATH.
  24.138 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  24.139 +
  24.140 +# Use a proper internal environment variable to ensure we don't fall
  24.141 +  # into an infinite loop, continuously re-executing ourselves.
  24.142 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  24.143 +    _as_can_reexec=no; export _as_can_reexec;
  24.144 +    # We cannot yet assume a decent shell, so we have to provide a
  24.145 +# neutralization value for shells without unset; and this also
  24.146 +# works around shells that cannot unset nonexistent variables.
  24.147 +# Preserve -v and -x to the replacement shell.
  24.148 +BASH_ENV=/dev/null
  24.149 +ENV=/dev/null
  24.150 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  24.151 +case $- in # ((((
  24.152 +  *v*x* | *x*v* ) as_opts=-vx ;;
  24.153 +  *v* ) as_opts=-v ;;
  24.154 +  *x* ) as_opts=-x ;;
  24.155 +  * ) as_opts= ;;
  24.156 +esac
  24.157 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  24.158 +# Admittedly, this is quite paranoid, since all the known shells bail
  24.159 +# out after a failed `exec'.
  24.160 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  24.161 +as_fn_exit 255
  24.162 +  fi
  24.163 +  # We don't want this to propagate to other subprocesses.
  24.164 +          { _as_can_reexec=; unset _as_can_reexec;}
  24.165 +if test "x$CONFIG_SHELL" = x; then
  24.166 +  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  24.167 +  emulate sh
  24.168 +  NULLCMD=:
  24.169 +  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  24.170 +  # is contrary to our usage.  Disable this feature.
  24.171 +  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  24.172 +  setopt NO_GLOB_SUBST
  24.173 +else
  24.174 +  case \`(set -o) 2>/dev/null\` in #(
  24.175 +  *posix*) :
  24.176 +    set -o posix ;; #(
  24.177 +  *) :
  24.178 +     ;;
  24.179 +esac
  24.180 +fi
  24.181 +"
  24.182 +  as_required="as_fn_return () { (exit \$1); }
  24.183 +as_fn_success () { as_fn_return 0; }
  24.184 +as_fn_failure () { as_fn_return 1; }
  24.185 +as_fn_ret_success () { return 0; }
  24.186 +as_fn_ret_failure () { return 1; }
  24.187 +
  24.188 +exitcode=0
  24.189 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  24.190 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  24.191 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  24.192 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  24.193 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  24.194 +
  24.195 +else
  24.196 +  exitcode=1; echo positional parameters were not saved.
  24.197 +fi
  24.198 +test x\$exitcode = x0 || exit 1
  24.199 +test -x / || exit 1"
  24.200 +  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  24.201 +  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  24.202 +  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  24.203 +  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
  24.204 +  if (eval "$as_required") 2>/dev/null; then :
  24.205 +  as_have_required=yes
  24.206 +else
  24.207 +  as_have_required=no
  24.208 +fi
  24.209 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  24.210 +
  24.211 +else
  24.212 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24.213 +as_found=false
  24.214 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  24.215 +do
  24.216 +  IFS=$as_save_IFS
  24.217 +  test -z "$as_dir" && as_dir=.
  24.218 +  as_found=:
  24.219 +  case $as_dir in #(
  24.220 +	 /*)
  24.221 +	   for as_base in sh bash ksh sh5; do
  24.222 +	     # Try only shells that exist, to save several forks.
  24.223 +	     as_shell=$as_dir/$as_base
  24.224 +	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  24.225 +		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  24.226 +  CONFIG_SHELL=$as_shell as_have_required=yes
  24.227 +		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  24.228 +  break 2
  24.229 +fi
  24.230 +fi
  24.231 +	   done;;
  24.232 +       esac
  24.233 +  as_found=false
  24.234 +done
  24.235 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  24.236 +	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  24.237 +  CONFIG_SHELL=$SHELL as_have_required=yes
  24.238 +fi; }
  24.239 +IFS=$as_save_IFS
  24.240 +
  24.241 +
  24.242 +      if test "x$CONFIG_SHELL" != x; then :
  24.243 +  export CONFIG_SHELL
  24.244 +             # We cannot yet assume a decent shell, so we have to provide a
  24.245 +# neutralization value for shells without unset; and this also
  24.246 +# works around shells that cannot unset nonexistent variables.
  24.247 +# Preserve -v and -x to the replacement shell.
  24.248 +BASH_ENV=/dev/null
  24.249 +ENV=/dev/null
  24.250 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  24.251 +case $- in # ((((
  24.252 +  *v*x* | *x*v* ) as_opts=-vx ;;
  24.253 +  *v* ) as_opts=-v ;;
  24.254 +  *x* ) as_opts=-x ;;
  24.255 +  * ) as_opts= ;;
  24.256 +esac
  24.257 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  24.258 +# Admittedly, this is quite paranoid, since all the known shells bail
  24.259 +# out after a failed `exec'.
  24.260 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  24.261 +exit 255
  24.262 +fi
  24.263 +
  24.264 +    if test x$as_have_required = xno; then :
  24.265 +  $as_echo "$0: This script requires a shell more modern than all"
  24.266 +  $as_echo "$0: the shells that I found on your system."
  24.267 +  if test x${ZSH_VERSION+set} = xset ; then
  24.268 +    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  24.269 +    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  24.270 +  else
  24.271 +    $as_echo "$0: Please tell bug-autoconf@gnu.org and
  24.272 +$0: apoorvupreti@gmail.com about your system, including any
  24.273 +$0: error possibly output before this message. Then install
  24.274 +$0: a modern shell, or manually run the script under such a
  24.275 +$0: shell if you do have one."
  24.276 +  fi
  24.277 +  exit 1
  24.278 +fi
  24.279 +fi
  24.280 +fi
  24.281 +SHELL=${CONFIG_SHELL-/bin/sh}
  24.282 +export SHELL
  24.283 +# Unset more variables known to interfere with behavior of common tools.
  24.284 +CLICOLOR_FORCE= GREP_OPTIONS=
  24.285 +unset CLICOLOR_FORCE GREP_OPTIONS
  24.286 +
  24.287 +## --------------------- ##
  24.288 +## M4sh Shell Functions. ##
  24.289 +## --------------------- ##
  24.290 +# as_fn_unset VAR
  24.291 +# ---------------
  24.292 +# Portably unset VAR.
  24.293 +as_fn_unset ()
  24.294 +{
  24.295 +  { eval $1=; unset $1;}
  24.296 +}
  24.297 +as_unset=as_fn_unset
  24.298 +
  24.299 +# as_fn_set_status STATUS
  24.300 +# -----------------------
  24.301 +# Set $? to STATUS, without forking.
  24.302 +as_fn_set_status ()
  24.303 +{
  24.304 +  return $1
  24.305 +} # as_fn_set_status
  24.306 +
  24.307 +# as_fn_exit STATUS
  24.308 +# -----------------
  24.309 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  24.310 +as_fn_exit ()
  24.311 +{
  24.312 +  set +e
  24.313 +  as_fn_set_status $1
  24.314 +  exit $1
  24.315 +} # as_fn_exit
  24.316 +
  24.317 +# as_fn_mkdir_p
  24.318 +# -------------
  24.319 +# Create "$as_dir" as a directory, including parents if necessary.
  24.320 +as_fn_mkdir_p ()
  24.321 +{
  24.322 +
  24.323 +  case $as_dir in #(
  24.324 +  -*) as_dir=./$as_dir;;
  24.325 +  esac
  24.326 +  test -d "$as_dir" || eval $as_mkdir_p || {
  24.327 +    as_dirs=
  24.328 +    while :; do
  24.329 +      case $as_dir in #(
  24.330 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  24.331 +      *) as_qdir=$as_dir;;
  24.332 +      esac
  24.333 +      as_dirs="'$as_qdir' $as_dirs"
  24.334 +      as_dir=`$as_dirname -- "$as_dir" ||
  24.335 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24.336 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
  24.337 +	 X"$as_dir" : 'X\(//\)$' \| \
  24.338 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  24.339 +$as_echo X"$as_dir" |
  24.340 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24.341 +	    s//\1/
  24.342 +	    q
  24.343 +	  }
  24.344 +	  /^X\(\/\/\)[^/].*/{
  24.345 +	    s//\1/
  24.346 +	    q
  24.347 +	  }
  24.348 +	  /^X\(\/\/\)$/{
  24.349 +	    s//\1/
  24.350 +	    q
  24.351 +	  }
  24.352 +	  /^X\(\/\).*/{
  24.353 +	    s//\1/
  24.354 +	    q
  24.355 +	  }
  24.356 +	  s/.*/./; q'`
  24.357 +      test -d "$as_dir" && break
  24.358 +    done
  24.359 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
  24.360 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  24.361 +
  24.362 +
  24.363 +} # as_fn_mkdir_p
  24.364 +
  24.365 +# as_fn_executable_p FILE
  24.366 +# -----------------------
  24.367 +# Test if FILE is an executable regular file.
  24.368 +as_fn_executable_p ()
  24.369 +{
  24.370 +  test -f "$1" && test -x "$1"
  24.371 +} # as_fn_executable_p
  24.372 +# as_fn_append VAR VALUE
  24.373 +# ----------------------
  24.374 +# Append the text in VALUE to the end of the definition contained in VAR. Take
  24.375 +# advantage of any shell optimizations that allow amortized linear growth over
  24.376 +# repeated appends, instead of the typical quadratic growth present in naive
  24.377 +# implementations.
  24.378 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  24.379 +  eval 'as_fn_append ()
  24.380 +  {
  24.381 +    eval $1+=\$2
  24.382 +  }'
  24.383 +else
  24.384 +  as_fn_append ()
  24.385 +  {
  24.386 +    eval $1=\$$1\$2
  24.387 +  }
  24.388 +fi # as_fn_append
  24.389 +
  24.390 +# as_fn_arith ARG...
  24.391 +# ------------------
  24.392 +# Perform arithmetic evaluation on the ARGs, and store the result in the
  24.393 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  24.394 +# must be portable across $(()) and expr.
  24.395 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  24.396 +  eval 'as_fn_arith ()
  24.397 +  {
  24.398 +    as_val=$(( $* ))
  24.399 +  }'
  24.400 +else
  24.401 +  as_fn_arith ()
  24.402 +  {
  24.403 +    as_val=`expr "$@" || test $? -eq 1`
  24.404 +  }
  24.405 +fi # as_fn_arith
  24.406 +
  24.407 +
  24.408 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
  24.409 +# ----------------------------------------
  24.410 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  24.411 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  24.412 +# script with STATUS, using 1 if that was 0.
  24.413 +as_fn_error ()
  24.414 +{
  24.415 +  as_status=$1; test $as_status -eq 0 && as_status=1
  24.416 +  if test "$4"; then
  24.417 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  24.418 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  24.419 +  fi
  24.420 +  $as_echo "$as_me: error: $2" >&2
  24.421 +  as_fn_exit $as_status
  24.422 +} # as_fn_error
  24.423 +
  24.424 +if expr a : '\(a\)' >/dev/null 2>&1 &&
  24.425 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  24.426 +  as_expr=expr
  24.427 +else
  24.428 +  as_expr=false
  24.429 +fi
  24.430 +
  24.431 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  24.432 +  as_basename=basename
  24.433 +else
  24.434 +  as_basename=false
  24.435 +fi
  24.436 +
  24.437 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  24.438 +  as_dirname=dirname
  24.439 +else
  24.440 +  as_dirname=false
  24.441 +fi
  24.442 +
  24.443 +as_me=`$as_basename -- "$0" ||
  24.444 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  24.445 +	 X"$0" : 'X\(//\)$' \| \
  24.446 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  24.447 +$as_echo X/"$0" |
  24.448 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
  24.449 +	    s//\1/
  24.450 +	    q
  24.451 +	  }
  24.452 +	  /^X\/\(\/\/\)$/{
  24.453 +	    s//\1/
  24.454 +	    q
  24.455 +	  }
  24.456 +	  /^X\/\(\/\).*/{
  24.457 +	    s//\1/
  24.458 +	    q
  24.459 +	  }
  24.460 +	  s/.*/./; q'`
  24.461 +
  24.462 +# Avoid depending upon Character Ranges.
  24.463 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  24.464 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  24.465 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  24.466 +as_cr_digits='0123456789'
  24.467 +as_cr_alnum=$as_cr_Letters$as_cr_digits
  24.468 +
  24.469 +
  24.470 +  as_lineno_1=$LINENO as_lineno_1a=$LINENO
  24.471 +  as_lineno_2=$LINENO as_lineno_2a=$LINENO
  24.472 +  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  24.473 +  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  24.474 +  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  24.475 +  sed -n '
  24.476 +    p
  24.477 +    /[$]LINENO/=
  24.478 +  ' <$as_myself |
  24.479 +    sed '
  24.480 +      s/[$]LINENO.*/&-/
  24.481 +      t lineno
  24.482 +      b
  24.483 +      :lineno
  24.484 +      N
  24.485 +      :loop
  24.486 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  24.487 +      t loop
  24.488 +      s/-\n.*//
  24.489 +    ' >$as_me.lineno &&
  24.490 +  chmod +x "$as_me.lineno" ||
  24.491 +    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  24.492 +
  24.493 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  24.494 +  # already done that, so ensure we don't try to do so again and fall
  24.495 +  # in an infinite loop.  This has already happened in practice.
  24.496 +  _as_can_reexec=no; export _as_can_reexec
  24.497 +  # Don't try to exec as it changes $[0], causing all sort of problems
  24.498 +  # (the dirname of $[0] is not the place where we might find the
  24.499 +  # original and so on.  Autoconf is especially sensitive to this).
  24.500 +  . "./$as_me.lineno"
  24.501 +  # Exit status is that of the last command.
  24.502 +  exit
  24.503 +}
  24.504 +
  24.505 +ECHO_C= ECHO_N= ECHO_T=
  24.506 +case `echo -n x` in #(((((
  24.507 +-n*)
  24.508 +  case `echo 'xy\c'` in
  24.509 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  24.510 +  xy)  ECHO_C='\c';;
  24.511 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  24.512 +       ECHO_T='	';;
  24.513 +  esac;;
  24.514 +*)
  24.515 +  ECHO_N='-n';;
  24.516 +esac
  24.517 +
  24.518 +rm -f conf$$ conf$$.exe conf$$.file
  24.519 +if test -d conf$$.dir; then
  24.520 +  rm -f conf$$.dir/conf$$.file
  24.521 +else
  24.522 +  rm -f conf$$.dir
  24.523 +  mkdir conf$$.dir 2>/dev/null
  24.524 +fi
  24.525 +if (echo >conf$$.file) 2>/dev/null; then
  24.526 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
  24.527 +    as_ln_s='ln -s'
  24.528 +    # ... but there are two gotchas:
  24.529 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  24.530 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  24.531 +    # In both cases, we have to default to `cp -pR'.
  24.532 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  24.533 +      as_ln_s='cp -pR'
  24.534 +  elif ln conf$$.file conf$$ 2>/dev/null; then
  24.535 +    as_ln_s=ln
  24.536 +  else
  24.537 +    as_ln_s='cp -pR'
  24.538 +  fi
  24.539 +else
  24.540 +  as_ln_s='cp -pR'
  24.541 +fi
  24.542 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  24.543 +rmdir conf$$.dir 2>/dev/null
  24.544 +
  24.545 +if mkdir -p . 2>/dev/null; then
  24.546 +  as_mkdir_p='mkdir -p "$as_dir"'
  24.547 +else
  24.548 +  test -d ./-p && rmdir ./-p
  24.549 +  as_mkdir_p=false
  24.550 +fi
  24.551 +
  24.552 +as_test_x='test -x'
  24.553 +as_executable_p=as_fn_executable_p
  24.554 +
  24.555 +# Sed expression to map a string onto a valid CPP name.
  24.556 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  24.557 +
  24.558 +# Sed expression to map a string onto a valid variable name.
  24.559 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  24.560 +
  24.561 +
  24.562 +test -n "$DJDIR" || exec 7<&0 </dev/null
  24.563 +exec 6>&1
  24.564 +
  24.565 +# Name of the host.
  24.566 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  24.567 +# so uname gets run too.
  24.568 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  24.569 +
  24.570 +#
  24.571 +# Initializations.
  24.572 +#
  24.573 +ac_default_prefix=/usr/local
  24.574 +ac_clean_files=
  24.575 +ac_config_libobj_dir=.
  24.576 +LIBOBJS=
  24.577 +cross_compiling=no
  24.578 +subdirs=
  24.579 +MFLAGS=
  24.580 +MAKEFLAGS=
  24.581 +
  24.582 +# Identity of this package.
  24.583 +PACKAGE_NAME='sdlvisualtest'
  24.584 +PACKAGE_TARNAME='sdlvisualtest'
  24.585 +PACKAGE_VERSION='0.01'
  24.586 +PACKAGE_STRING='sdlvisualtest 0.01'
  24.587 +PACKAGE_BUGREPORT='apoorvupreti@gmail.com'
  24.588 +PACKAGE_URL=''
  24.589 +
  24.590 +ac_subst_vars='LTLIBOBJS
  24.591 +LIBOBJS
  24.592 +SDL_TTF_LIB
  24.593 +GLLIB
  24.594 +CPP
  24.595 +XMKMF
  24.596 +SDL_CONFIG
  24.597 +SDL_LIBS
  24.598 +SDL_CFLAGS
  24.599 +PKG_CONFIG_LIBDIR
  24.600 +PKG_CONFIG_PATH
  24.601 +PKG_CONFIG
  24.602 +ISUNIX
  24.603 +ISWINDOWS
  24.604 +ISMACOSX
  24.605 +EXTRALIB
  24.606 +MATHLIB
  24.607 +EXE
  24.608 +OSMESA_CONFIG
  24.609 +OBJEXT
  24.610 +EXEEXT
  24.611 +ac_ct_CC
  24.612 +CPPFLAGS
  24.613 +LDFLAGS
  24.614 +CFLAGS
  24.615 +CC
  24.616 +host_os
  24.617 +host_vendor
  24.618 +host_cpu
  24.619 +host
  24.620 +build_os
  24.621 +build_vendor
  24.622 +build_cpu
  24.623 +build
  24.624 +target_alias
  24.625 +host_alias
  24.626 +build_alias
  24.627 +LIBS
  24.628 +ECHO_T
  24.629 +ECHO_N
  24.630 +ECHO_C
  24.631 +DEFS
  24.632 +mandir
  24.633 +localedir
  24.634 +libdir
  24.635 +psdir
  24.636 +pdfdir
  24.637 +dvidir
  24.638 +htmldir
  24.639 +infodir
  24.640 +docdir
  24.641 +oldincludedir
  24.642 +includedir
  24.643 +localstatedir
  24.644 +sharedstatedir
  24.645 +sysconfdir
  24.646 +datadir
  24.647 +datarootdir
  24.648 +libexecdir
  24.649 +sbindir
  24.650 +bindir
  24.651 +program_transform_name
  24.652 +prefix
  24.653 +exec_prefix
  24.654 +PACKAGE_URL
  24.655 +PACKAGE_BUGREPORT
  24.656 +PACKAGE_STRING
  24.657 +PACKAGE_VERSION
  24.658 +PACKAGE_TARNAME
  24.659 +PACKAGE_NAME
  24.660 +PATH_SEPARATOR
  24.661 +SHELL'
  24.662 +ac_subst_files=''
  24.663 +ac_user_opts='
  24.664 +enable_option_checking
  24.665 +with_sdl_prefix
  24.666 +with_sdl_exec_prefix
  24.667 +enable_sdltest
  24.668 +with_x
  24.669 +'
  24.670 +      ac_precious_vars='build_alias
  24.671 +host_alias
  24.672 +target_alias
  24.673 +CC
  24.674 +CFLAGS
  24.675 +LDFLAGS
  24.676 +LIBS
  24.677 +CPPFLAGS
  24.678 +PKG_CONFIG
  24.679 +PKG_CONFIG_PATH
  24.680 +PKG_CONFIG_LIBDIR
  24.681 +SDL_CFLAGS
  24.682 +SDL_LIBS
  24.683 +XMKMF
  24.684 +CPP'
  24.685 +
  24.686 +
  24.687 +# Initialize some variables set by options.
  24.688 +ac_init_help=
  24.689 +ac_init_version=false
  24.690 +ac_unrecognized_opts=
  24.691 +ac_unrecognized_sep=
  24.692 +# The variables have the same names as the options, with
  24.693 +# dashes changed to underlines.
  24.694 +cache_file=/dev/null
  24.695 +exec_prefix=NONE
  24.696 +no_create=
  24.697 +no_recursion=
  24.698 +prefix=NONE
  24.699 +program_prefix=NONE
  24.700 +program_suffix=NONE
  24.701 +program_transform_name=s,x,x,
  24.702 +silent=
  24.703 +site=
  24.704 +srcdir=
  24.705 +verbose=
  24.706 +x_includes=NONE
  24.707 +x_libraries=NONE
  24.708 +
  24.709 +# Installation directory options.
  24.710 +# These are left unexpanded so users can "make install exec_prefix=/foo"
  24.711 +# and all the variables that are supposed to be based on exec_prefix
  24.712 +# by default will actually change.
  24.713 +# Use braces instead of parens because sh, perl, etc. also accept them.
  24.714 +# (The list follows the same order as the GNU Coding Standards.)
  24.715 +bindir='${exec_prefix}/bin'
  24.716 +sbindir='${exec_prefix}/sbin'
  24.717 +libexecdir='${exec_prefix}/libexec'
  24.718 +datarootdir='${prefix}/share'
  24.719 +datadir='${datarootdir}'
  24.720 +sysconfdir='${prefix}/etc'
  24.721 +sharedstatedir='${prefix}/com'
  24.722 +localstatedir='${prefix}/var'
  24.723 +includedir='${prefix}/include'
  24.724 +oldincludedir='/usr/include'
  24.725 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  24.726 +infodir='${datarootdir}/info'
  24.727 +htmldir='${docdir}'
  24.728 +dvidir='${docdir}'
  24.729 +pdfdir='${docdir}'
  24.730 +psdir='${docdir}'
  24.731 +libdir='${exec_prefix}/lib'
  24.732 +localedir='${datarootdir}/locale'
  24.733 +mandir='${datarootdir}/man'
  24.734 +
  24.735 +ac_prev=
  24.736 +ac_dashdash=
  24.737 +for ac_option
  24.738 +do
  24.739 +  # If the previous option needs an argument, assign it.
  24.740 +  if test -n "$ac_prev"; then
  24.741 +    eval $ac_prev=\$ac_option
  24.742 +    ac_prev=
  24.743 +    continue
  24.744 +  fi
  24.745 +
  24.746 +  case $ac_option in
  24.747 +  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  24.748 +  *=)   ac_optarg= ;;
  24.749 +  *)    ac_optarg=yes ;;
  24.750 +  esac
  24.751 +
  24.752 +  # Accept the important Cygnus configure options, so we can diagnose typos.
  24.753 +
  24.754 +  case $ac_dashdash$ac_option in
  24.755 +  --)
  24.756 +    ac_dashdash=yes ;;
  24.757 +
  24.758 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  24.759 +    ac_prev=bindir ;;
  24.760 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  24.761 +    bindir=$ac_optarg ;;
  24.762 +
  24.763 +  -build | --build | --buil | --bui | --bu)
  24.764 +    ac_prev=build_alias ;;
  24.765 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  24.766 +    build_alias=$ac_optarg ;;
  24.767 +
  24.768 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  24.769 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  24.770 +    ac_prev=cache_file ;;
  24.771 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  24.772 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  24.773 +    cache_file=$ac_optarg ;;
  24.774 +
  24.775 +  --config-cache | -C)
  24.776 +    cache_file=config.cache ;;
  24.777 +
  24.778 +  -datadir | --datadir | --datadi | --datad)
  24.779 +    ac_prev=datadir ;;
  24.780 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
  24.781 +    datadir=$ac_optarg ;;
  24.782 +
  24.783 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  24.784 +  | --dataroo | --dataro | --datar)
  24.785 +    ac_prev=datarootdir ;;
  24.786 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  24.787 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  24.788 +    datarootdir=$ac_optarg ;;
  24.789 +
  24.790 +  -disable-* | --disable-*)
  24.791 +    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  24.792 +    # Reject names that are not valid shell variable names.
  24.793 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  24.794 +      as_fn_error $? "invalid feature name: $ac_useropt"
  24.795 +    ac_useropt_orig=$ac_useropt
  24.796 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  24.797 +    case $ac_user_opts in
  24.798 +      *"
  24.799 +"enable_$ac_useropt"
  24.800 +"*) ;;
  24.801 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  24.802 +	 ac_unrecognized_sep=', ';;
  24.803 +    esac
  24.804 +    eval enable_$ac_useropt=no ;;
  24.805 +
  24.806 +  -docdir | --docdir | --docdi | --doc | --do)
  24.807 +    ac_prev=docdir ;;
  24.808 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  24.809 +    docdir=$ac_optarg ;;
  24.810 +
  24.811 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  24.812 +    ac_prev=dvidir ;;
  24.813 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  24.814 +    dvidir=$ac_optarg ;;
  24.815 +
  24.816 +  -enable-* | --enable-*)
  24.817 +    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  24.818 +    # Reject names that are not valid shell variable names.
  24.819 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  24.820 +      as_fn_error $? "invalid feature name: $ac_useropt"
  24.821 +    ac_useropt_orig=$ac_useropt
  24.822 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  24.823 +    case $ac_user_opts in
  24.824 +      *"
  24.825 +"enable_$ac_useropt"
  24.826 +"*) ;;
  24.827 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  24.828 +	 ac_unrecognized_sep=', ';;
  24.829 +    esac
  24.830 +    eval enable_$ac_useropt=\$ac_optarg ;;
  24.831 +
  24.832 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  24.833 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  24.834 +  | --exec | --exe | --ex)
  24.835 +    ac_prev=exec_prefix ;;
  24.836 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  24.837 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  24.838 +  | --exec=* | --exe=* | --ex=*)
  24.839 +    exec_prefix=$ac_optarg ;;
  24.840 +
  24.841 +  -gas | --gas | --ga | --g)
  24.842 +    # Obsolete; use --with-gas.
  24.843 +    with_gas=yes ;;
  24.844 +
  24.845 +  -help | --help | --hel | --he | -h)
  24.846 +    ac_init_help=long ;;
  24.847 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  24.848 +    ac_init_help=recursive ;;
  24.849 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  24.850 +    ac_init_help=short ;;
  24.851 +
  24.852 +  -host | --host | --hos | --ho)
  24.853 +    ac_prev=host_alias ;;
  24.854 +  -host=* | --host=* | --hos=* | --ho=*)
  24.855 +    host_alias=$ac_optarg ;;
  24.856 +
  24.857 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  24.858 +    ac_prev=htmldir ;;
  24.859 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  24.860 +  | --ht=*)
  24.861 +    htmldir=$ac_optarg ;;
  24.862 +
  24.863 +  -includedir | --includedir | --includedi | --included | --include \
  24.864 +  | --includ | --inclu | --incl | --inc)
  24.865 +    ac_prev=includedir ;;
  24.866 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  24.867 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  24.868 +    includedir=$ac_optarg ;;
  24.869 +
  24.870 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  24.871 +    ac_prev=infodir ;;
  24.872 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  24.873 +    infodir=$ac_optarg ;;
  24.874 +
  24.875 +  -libdir | --libdir | --libdi | --libd)
  24.876 +    ac_prev=libdir ;;
  24.877 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  24.878 +    libdir=$ac_optarg ;;
  24.879 +
  24.880 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  24.881 +  | --libexe | --libex | --libe)
  24.882 +    ac_prev=libexecdir ;;
  24.883 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  24.884 +  | --libexe=* | --libex=* | --libe=*)
  24.885 +    libexecdir=$ac_optarg ;;
  24.886 +
  24.887 +  -localedir | --localedir | --localedi | --localed | --locale)
  24.888 +    ac_prev=localedir ;;
  24.889 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  24.890 +    localedir=$ac_optarg ;;
  24.891 +
  24.892 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  24.893 +  | --localstate | --localstat | --localsta | --localst | --locals)
  24.894 +    ac_prev=localstatedir ;;
  24.895 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  24.896 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  24.897 +    localstatedir=$ac_optarg ;;
  24.898 +
  24.899 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  24.900 +    ac_prev=mandir ;;
  24.901 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  24.902 +    mandir=$ac_optarg ;;
  24.903 +
  24.904 +  -nfp | --nfp | --nf)
  24.905 +    # Obsolete; use --without-fp.
  24.906 +    with_fp=no ;;
  24.907 +
  24.908 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  24.909 +  | --no-cr | --no-c | -n)
  24.910 +    no_create=yes ;;
  24.911 +
  24.912 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  24.913 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  24.914 +    no_recursion=yes ;;
  24.915 +
  24.916 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  24.917 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  24.918 +  | --oldin | --oldi | --old | --ol | --o)
  24.919 +    ac_prev=oldincludedir ;;
  24.920 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  24.921 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  24.922 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  24.923 +    oldincludedir=$ac_optarg ;;
  24.924 +
  24.925 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  24.926 +    ac_prev=prefix ;;
  24.927 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  24.928 +    prefix=$ac_optarg ;;
  24.929 +
  24.930 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  24.931 +  | --program-pre | --program-pr | --program-p)
  24.932 +    ac_prev=program_prefix ;;
  24.933 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  24.934 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  24.935 +    program_prefix=$ac_optarg ;;
  24.936 +
  24.937 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  24.938 +  | --program-suf | --program-su | --program-s)
  24.939 +    ac_prev=program_suffix ;;
  24.940 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  24.941 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  24.942 +    program_suffix=$ac_optarg ;;
  24.943 +
  24.944 +  -program-transform-name | --program-transform-name \
  24.945 +  | --program-transform-nam | --program-transform-na \
  24.946 +  | --program-transform-n | --program-transform- \
  24.947 +  | --program-transform | --program-transfor \
  24.948 +  | --program-transfo | --program-transf \
  24.949 +  | --program-trans | --program-tran \
  24.950 +  | --progr-tra | --program-tr | --program-t)
  24.951 +    ac_prev=program_transform_name ;;
  24.952 +  -program-transform-name=* | --program-transform-name=* \
  24.953 +  | --program-transform-nam=* | --program-transform-na=* \
  24.954 +  | --program-transform-n=* | --program-transform-=* \
  24.955 +  | --program-transform=* | --program-transfor=* \
  24.956 +  | --program-transfo=* | --program-transf=* \
  24.957 +  | --program-trans=* | --program-tran=* \
  24.958 +  | --progr-tra=* | --program-tr=* | --program-t=*)
  24.959 +    program_transform_name=$ac_optarg ;;
  24.960 +
  24.961 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  24.962 +    ac_prev=pdfdir ;;
  24.963 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  24.964 +    pdfdir=$ac_optarg ;;
  24.965 +
  24.966 +  -psdir | --psdir | --psdi | --psd | --ps)
  24.967 +    ac_prev=psdir ;;
  24.968 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  24.969 +    psdir=$ac_optarg ;;
  24.970 +
  24.971 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  24.972 +  | -silent | --silent | --silen | --sile | --sil)
  24.973 +    silent=yes ;;
  24.974 +
  24.975 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  24.976 +    ac_prev=sbindir ;;
  24.977 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  24.978 +  | --sbi=* | --sb=*)
  24.979 +    sbindir=$ac_optarg ;;
  24.980 +
  24.981 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  24.982 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  24.983 +  | --sharedst | --shareds | --shared | --share | --shar \
  24.984 +  | --sha | --sh)
  24.985 +    ac_prev=sharedstatedir ;;
  24.986 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  24.987 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  24.988 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  24.989 +  | --sha=* | --sh=*)
  24.990 +    sharedstatedir=$ac_optarg ;;
  24.991 +
  24.992 +  -site | --site | --sit)
  24.993 +    ac_prev=site ;;
  24.994 +  -site=* | --site=* | --sit=*)
  24.995 +    site=$ac_optarg ;;
  24.996 +
  24.997 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  24.998 +    ac_prev=srcdir ;;
  24.999 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 24.1000 +    srcdir=$ac_optarg ;;
 24.1001 +
 24.1002 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 24.1003 +  | --syscon | --sysco | --sysc | --sys | --sy)
 24.1004 +    ac_prev=sysconfdir ;;
 24.1005 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 24.1006 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 24.1007 +    sysconfdir=$ac_optarg ;;
 24.1008 +
 24.1009 +  -target | --target | --targe | --targ | --tar | --ta | --t)
 24.1010 +    ac_prev=target_alias ;;
 24.1011 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 24.1012 +    target_alias=$ac_optarg ;;
 24.1013 +
 24.1014 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 24.1015 +    verbose=yes ;;
 24.1016 +
 24.1017 +  -version | --version | --versio | --versi | --vers | -V)
 24.1018 +    ac_init_version=: ;;
 24.1019 +
 24.1020 +  -with-* | --with-*)
 24.1021 +    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 24.1022 +    # Reject names that are not valid shell variable names.
 24.1023 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 24.1024 +      as_fn_error $? "invalid package name: $ac_useropt"
 24.1025 +    ac_useropt_orig=$ac_useropt
 24.1026 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 24.1027 +    case $ac_user_opts in
 24.1028 +      *"
 24.1029 +"with_$ac_useropt"
 24.1030 +"*) ;;
 24.1031 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 24.1032 +	 ac_unrecognized_sep=', ';;
 24.1033 +    esac
 24.1034 +    eval with_$ac_useropt=\$ac_optarg ;;
 24.1035 +
 24.1036 +  -without-* | --without-*)
 24.1037 +    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 24.1038 +    # Reject names that are not valid shell variable names.
 24.1039 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 24.1040 +      as_fn_error $? "invalid package name: $ac_useropt"
 24.1041 +    ac_useropt_orig=$ac_useropt
 24.1042 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 24.1043 +    case $ac_user_opts in
 24.1044 +      *"
 24.1045 +"with_$ac_useropt"
 24.1046 +"*) ;;
 24.1047 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 24.1048 +	 ac_unrecognized_sep=', ';;
 24.1049 +    esac
 24.1050 +    eval with_$ac_useropt=no ;;
 24.1051 +
 24.1052 +  --x)
 24.1053 +    # Obsolete; use --with-x.
 24.1054 +    with_x=yes ;;
 24.1055 +
 24.1056 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 24.1057 +  | --x-incl | --x-inc | --x-in | --x-i)
 24.1058 +    ac_prev=x_includes ;;
 24.1059 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 24.1060 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 24.1061 +    x_includes=$ac_optarg ;;
 24.1062 +
 24.1063 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 24.1064 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 24.1065 +    ac_prev=x_libraries ;;
 24.1066 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 24.1067 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 24.1068 +    x_libraries=$ac_optarg ;;
 24.1069 +
 24.1070 +  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 24.1071 +Try \`$0 --help' for more information"
 24.1072 +    ;;
 24.1073 +
 24.1074 +  *=*)
 24.1075 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 24.1076 +    # Reject names that are not valid shell variable names.
 24.1077 +    case $ac_envvar in #(
 24.1078 +      '' | [0-9]* | *[!_$as_cr_alnum]* )
 24.1079 +      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 24.1080 +    esac
 24.1081 +    eval $ac_envvar=\$ac_optarg
 24.1082 +    export $ac_envvar ;;
 24.1083 +
 24.1084 +  *)
 24.1085 +    # FIXME: should be removed in autoconf 3.0.
 24.1086 +    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 24.1087 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 24.1088 +      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 24.1089 +    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 24.1090 +    ;;
 24.1091 +
 24.1092 +  esac
 24.1093 +done
 24.1094 +
 24.1095 +if test -n "$ac_prev"; then
 24.1096 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 24.1097 +  as_fn_error $? "missing argument to $ac_option"
 24.1098 +fi
 24.1099 +
 24.1100 +if test -n "$ac_unrecognized_opts"; then
 24.1101 +  case $enable_option_checking in
 24.1102 +    no) ;;
 24.1103 +    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 24.1104 +    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 24.1105 +  esac
 24.1106 +fi
 24.1107 +
 24.1108 +# Check all directory arguments for consistency.
 24.1109 +for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 24.1110 +		datadir sysconfdir sharedstatedir localstatedir includedir \
 24.1111 +		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 24.1112 +		libdir localedir mandir
 24.1113 +do
 24.1114 +  eval ac_val=\$$ac_var
 24.1115 +  # Remove trailing slashes.
 24.1116 +  case $ac_val in
 24.1117 +    */ )
 24.1118 +      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 24.1119 +      eval $ac_var=\$ac_val;;
 24.1120 +  esac
 24.1121 +  # Be sure to have absolute directory names.
 24.1122 +  case $ac_val in
 24.1123 +    [\\/$]* | ?:[\\/]* )  continue;;
 24.1124 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 24.1125 +  esac
 24.1126 +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 24.1127 +done
 24.1128 +
 24.1129 +# There might be people who depend on the old broken behavior: `$host'
 24.1130 +# used to hold the argument of --host etc.
 24.1131 +# FIXME: To remove some day.
 24.1132 +build=$build_alias
 24.1133 +host=$host_alias
 24.1134 +target=$target_alias
 24.1135 +
 24.1136 +# FIXME: To remove some day.
 24.1137 +if test "x$host_alias" != x; then
 24.1138 +  if test "x$build_alias" = x; then
 24.1139 +    cross_compiling=maybe
 24.1140 +  elif test "x$build_alias" != "x$host_alias"; then
 24.1141 +    cross_compiling=yes
 24.1142 +  fi
 24.1143 +fi
 24.1144 +
 24.1145 +ac_tool_prefix=
 24.1146 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
 24.1147 +
 24.1148 +test "$silent" = yes && exec 6>/dev/null
 24.1149 +
 24.1150 +
 24.1151 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
 24.1152 +ac_ls_di=`ls -di .` &&
 24.1153 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 24.1154 +  as_fn_error $? "working directory cannot be determined"
 24.1155 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 24.1156 +  as_fn_error $? "pwd does not report name of working directory"
 24.1157 +
 24.1158 +
 24.1159 +# Find the source files, if location was not specified.
 24.1160 +if test -z "$srcdir"; then
 24.1161 +  ac_srcdir_defaulted=yes
 24.1162 +  # Try the directory containing this script, then the parent directory.
 24.1163 +  ac_confdir=`$as_dirname -- "$as_myself" ||
 24.1164 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 24.1165 +	 X"$as_myself" : 'X\(//\)[^/]' \| \
 24.1166 +	 X"$as_myself" : 'X\(//\)$' \| \
 24.1167 +	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 24.1168 +$as_echo X"$as_myself" |
 24.1169 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 24.1170 +	    s//\1/
 24.1171 +	    q
 24.1172 +	  }
 24.1173 +	  /^X\(\/\/\)[^/].*/{
 24.1174 +	    s//\1/
 24.1175 +	    q
 24.1176 +	  }
 24.1177 +	  /^X\(\/\/\)$/{
 24.1178 +	    s//\1/
 24.1179 +	    q
 24.1180 +	  }
 24.1181 +	  /^X\(\/\).*/{
 24.1182 +	    s//\1/
 24.1183 +	    q
 24.1184 +	  }
 24.1185 +	  s/.*/./; q'`
 24.1186 +  srcdir=$ac_confdir
 24.1187 +  if test ! -r "$srcdir/$ac_unique_file"; then
 24.1188 +    srcdir=..
 24.1189 +  fi
 24.1190 +else
 24.1191 +  ac_srcdir_defaulted=no
 24.1192 +fi
 24.1193 +if test ! -r "$srcdir/$ac_unique_file"; then
 24.1194 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 24.1195 +  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 24.1196 +fi
 24.1197 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 24.1198 +ac_abs_confdir=`(
 24.1199 +	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 24.1200 +	pwd)`
 24.1201 +# When building in place, set srcdir=.
 24.1202 +if test "$ac_abs_confdir" = "$ac_pwd"; then
 24.1203 +  srcdir=.
 24.1204 +fi
 24.1205 +# Remove unnecessary trailing slashes from srcdir.
 24.1206 +# Double slashes in file names in object file debugging info
 24.1207 +# mess up M-x gdb in Emacs.
 24.1208 +case $srcdir in
 24.1209 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 24.1210 +esac
 24.1211 +for ac_var in $ac_precious_vars; do
 24.1212 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 24.1213 +  eval ac_env_${ac_var}_value=\$${ac_var}
 24.1214 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 24.1215 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 24.1216 +done
 24.1217 +
 24.1218 +#
 24.1219 +# Report the --help message.
 24.1220 +#
 24.1221 +if test "$ac_init_help" = "long"; then
 24.1222 +  # Omit some internal or obsolete options to make the list less imposing.
 24.1223 +  # This message is too long to be a string in the A/UX 3.1 sh.
 24.1224 +  cat <<_ACEOF
 24.1225 +\`configure' configures sdlvisualtest 0.01 to adapt to many kinds of systems.
 24.1226 +
 24.1227 +Usage: $0 [OPTION]... [VAR=VALUE]...
 24.1228 +
 24.1229 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
 24.1230 +VAR=VALUE.  See below for descriptions of some of the useful variables.
 24.1231 +
 24.1232 +Defaults for the options are specified in brackets.
 24.1233 +
 24.1234 +Configuration:
 24.1235 +  -h, --help              display this help and exit
 24.1236 +      --help=short        display options specific to this package
 24.1237 +      --help=recursive    display the short help of all the included packages
 24.1238 +  -V, --version           display version information and exit
 24.1239 +  -q, --quiet, --silent   do not print \`checking ...' messages
 24.1240 +      --cache-file=FILE   cache test results in FILE [disabled]
 24.1241 +  -C, --config-cache      alias for \`--cache-file=config.cache'
 24.1242 +  -n, --no-create         do not create output files
 24.1243 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 24.1244 +
 24.1245 +Installation directories:
 24.1246 +  --prefix=PREFIX         install architecture-independent files in PREFIX
 24.1247 +                          [$ac_default_prefix]
 24.1248 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 24.1249 +                          [PREFIX]
 24.1250 +
 24.1251 +By default, \`make install' will install all the files in
 24.1252 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 24.1253 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 24.1254 +for instance \`--prefix=\$HOME'.
 24.1255 +
 24.1256 +For better control, use the options below.
 24.1257 +
 24.1258 +Fine tuning of the installation directories:
 24.1259 +  --bindir=DIR            user executables [EPREFIX/bin]
 24.1260 +  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 24.1261 +  --libexecdir=DIR        program executables [EPREFIX/libexec]
 24.1262 +  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 24.1263 +  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 24.1264 +  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 24.1265 +  --libdir=DIR            object code libraries [EPREFIX/lib]
 24.1266 +  --includedir=DIR        C header files [PREFIX/include]
 24.1267 +  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 24.1268 +  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 24.1269 +  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 24.1270 +  --infodir=DIR           info documentation [DATAROOTDIR/info]
 24.1271 +  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 24.1272 +  --mandir=DIR            man documentation [DATAROOTDIR/man]
 24.1273 +  --docdir=DIR            documentation root [DATAROOTDIR/doc/sdlvisualtest]
 24.1274 +  --htmldir=DIR           html documentation [DOCDIR]
 24.1275 +  --dvidir=DIR            dvi documentation [DOCDIR]
 24.1276 +  --pdfdir=DIR            pdf documentation [DOCDIR]
 24.1277 +  --psdir=DIR             ps documentation [DOCDIR]
 24.1278 +_ACEOF
 24.1279 +
 24.1280 +  cat <<\_ACEOF
 24.1281 +
 24.1282 +X features:
 24.1283 +  --x-includes=DIR    X include files are in DIR
 24.1284 +  --x-libraries=DIR   X library files are in DIR
 24.1285 +
 24.1286 +System types:
 24.1287 +  --build=BUILD     configure for building on BUILD [guessed]
 24.1288 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 24.1289 +_ACEOF
 24.1290 +fi
 24.1291 +
 24.1292 +if test -n "$ac_init_help"; then
 24.1293 +  case $ac_init_help in
 24.1294 +     short | recursive ) echo "Configuration of sdlvisualtest 0.01:";;
 24.1295 +   esac
 24.1296 +  cat <<\_ACEOF
 24.1297 +
 24.1298 +Optional Features:
 24.1299 +  --disable-option-checking  ignore unrecognized --enable/--with options
 24.1300 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 24.1301 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 24.1302 +  --disable-sdltest       Do not try to compile and run a test SDL program
 24.1303 +
 24.1304 +Optional Packages:
 24.1305 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 24.1306 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 24.1307 +  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
 24.1308 +  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
 24.1309 +  --with-x                use the X Window System
 24.1310 +
 24.1311 +Some influential environment variables:
 24.1312 +  CC          C compiler command
 24.1313 +  CFLAGS      C compiler flags
 24.1314 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 24.1315 +              nonstandard directory <lib dir>
 24.1316 +  LIBS        libraries to pass to the linker, e.g. -l<library>
 24.1317 +  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 24.1318 +              you have headers in a nonstandard directory <include dir>
 24.1319 +  PKG_CONFIG  path to pkg-config utility
 24.1320 +  PKG_CONFIG_PATH
 24.1321 +              directories to add to pkg-config's search path
 24.1322 +  PKG_CONFIG_LIBDIR
 24.1323 +              path overriding pkg-config's built-in search path
 24.1324 +  SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
 24.1325 +  SDL_LIBS    linker flags for SDL, overriding pkg-config
 24.1326 +  XMKMF       Path to xmkmf, Makefile generator for X Window System
 24.1327 +  CPP         C preprocessor
 24.1328 +
 24.1329 +Use these variables to override the choices made by `configure' or to help
 24.1330 +it to find libraries and programs with nonstandard names/locations.
 24.1331 +
 24.1332 +Report bugs to <apoorvupreti@gmail.com>.
 24.1333 +_ACEOF
 24.1334 +ac_status=$?
 24.1335 +fi
 24.1336 +
 24.1337 +if test "$ac_init_help" = "recursive"; then
 24.1338 +  # If there are subdirs, report their specific --help.
 24.1339 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 24.1340 +    test -d "$ac_dir" ||
 24.1341 +      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 24.1342 +      continue
 24.1343 +    ac_builddir=.
 24.1344 +
 24.1345 +case "$ac_dir" in
 24.1346 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 24.1347 +*)
 24.1348 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 24.1349 +  # A ".." for each directory in $ac_dir_suffix.
 24.1350 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 24.1351 +  case $ac_top_builddir_sub in
 24.1352 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 24.1353 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 24.1354 +  esac ;;
 24.1355 +esac
 24.1356 +ac_abs_top_builddir=$ac_pwd
 24.1357 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
 24.1358 +# for backward compatibility:
 24.1359 +ac_top_builddir=$ac_top_build_prefix
 24.1360 +
 24.1361 +case $srcdir in
 24.1362 +  .)  # We are building in place.
 24.1363 +    ac_srcdir=.
 24.1364 +    ac_top_srcdir=$ac_top_builddir_sub
 24.1365 +    ac_abs_top_srcdir=$ac_pwd ;;
 24.1366 +  [\\/]* | ?:[\\/]* )  # Absolute name.
 24.1367 +    ac_srcdir=$srcdir$ac_dir_suffix;
 24.1368 +    ac_top_srcdir=$srcdir
 24.1369 +    ac_abs_top_srcdir=$srcdir ;;
 24.1370 +  *) # Relative name.
 24.1371 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 24.1372 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
 24.1373 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 24.1374 +esac
 24.1375 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 24.1376 +
 24.1377 +    cd "$ac_dir" || { ac_status=$?; continue; }
 24.1378 +    # Check for guested configure.
 24.1379 +    if test -f "$ac_srcdir/configure.gnu"; then
 24.1380 +      echo &&
 24.1381 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 24.1382 +    elif test -f "$ac_srcdir/configure"; then
 24.1383 +      echo &&
 24.1384 +      $SHELL "$ac_srcdir/configure" --help=recursive
 24.1385 +    else
 24.1386 +      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 24.1387 +    fi || ac_status=$?
 24.1388 +    cd "$ac_pwd" || { ac_status=$?; break; }
 24.1389 +  done
 24.1390 +fi
 24.1391 +
 24.1392 +test -n "$ac_init_help" && exit $ac_status
 24.1393 +if $ac_init_version; then
 24.1394 +  cat <<\_ACEOF
 24.1395 +sdlvisualtest configure 0.01
 24.1396 +generated by GNU Autoconf 2.69
 24.1397 +
 24.1398 +Copyright (C) 2012 Free Software Foundation, Inc.
 24.1399 +This configure script is free software; the Free Software Foundation
 24.1400 +gives unlimited permission to copy, distribute and modify it.
 24.1401 +_ACEOF
 24.1402 +  exit
 24.1403 +fi
 24.1404 +
 24.1405 +## ------------------------ ##
 24.1406 +## Autoconf initialization. ##
 24.1407 +## ------------------------ ##
 24.1408 +
 24.1409 +# ac_fn_c_try_compile LINENO
 24.1410 +# --------------------------
 24.1411 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
 24.1412 +ac_fn_c_try_compile ()
 24.1413 +{
 24.1414 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 24.1415 +  rm -f conftest.$ac_objext
 24.1416 +  if { { ac_try="$ac_compile"
 24.1417 +case "(($ac_try" in
 24.1418 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.1419 +  *) ac_try_echo=$ac_try;;
 24.1420 +esac
 24.1421 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.1422 +$as_echo "$ac_try_echo"; } >&5
 24.1423 +  (eval "$ac_compile") 2>conftest.err
 24.1424 +  ac_status=$?
 24.1425 +  if test -s conftest.err; then
 24.1426 +    grep -v '^ *+' conftest.err >conftest.er1
 24.1427 +    cat conftest.er1 >&5
 24.1428 +    mv -f conftest.er1 conftest.err
 24.1429 +  fi
 24.1430 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.1431 +  test $ac_status = 0; } && {
 24.1432 +	 test -z "$ac_c_werror_flag" ||
 24.1433 +	 test ! -s conftest.err
 24.1434 +       } && test -s conftest.$ac_objext; then :
 24.1435 +  ac_retval=0
 24.1436 +else
 24.1437 +  $as_echo "$as_me: failed program was:" >&5
 24.1438 +sed 's/^/| /' conftest.$ac_ext >&5
 24.1439 +
 24.1440 +	ac_retval=1
 24.1441 +fi
 24.1442 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 24.1443 +  as_fn_set_status $ac_retval
 24.1444 +
 24.1445 +} # ac_fn_c_try_compile
 24.1446 +
 24.1447 +# ac_fn_c_try_run LINENO
 24.1448 +# ----------------------
 24.1449 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 24.1450 +# that executables *can* be run.
 24.1451 +ac_fn_c_try_run ()
 24.1452 +{
 24.1453 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 24.1454 +  if { { ac_try="$ac_link"
 24.1455 +case "(($ac_try" in
 24.1456 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.1457 +  *) ac_try_echo=$ac_try;;
 24.1458 +esac
 24.1459 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.1460 +$as_echo "$ac_try_echo"; } >&5
 24.1461 +  (eval "$ac_link") 2>&5
 24.1462 +  ac_status=$?
 24.1463 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.1464 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 24.1465 +  { { case "(($ac_try" in
 24.1466 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.1467 +  *) ac_try_echo=$ac_try;;
 24.1468 +esac
 24.1469 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.1470 +$as_echo "$ac_try_echo"; } >&5
 24.1471 +  (eval "$ac_try") 2>&5
 24.1472 +  ac_status=$?
 24.1473 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.1474 +  test $ac_status = 0; }; }; then :
 24.1475 +  ac_retval=0
 24.1476 +else
 24.1477 +  $as_echo "$as_me: program exited with status $ac_status" >&5
 24.1478 +       $as_echo "$as_me: failed program was:" >&5
 24.1479 +sed 's/^/| /' conftest.$ac_ext >&5
 24.1480 +
 24.1481 +       ac_retval=$ac_status
 24.1482 +fi
 24.1483 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 24.1484 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 24.1485 +  as_fn_set_status $ac_retval
 24.1486 +
 24.1487 +} # ac_fn_c_try_run
 24.1488 +
 24.1489 +# ac_fn_c_try_link LINENO
 24.1490 +# -----------------------
 24.1491 +# Try to link conftest.$ac_ext, and return whether this succeeded.
 24.1492 +ac_fn_c_try_link ()
 24.1493 +{
 24.1494 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 24.1495 +  rm -f conftest.$ac_objext conftest$ac_exeext
 24.1496 +  if { { ac_try="$ac_link"
 24.1497 +case "(($ac_try" in
 24.1498 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.1499 +  *) ac_try_echo=$ac_try;;
 24.1500 +esac
 24.1501 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.1502 +$as_echo "$ac_try_echo"; } >&5
 24.1503 +  (eval "$ac_link") 2>conftest.err
 24.1504 +  ac_status=$?
 24.1505 +  if test -s conftest.err; then
 24.1506 +    grep -v '^ *+' conftest.err >conftest.er1
 24.1507 +    cat conftest.er1 >&5
 24.1508 +    mv -f conftest.er1 conftest.err
 24.1509 +  fi
 24.1510 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.1511 +  test $ac_status = 0; } && {
 24.1512 +	 test -z "$ac_c_werror_flag" ||
 24.1513 +	 test ! -s conftest.err
 24.1514 +       } && test -s conftest$ac_exeext && {
 24.1515 +	 test "$cross_compiling" = yes ||
 24.1516 +	 test -x conftest$ac_exeext
 24.1517 +       }; then :
 24.1518 +  ac_retval=0
 24.1519 +else
 24.1520 +  $as_echo "$as_me: failed program was:" >&5
 24.1521 +sed 's/^/| /' conftest.$ac_ext >&5
 24.1522 +
 24.1523 +	ac_retval=1
 24.1524 +fi
 24.1525 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 24.1526 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 24.1527 +  # interfere with the next link command; also delete a directory that is
 24.1528 +  # left behind by Apple's compiler.  We do this before executing the actions.
 24.1529 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 24.1530 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 24.1531 +  as_fn_set_status $ac_retval
 24.1532 +
 24.1533 +} # ac_fn_c_try_link
 24.1534 +
 24.1535 +# ac_fn_c_try_cpp LINENO
 24.1536 +# ----------------------
 24.1537 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 24.1538 +ac_fn_c_try_cpp ()
 24.1539 +{
 24.1540 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 24.1541 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
 24.1542 +case "(($ac_try" in
 24.1543 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.1544 +  *) ac_try_echo=$ac_try;;
 24.1545 +esac
 24.1546 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.1547 +$as_echo "$ac_try_echo"; } >&5
 24.1548 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 24.1549 +  ac_status=$?
 24.1550 +  if test -s conftest.err; then
 24.1551 +    grep -v '^ *+' conftest.err >conftest.er1
 24.1552 +    cat conftest.er1 >&5
 24.1553 +    mv -f conftest.er1 conftest.err
 24.1554 +  fi
 24.1555 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.1556 +  test $ac_status = 0; } > conftest.i && {
 24.1557 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 24.1558 +	 test ! -s conftest.err
 24.1559 +       }; then :
 24.1560 +  ac_retval=0
 24.1561 +else
 24.1562 +  $as_echo "$as_me: failed program was:" >&5
 24.1563 +sed 's/^/| /' conftest.$ac_ext >&5
 24.1564 +
 24.1565 +    ac_retval=1
 24.1566 +fi
 24.1567 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 24.1568 +  as_fn_set_status $ac_retval
 24.1569 +
 24.1570 +} # ac_fn_c_try_cpp
 24.1571 +cat >config.log <<_ACEOF
 24.1572 +This file contains any messages produced by compilers while
 24.1573 +running configure, to aid debugging if configure makes a mistake.
 24.1574 +
 24.1575 +It was created by sdlvisualtest $as_me 0.01, which was
 24.1576 +generated by GNU Autoconf 2.69.  Invocation command line was
 24.1577 +
 24.1578 +  $ $0 $@
 24.1579 +
 24.1580 +_ACEOF
 24.1581 +exec 5>>config.log
 24.1582 +{
 24.1583 +cat <<_ASUNAME
 24.1584 +## --------- ##
 24.1585 +## Platform. ##
 24.1586 +## --------- ##
 24.1587 +
 24.1588 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 24.1589 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
 24.1590 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
 24.1591 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
 24.1592 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
 24.1593 +
 24.1594 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 24.1595 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 24.1596 +
 24.1597 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 24.1598 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 24.1599 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 24.1600 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 24.1601 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 24.1602 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 24.1603 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 24.1604 +
 24.1605 +_ASUNAME
 24.1606 +
 24.1607 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.1608 +for as_dir in $PATH
 24.1609 +do
 24.1610 +  IFS=$as_save_IFS
 24.1611 +  test -z "$as_dir" && as_dir=.
 24.1612 +    $as_echo "PATH: $as_dir"
 24.1613 +  done
 24.1614 +IFS=$as_save_IFS
 24.1615 +
 24.1616 +} >&5
 24.1617 +
 24.1618 +cat >&5 <<_ACEOF
 24.1619 +
 24.1620 +
 24.1621 +## ----------- ##
 24.1622 +## Core tests. ##
 24.1623 +## ----------- ##
 24.1624 +
 24.1625 +_ACEOF
 24.1626 +
 24.1627 +
 24.1628 +# Keep a trace of the command line.
 24.1629 +# Strip out --no-create and --no-recursion so they do not pile up.
 24.1630 +# Strip out --silent because we don't want to record it for future runs.
 24.1631 +# Also quote any args containing shell meta-characters.
 24.1632 +# Make two passes to allow for proper duplicate-argument suppression.
 24.1633 +ac_configure_args=
 24.1634 +ac_configure_args0=
 24.1635 +ac_configure_args1=
 24.1636 +ac_must_keep_next=false
 24.1637 +for ac_pass in 1 2
 24.1638 +do
 24.1639 +  for ac_arg
 24.1640 +  do
 24.1641 +    case $ac_arg in
 24.1642 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 24.1643 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 24.1644 +    | -silent | --silent | --silen | --sile | --sil)
 24.1645 +      continue ;;
 24.1646 +    *\'*)
 24.1647 +      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 24.1648 +    esac
 24.1649 +    case $ac_pass in
 24.1650 +    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 24.1651 +    2)
 24.1652 +      as_fn_append ac_configure_args1 " '$ac_arg'"
 24.1653 +      if test $ac_must_keep_next = true; then
 24.1654 +	ac_must_keep_next=false # Got value, back to normal.
 24.1655 +      else
 24.1656 +	case $ac_arg in
 24.1657 +	  *=* | --config-cache | -C | -disable-* | --disable-* \
 24.1658 +	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 24.1659 +	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 24.1660 +	  | -with-* | --with-* | -without-* | --without-* | --x)
 24.1661 +	    case "$ac_configure_args0 " in
 24.1662 +	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 24.1663 +	    esac
 24.1664 +	    ;;
 24.1665 +	  -* ) ac_must_keep_next=true ;;
 24.1666 +	esac
 24.1667 +      fi
 24.1668 +      as_fn_append ac_configure_args " '$ac_arg'"
 24.1669 +      ;;
 24.1670 +    esac
 24.1671 +  done
 24.1672 +done
 24.1673 +{ ac_configure_args0=; unset ac_configure_args0;}
 24.1674 +{ ac_configure_args1=; unset ac_configure_args1;}
 24.1675 +
 24.1676 +# When interrupted or exit'd, cleanup temporary files, and complete
 24.1677 +# config.log.  We remove comments because anyway the quotes in there
 24.1678 +# would cause problems or look ugly.
 24.1679 +# WARNING: Use '\'' to represent an apostrophe within the trap.
 24.1680 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 24.1681 +trap 'exit_status=$?
 24.1682 +  # Save into config.log some information that might help in debugging.
 24.1683 +  {
 24.1684 +    echo
 24.1685 +
 24.1686 +    $as_echo "## ---------------- ##
 24.1687 +## Cache variables. ##
 24.1688 +## ---------------- ##"
 24.1689 +    echo
 24.1690 +    # The following way of writing the cache mishandles newlines in values,
 24.1691 +(
 24.1692 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 24.1693 +    eval ac_val=\$$ac_var
 24.1694 +    case $ac_val in #(
 24.1695 +    *${as_nl}*)
 24.1696 +      case $ac_var in #(
 24.1697 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 24.1698 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 24.1699 +      esac
 24.1700 +      case $ac_var in #(
 24.1701 +      _ | IFS | as_nl) ;; #(
 24.1702 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 24.1703 +      *) { eval $ac_var=; unset $ac_var;} ;;
 24.1704 +      esac ;;
 24.1705 +    esac
 24.1706 +  done
 24.1707 +  (set) 2>&1 |
 24.1708 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 24.1709 +    *${as_nl}ac_space=\ *)
 24.1710 +      sed -n \
 24.1711 +	"s/'\''/'\''\\\\'\'''\''/g;
 24.1712 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 24.1713 +      ;; #(
 24.1714 +    *)
 24.1715 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 24.1716 +      ;;
 24.1717 +    esac |
 24.1718 +    sort
 24.1719 +)
 24.1720 +    echo
 24.1721 +
 24.1722 +    $as_echo "## ----------------- ##
 24.1723 +## Output variables. ##
 24.1724 +## ----------------- ##"
 24.1725 +    echo
 24.1726 +    for ac_var in $ac_subst_vars
 24.1727 +    do
 24.1728 +      eval ac_val=\$$ac_var
 24.1729 +      case $ac_val in
 24.1730 +      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 24.1731 +      esac
 24.1732 +      $as_echo "$ac_var='\''$ac_val'\''"
 24.1733 +    done | sort
 24.1734 +    echo
 24.1735 +
 24.1736 +    if test -n "$ac_subst_files"; then
 24.1737 +      $as_echo "## ------------------- ##
 24.1738 +## File substitutions. ##
 24.1739 +## ------------------- ##"
 24.1740 +      echo
 24.1741 +      for ac_var in $ac_subst_files
 24.1742 +      do
 24.1743 +	eval ac_val=\$$ac_var
 24.1744 +	case $ac_val in
 24.1745 +	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 24.1746 +	esac
 24.1747 +	$as_echo "$ac_var='\''$ac_val'\''"
 24.1748 +      done | sort
 24.1749 +      echo
 24.1750 +    fi
 24.1751 +
 24.1752 +    if test -s confdefs.h; then
 24.1753 +      $as_echo "## ----------- ##
 24.1754 +## confdefs.h. ##
 24.1755 +## ----------- ##"
 24.1756 +      echo
 24.1757 +      cat confdefs.h
 24.1758 +      echo
 24.1759 +    fi
 24.1760 +    test "$ac_signal" != 0 &&
 24.1761 +      $as_echo "$as_me: caught signal $ac_signal"
 24.1762 +    $as_echo "$as_me: exit $exit_status"
 24.1763 +  } >&5
 24.1764 +  rm -f core *.core core.conftest.* &&
 24.1765 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 24.1766 +    exit $exit_status
 24.1767 +' 0
 24.1768 +for ac_signal in 1 2 13 15; do
 24.1769 +  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 24.1770 +done
 24.1771 +ac_signal=0
 24.1772 +
 24.1773 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
 24.1774 +rm -f -r conftest* confdefs.h
 24.1775 +
 24.1776 +$as_echo "/* confdefs.h */" > confdefs.h
 24.1777 +
 24.1778 +# Predefined preprocessor variables.
 24.1779 +
 24.1780 +cat >>confdefs.h <<_ACEOF
 24.1781 +#define PACKAGE_NAME "$PACKAGE_NAME"
 24.1782 +_ACEOF
 24.1783 +
 24.1784 +cat >>confdefs.h <<_ACEOF
 24.1785 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 24.1786 +_ACEOF
 24.1787 +
 24.1788 +cat >>confdefs.h <<_ACEOF
 24.1789 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
 24.1790 +_ACEOF
 24.1791 +
 24.1792 +cat >>confdefs.h <<_ACEOF
 24.1793 +#define PACKAGE_STRING "$PACKAGE_STRING"
 24.1794 +_ACEOF
 24.1795 +
 24.1796 +cat >>confdefs.h <<_ACEOF
 24.1797 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 24.1798 +_ACEOF
 24.1799 +
 24.1800 +cat >>confdefs.h <<_ACEOF
 24.1801 +#define PACKAGE_URL "$PACKAGE_URL"
 24.1802 +_ACEOF
 24.1803 +
 24.1804 +
 24.1805 +# Let the site file select an alternate cache file if it wants to.
 24.1806 +# Prefer an explicitly selected file to automatically selected ones.
 24.1807 +ac_site_file1=NONE
 24.1808 +ac_site_file2=NONE
 24.1809 +if test -n "$CONFIG_SITE"; then
 24.1810 +  # We do not want a PATH search for config.site.
 24.1811 +  case $CONFIG_SITE in #((
 24.1812 +    -*)  ac_site_file1=./$CONFIG_SITE;;
 24.1813 +    */*) ac_site_file1=$CONFIG_SITE;;
 24.1814 +    *)   ac_site_file1=./$CONFIG_SITE;;
 24.1815 +  esac
 24.1816 +elif test "x$prefix" != xNONE; then
 24.1817 +  ac_site_file1=$prefix/share/config.site
 24.1818 +  ac_site_file2=$prefix/etc/config.site
 24.1819 +else
 24.1820 +  ac_site_file1=$ac_default_prefix/share/config.site
 24.1821 +  ac_site_file2=$ac_default_prefix/etc/config.site
 24.1822 +fi
 24.1823 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 24.1824 +do
 24.1825 +  test "x$ac_site_file" = xNONE && continue
 24.1826 +  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 24.1827 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 24.1828 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 24.1829 +    sed 's/^/| /' "$ac_site_file" >&5
 24.1830 +    . "$ac_site_file" \
 24.1831 +      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 24.1832 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 24.1833 +as_fn_error $? "failed to load site script $ac_site_file
 24.1834 +See \`config.log' for more details" "$LINENO" 5; }
 24.1835 +  fi
 24.1836 +done
 24.1837 +
 24.1838 +if test -r "$cache_file"; then
 24.1839 +  # Some versions of bash will fail to source /dev/null (special files
 24.1840 +  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 24.1841 +  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 24.1842 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 24.1843 +$as_echo "$as_me: loading cache $cache_file" >&6;}
 24.1844 +    case $cache_file in
 24.1845 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 24.1846 +      *)                      . "./$cache_file";;
 24.1847 +    esac
 24.1848 +  fi
 24.1849 +else
 24.1850 +  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 24.1851 +$as_echo "$as_me: creating cache $cache_file" >&6;}
 24.1852 +  >$cache_file
 24.1853 +fi
 24.1854 +
 24.1855 +# Check that the precious variables saved in the cache have kept the same
 24.1856 +# value.
 24.1857 +ac_cache_corrupted=false
 24.1858 +for ac_var in $ac_precious_vars; do
 24.1859 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 24.1860 +  eval ac_new_set=\$ac_env_${ac_var}_set
 24.1861 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 24.1862 +  eval ac_new_val=\$ac_env_${ac_var}_value
 24.1863 +  case $ac_old_set,$ac_new_set in
 24.1864 +    set,)
 24.1865 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 24.1866 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 24.1867 +      ac_cache_corrupted=: ;;
 24.1868 +    ,set)
 24.1869 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 24.1870 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 24.1871 +      ac_cache_corrupted=: ;;
 24.1872 +    ,);;
 24.1873 +    *)
 24.1874 +      if test "x$ac_old_val" != "x$ac_new_val"; then
 24.1875 +	# differences in whitespace do not lead to failure.
 24.1876 +	ac_old_val_w=`echo x $ac_old_val`
 24.1877 +	ac_new_val_w=`echo x $ac_new_val`
 24.1878 +	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 24.1879 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 24.1880 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 24.1881 +	  ac_cache_corrupted=:
 24.1882 +	else
 24.1883 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 24.1884 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 24.1885 +	  eval $ac_var=\$ac_old_val
 24.1886 +	fi
 24.1887 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 24.1888 +$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 24.1889 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 24.1890 +$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 24.1891 +      fi;;
 24.1892 +  esac
 24.1893 +  # Pass precious variables to config.status.
 24.1894 +  if test "$ac_new_set" = set; then
 24.1895 +    case $ac_new_val in
 24.1896 +    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 24.1897 +    *) ac_arg=$ac_var=$ac_new_val ;;
 24.1898 +    esac
 24.1899 +    case " $ac_configure_args " in
 24.1900 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 24.1901 +      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 24.1902 +    esac
 24.1903 +  fi
 24.1904 +done
 24.1905 +if $ac_cache_corrupted; then
 24.1906 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 24.1907 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 24.1908 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 24.1909 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 24.1910 +  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 24.1911 +fi
 24.1912 +## -------------------- ##
 24.1913 +## Main body of script. ##
 24.1914 +## -------------------- ##
 24.1915 +
 24.1916 +ac_ext=c
 24.1917 +ac_cpp='$CPP $CPPFLAGS'
 24.1918 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 24.1919 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 24.1920 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 24.1921 +
 24.1922 +
 24.1923 +
 24.1924 +ac_aux_dir=
 24.1925 +for ac_dir in $srcdir/../build-scripts; do
 24.1926 +  if test -f "$ac_dir/install-sh"; then
 24.1927 +    ac_aux_dir=$ac_dir
 24.1928 +    ac_install_sh="$ac_aux_dir/install-sh -c"
 24.1929 +    break
 24.1930 +  elif test -f "$ac_dir/install.sh"; then
 24.1931 +    ac_aux_dir=$ac_dir
 24.1932 +    ac_install_sh="$ac_aux_dir/install.sh -c"
 24.1933 +    break
 24.1934 +  elif test -f "$ac_dir/shtool"; then
 24.1935 +    ac_aux_dir=$ac_dir
 24.1936 +    ac_install_sh="$ac_aux_dir/shtool install -c"
 24.1937 +    break
 24.1938 +  fi
 24.1939 +done
 24.1940 +if test -z "$ac_aux_dir"; then
 24.1941 +  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $srcdir/../build-scripts" "$LINENO" 5
 24.1942 +fi
 24.1943 +
 24.1944 +# These three variables are undocumented and unsupported,
 24.1945 +# and are intended to be withdrawn in a future Autoconf release.
 24.1946 +# They can cause serious problems if a builder's source tree is in a directory
 24.1947 +# whose full name contains unusual characters.
 24.1948 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 24.1949 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 24.1950 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 24.1951 +
 24.1952 +
 24.1953 +# Make sure we can run config.sub.
 24.1954 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 24.1955 +  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 24.1956 +
 24.1957 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 24.1958 +$as_echo_n "checking build system type... " >&6; }
 24.1959 +if ${ac_cv_build+:} false; then :
 24.1960 +  $as_echo_n "(cached) " >&6
 24.1961 +else
 24.1962 +  ac_build_alias=$build_alias
 24.1963 +test "x$ac_build_alias" = x &&
 24.1964 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 24.1965 +test "x$ac_build_alias" = x &&
 24.1966 +  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 24.1967 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 24.1968 +  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 24.1969 +
 24.1970 +fi
 24.1971 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 24.1972 +$as_echo "$ac_cv_build" >&6; }
 24.1973 +case $ac_cv_build in
 24.1974 +*-*-*) ;;
 24.1975 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 24.1976 +esac
 24.1977 +build=$ac_cv_build
 24.1978 +ac_save_IFS=$IFS; IFS='-'
 24.1979 +set x $ac_cv_build
 24.1980 +shift
 24.1981 +build_cpu=$1
 24.1982 +build_vendor=$2
 24.1983 +shift; shift
 24.1984 +# Remember, the first character of IFS is used to create $*,
 24.1985 +# except with old shells:
 24.1986 +build_os=$*
 24.1987 +IFS=$ac_save_IFS
 24.1988 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 24.1989 +
 24.1990 +
 24.1991 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 24.1992 +$as_echo_n "checking host system type... " >&6; }
 24.1993 +if ${ac_cv_host+:} false; then :
 24.1994 +  $as_echo_n "(cached) " >&6
 24.1995 +else
 24.1996 +  if test "x$host_alias" = x; then
 24.1997 +  ac_cv_host=$ac_cv_build
 24.1998 +else
 24.1999 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 24.2000 +    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 24.2001 +fi
 24.2002 +
 24.2003 +fi
 24.2004 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 24.2005 +$as_echo "$ac_cv_host" >&6; }
 24.2006 +case $ac_cv_host in
 24.2007 +*-*-*) ;;
 24.2008 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 24.2009 +esac
 24.2010 +host=$ac_cv_host
 24.2011 +ac_save_IFS=$IFS; IFS='-'
 24.2012 +set x $ac_cv_host
 24.2013 +shift
 24.2014 +host_cpu=$1
 24.2015 +host_vendor=$2
 24.2016 +shift; shift
 24.2017 +# Remember, the first character of IFS is used to create $*,
 24.2018 +# except with old shells:
 24.2019 +host_os=$*
 24.2020 +IFS=$ac_save_IFS
 24.2021 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 24.2022 +
 24.2023 +
 24.2024 +
 24.2025 +
 24.2026 +ac_ext=c
 24.2027 +ac_cpp='$CPP $CPPFLAGS'
 24.2028 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 24.2029 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 24.2030 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 24.2031 +if test -n "$ac_tool_prefix"; then
 24.2032 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 24.2033 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
 24.2034 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.2035 +$as_echo_n "checking for $ac_word... " >&6; }
 24.2036 +if ${ac_cv_prog_CC+:} false; then :
 24.2037 +  $as_echo_n "(cached) " >&6
 24.2038 +else
 24.2039 +  if test -n "$CC"; then
 24.2040 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 24.2041 +else
 24.2042 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.2043 +for as_dir in $PATH
 24.2044 +do
 24.2045 +  IFS=$as_save_IFS
 24.2046 +  test -z "$as_dir" && as_dir=.
 24.2047 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.2048 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.2049 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 24.2050 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.2051 +    break 2
 24.2052 +  fi
 24.2053 +done
 24.2054 +  done
 24.2055 +IFS=$as_save_IFS
 24.2056 +
 24.2057 +fi
 24.2058 +fi
 24.2059 +CC=$ac_cv_prog_CC
 24.2060 +if test -n "$CC"; then
 24.2061 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 24.2062 +$as_echo "$CC" >&6; }
 24.2063 +else
 24.2064 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.2065 +$as_echo "no" >&6; }
 24.2066 +fi
 24.2067 +
 24.2068 +
 24.2069 +fi
 24.2070 +if test -z "$ac_cv_prog_CC"; then
 24.2071 +  ac_ct_CC=$CC
 24.2072 +  # Extract the first word of "gcc", so it can be a program name with args.
 24.2073 +set dummy gcc; ac_word=$2
 24.2074 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.2075 +$as_echo_n "checking for $ac_word... " >&6; }
 24.2076 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
 24.2077 +  $as_echo_n "(cached) " >&6
 24.2078 +else
 24.2079 +  if test -n "$ac_ct_CC"; then
 24.2080 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 24.2081 +else
 24.2082 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.2083 +for as_dir in $PATH
 24.2084 +do
 24.2085 +  IFS=$as_save_IFS
 24.2086 +  test -z "$as_dir" && as_dir=.
 24.2087 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.2088 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.2089 +    ac_cv_prog_ac_ct_CC="gcc"
 24.2090 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.2091 +    break 2
 24.2092 +  fi
 24.2093 +done
 24.2094 +  done
 24.2095 +IFS=$as_save_IFS
 24.2096 +
 24.2097 +fi
 24.2098 +fi
 24.2099 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
 24.2100 +if test -n "$ac_ct_CC"; then
 24.2101 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 24.2102 +$as_echo "$ac_ct_CC" >&6; }
 24.2103 +else
 24.2104 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.2105 +$as_echo "no" >&6; }
 24.2106 +fi
 24.2107 +
 24.2108 +  if test "x$ac_ct_CC" = x; then
 24.2109 +    CC=""
 24.2110 +  else
 24.2111 +    case $cross_compiling:$ac_tool_warned in
 24.2112 +yes:)
 24.2113 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 24.2114 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 24.2115 +ac_tool_warned=yes ;;
 24.2116 +esac
 24.2117 +    CC=$ac_ct_CC
 24.2118 +  fi
 24.2119 +else
 24.2120 +  CC="$ac_cv_prog_CC"
 24.2121 +fi
 24.2122 +
 24.2123 +if test -z "$CC"; then
 24.2124 +          if test -n "$ac_tool_prefix"; then
 24.2125 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 24.2126 +set dummy ${ac_tool_prefix}cc; ac_word=$2
 24.2127 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.2128 +$as_echo_n "checking for $ac_word... " >&6; }
 24.2129 +if ${ac_cv_prog_CC+:} false; then :
 24.2130 +  $as_echo_n "(cached) " >&6
 24.2131 +else
 24.2132 +  if test -n "$CC"; then
 24.2133 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 24.2134 +else
 24.2135 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.2136 +for as_dir in $PATH
 24.2137 +do
 24.2138 +  IFS=$as_save_IFS
 24.2139 +  test -z "$as_dir" && as_dir=.
 24.2140 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.2141 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.2142 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
 24.2143 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.2144 +    break 2
 24.2145 +  fi
 24.2146 +done
 24.2147 +  done
 24.2148 +IFS=$as_save_IFS
 24.2149 +
 24.2150 +fi
 24.2151 +fi
 24.2152 +CC=$ac_cv_prog_CC
 24.2153 +if test -n "$CC"; then
 24.2154 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 24.2155 +$as_echo "$CC" >&6; }
 24.2156 +else
 24.2157 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.2158 +$as_echo "no" >&6; }
 24.2159 +fi
 24.2160 +
 24.2161 +
 24.2162 +  fi
 24.2163 +fi
 24.2164 +if test -z "$CC"; then
 24.2165 +  # Extract the first word of "cc", so it can be a program name with args.
 24.2166 +set dummy cc; ac_word=$2
 24.2167 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.2168 +$as_echo_n "checking for $ac_word... " >&6; }
 24.2169 +if ${ac_cv_prog_CC+:} false; then :
 24.2170 +  $as_echo_n "(cached) " >&6
 24.2171 +else
 24.2172 +  if test -n "$CC"; then
 24.2173 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 24.2174 +else
 24.2175 +  ac_prog_rejected=no
 24.2176 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.2177 +for as_dir in $PATH
 24.2178 +do
 24.2179 +  IFS=$as_save_IFS
 24.2180 +  test -z "$as_dir" && as_dir=.
 24.2181 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.2182 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.2183 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 24.2184 +       ac_prog_rejected=yes
 24.2185 +       continue
 24.2186 +     fi
 24.2187 +    ac_cv_prog_CC="cc"
 24.2188 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.2189 +    break 2
 24.2190 +  fi
 24.2191 +done
 24.2192 +  done
 24.2193 +IFS=$as_save_IFS
 24.2194 +
 24.2195 +if test $ac_prog_rejected = yes; then
 24.2196 +  # We found a bogon in the path, so make sure we never use it.
 24.2197 +  set dummy $ac_cv_prog_CC
 24.2198 +  shift
 24.2199 +  if test $# != 0; then
 24.2200 +    # We chose a different compiler from the bogus one.
 24.2201 +    # However, it has the same basename, so the bogon will be chosen
 24.2202 +    # first if we set CC to just the basename; use the full file name.
 24.2203 +    shift
 24.2204 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 24.2205 +  fi
 24.2206 +fi
 24.2207 +fi
 24.2208 +fi
 24.2209 +CC=$ac_cv_prog_CC
 24.2210 +if test -n "$CC"; then
 24.2211 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 24.2212 +$as_echo "$CC" >&6; }
 24.2213 +else
 24.2214 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.2215 +$as_echo "no" >&6; }
 24.2216 +fi
 24.2217 +
 24.2218 +
 24.2219 +fi
 24.2220 +if test -z "$CC"; then
 24.2221 +  if test -n "$ac_tool_prefix"; then
 24.2222 +  for ac_prog in cl.exe
 24.2223 +  do
 24.2224 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 24.2225 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 24.2226 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.2227 +$as_echo_n "checking for $ac_word... " >&6; }
 24.2228 +if ${ac_cv_prog_CC+:} false; then :
 24.2229 +  $as_echo_n "(cached) " >&6
 24.2230 +else
 24.2231 +  if test -n "$CC"; then
 24.2232 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 24.2233 +else
 24.2234 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.2235 +for as_dir in $PATH
 24.2236 +do
 24.2237 +  IFS=$as_save_IFS
 24.2238 +  test -z "$as_dir" && as_dir=.
 24.2239 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.2240 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.2241 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 24.2242 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.2243 +    break 2
 24.2244 +  fi
 24.2245 +done
 24.2246 +  done
 24.2247 +IFS=$as_save_IFS
 24.2248 +
 24.2249 +fi
 24.2250 +fi
 24.2251 +CC=$ac_cv_prog_CC
 24.2252 +if test -n "$CC"; then
 24.2253 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 24.2254 +$as_echo "$CC" >&6; }
 24.2255 +else
 24.2256 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.2257 +$as_echo "no" >&6; }
 24.2258 +fi
 24.2259 +
 24.2260 +
 24.2261 +    test -n "$CC" && break
 24.2262 +  done
 24.2263 +fi
 24.2264 +if test -z "$CC"; then
 24.2265 +  ac_ct_CC=$CC
 24.2266 +  for ac_prog in cl.exe
 24.2267 +do
 24.2268 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
 24.2269 +set dummy $ac_prog; ac_word=$2
 24.2270 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.2271 +$as_echo_n "checking for $ac_word... " >&6; }
 24.2272 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
 24.2273 +  $as_echo_n "(cached) " >&6
 24.2274 +else
 24.2275 +  if test -n "$ac_ct_CC"; then
 24.2276 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 24.2277 +else
 24.2278 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.2279 +for as_dir in $PATH
 24.2280 +do
 24.2281 +  IFS=$as_save_IFS
 24.2282 +  test -z "$as_dir" && as_dir=.
 24.2283 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.2284 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.2285 +    ac_cv_prog_ac_ct_CC="$ac_prog"
 24.2286 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.2287 +    break 2
 24.2288 +  fi
 24.2289 +done
 24.2290 +  done
 24.2291 +IFS=$as_save_IFS
 24.2292 +
 24.2293 +fi
 24.2294 +fi
 24.2295 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
 24.2296 +if test -n "$ac_ct_CC"; then
 24.2297 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 24.2298 +$as_echo "$ac_ct_CC" >&6; }
 24.2299 +else
 24.2300 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.2301 +$as_echo "no" >&6; }
 24.2302 +fi
 24.2303 +
 24.2304 +
 24.2305 +  test -n "$ac_ct_CC" && break
 24.2306 +done
 24.2307 +
 24.2308 +  if test "x$ac_ct_CC" = x; then
 24.2309 +    CC=""
 24.2310 +  else
 24.2311 +    case $cross_compiling:$ac_tool_warned in
 24.2312 +yes:)
 24.2313 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 24.2314 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 24.2315 +ac_tool_warned=yes ;;
 24.2316 +esac
 24.2317 +    CC=$ac_ct_CC
 24.2318 +  fi
 24.2319 +fi
 24.2320 +
 24.2321 +fi
 24.2322 +
 24.2323 +
 24.2324 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 24.2325 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 24.2326 +as_fn_error $? "no acceptable C compiler found in \$PATH
 24.2327 +See \`config.log' for more details" "$LINENO" 5; }
 24.2328 +
 24.2329 +# Provide some information about the compiler.
 24.2330 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 24.2331 +set X $ac_compile
 24.2332 +ac_compiler=$2
 24.2333 +for ac_option in --version -v -V -qversion; do
 24.2334 +  { { ac_try="$ac_compiler $ac_option >&5"
 24.2335 +case "(($ac_try" in
 24.2336 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.2337 +  *) ac_try_echo=$ac_try;;
 24.2338 +esac
 24.2339 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.2340 +$as_echo "$ac_try_echo"; } >&5
 24.2341 +  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 24.2342 +  ac_status=$?
 24.2343 +  if test -s conftest.err; then
 24.2344 +    sed '10a\
 24.2345 +... rest of stderr output deleted ...
 24.2346 +         10q' conftest.err >conftest.er1
 24.2347 +    cat conftest.er1 >&5
 24.2348 +  fi
 24.2349 +  rm -f conftest.er1 conftest.err
 24.2350 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.2351 +  test $ac_status = 0; }
 24.2352 +done
 24.2353 +
 24.2354 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2355 +/* end confdefs.h.  */
 24.2356 +
 24.2357 +int
 24.2358 +main ()
 24.2359 +{
 24.2360 +
 24.2361 +  ;
 24.2362 +  return 0;
 24.2363 +}
 24.2364 +_ACEOF
 24.2365 +ac_clean_files_save=$ac_clean_files
 24.2366 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 24.2367 +# Try to create an executable without -o first, disregard a.out.
 24.2368 +# It will help us diagnose broken compilers, and finding out an intuition
 24.2369 +# of exeext.
 24.2370 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 24.2371 +$as_echo_n "checking whether the C compiler works... " >&6; }
 24.2372 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 24.2373 +
 24.2374 +# The possible output files:
 24.2375 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 24.2376 +
 24.2377 +ac_rmfiles=
 24.2378 +for ac_file in $ac_files
 24.2379 +do
 24.2380 +  case $ac_file in
 24.2381 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 24.2382 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 24.2383 +  esac
 24.2384 +done
 24.2385 +rm -f $ac_rmfiles
 24.2386 +
 24.2387 +if { { ac_try="$ac_link_default"
 24.2388 +case "(($ac_try" in
 24.2389 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.2390 +  *) ac_try_echo=$ac_try;;
 24.2391 +esac
 24.2392 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.2393 +$as_echo "$ac_try_echo"; } >&5
 24.2394 +  (eval "$ac_link_default") 2>&5
 24.2395 +  ac_status=$?
 24.2396 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.2397 +  test $ac_status = 0; }; then :
 24.2398 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 24.2399 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 24.2400 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 24.2401 +# so that the user can short-circuit this test for compilers unknown to
 24.2402 +# Autoconf.
 24.2403 +for ac_file in $ac_files ''
 24.2404 +do
 24.2405 +  test -f "$ac_file" || continue
 24.2406 +  case $ac_file in
 24.2407 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 24.2408 +	;;
 24.2409 +    [ab].out )
 24.2410 +	# We found the default executable, but exeext='' is most
 24.2411 +	# certainly right.
 24.2412 +	break;;
 24.2413 +    *.* )
 24.2414 +	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 24.2415 +	then :; else
 24.2416 +	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 24.2417 +	fi
 24.2418 +	# We set ac_cv_exeext here because the later test for it is not
 24.2419 +	# safe: cross compilers may not add the suffix if given an `-o'
 24.2420 +	# argument, so we may need to know it at that point already.
 24.2421 +	# Even if this section looks crufty: it has the advantage of
 24.2422 +	# actually working.
 24.2423 +	break;;
 24.2424 +    * )
 24.2425 +	break;;
 24.2426 +  esac
 24.2427 +done
 24.2428 +test "$ac_cv_exeext" = no && ac_cv_exeext=
 24.2429 +
 24.2430 +else
 24.2431 +  ac_file=''
 24.2432 +fi
 24.2433 +if test -z "$ac_file"; then :
 24.2434 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.2435 +$as_echo "no" >&6; }
 24.2436 +$as_echo "$as_me: failed program was:" >&5
 24.2437 +sed 's/^/| /' conftest.$ac_ext >&5
 24.2438 +
 24.2439 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 24.2440 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 24.2441 +as_fn_error 77 "C compiler cannot create executables
 24.2442 +See \`config.log' for more details" "$LINENO" 5; }
 24.2443 +else
 24.2444 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 24.2445 +$as_echo "yes" >&6; }
 24.2446 +fi
 24.2447 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 24.2448 +$as_echo_n "checking for C compiler default output file name... " >&6; }
 24.2449 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 24.2450 +$as_echo "$ac_file" >&6; }
 24.2451 +ac_exeext=$ac_cv_exeext
 24.2452 +
 24.2453 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 24.2454 +ac_clean_files=$ac_clean_files_save
 24.2455 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 24.2456 +$as_echo_n "checking for suffix of executables... " >&6; }
 24.2457 +if { { ac_try="$ac_link"
 24.2458 +case "(($ac_try" in
 24.2459 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.2460 +  *) ac_try_echo=$ac_try;;
 24.2461 +esac
 24.2462 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.2463 +$as_echo "$ac_try_echo"; } >&5
 24.2464 +  (eval "$ac_link") 2>&5
 24.2465 +  ac_status=$?
 24.2466 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.2467 +  test $ac_status = 0; }; then :
 24.2468 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 24.2469 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 24.2470 +# work properly (i.e., refer to `conftest.exe'), while it won't with
 24.2471 +# `rm'.
 24.2472 +for ac_file in conftest.exe conftest conftest.*; do
 24.2473 +  test -f "$ac_file" || continue
 24.2474 +  case $ac_file in
 24.2475 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 24.2476 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 24.2477 +	  break;;
 24.2478 +    * ) break;;
 24.2479 +  esac
 24.2480 +done
 24.2481 +else
 24.2482 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 24.2483 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 24.2484 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 24.2485 +See \`config.log' for more details" "$LINENO" 5; }
 24.2486 +fi
 24.2487 +rm -f conftest conftest$ac_cv_exeext
 24.2488 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 24.2489 +$as_echo "$ac_cv_exeext" >&6; }
 24.2490 +
 24.2491 +rm -f conftest.$ac_ext
 24.2492 +EXEEXT=$ac_cv_exeext
 24.2493 +ac_exeext=$EXEEXT
 24.2494 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2495 +/* end confdefs.h.  */
 24.2496 +#include <stdio.h>
 24.2497 +int
 24.2498 +main ()
 24.2499 +{
 24.2500 +FILE *f = fopen ("conftest.out", "w");
 24.2501 + return ferror (f) || fclose (f) != 0;
 24.2502 +
 24.2503 +  ;
 24.2504 +  return 0;
 24.2505 +}
 24.2506 +_ACEOF
 24.2507 +ac_clean_files="$ac_clean_files conftest.out"
 24.2508 +# Check that the compiler produces executables we can run.  If not, either
 24.2509 +# the compiler is broken, or we cross compile.
 24.2510 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 24.2511 +$as_echo_n "checking whether we are cross compiling... " >&6; }
 24.2512 +if test "$cross_compiling" != yes; then
 24.2513 +  { { ac_try="$ac_link"
 24.2514 +case "(($ac_try" in
 24.2515 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.2516 +  *) ac_try_echo=$ac_try;;
 24.2517 +esac
 24.2518 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.2519 +$as_echo "$ac_try_echo"; } >&5
 24.2520 +  (eval "$ac_link") 2>&5
 24.2521 +  ac_status=$?
 24.2522 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.2523 +  test $ac_status = 0; }
 24.2524 +  if { ac_try='./conftest$ac_cv_exeext'
 24.2525 +  { { case "(($ac_try" in
 24.2526 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.2527 +  *) ac_try_echo=$ac_try;;
 24.2528 +esac
 24.2529 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.2530 +$as_echo "$ac_try_echo"; } >&5
 24.2531 +  (eval "$ac_try") 2>&5
 24.2532 +  ac_status=$?
 24.2533 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.2534 +  test $ac_status = 0; }; }; then
 24.2535 +    cross_compiling=no
 24.2536 +  else
 24.2537 +    if test "$cross_compiling" = maybe; then
 24.2538 +	cross_compiling=yes
 24.2539 +    else
 24.2540 +	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 24.2541 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 24.2542 +as_fn_error $? "cannot run C compiled programs.
 24.2543 +If you meant to cross compile, use \`--host'.
 24.2544 +See \`config.log' for more details" "$LINENO" 5; }
 24.2545 +    fi
 24.2546 +  fi
 24.2547 +fi
 24.2548 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 24.2549 +$as_echo "$cross_compiling" >&6; }
 24.2550 +
 24.2551 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 24.2552 +ac_clean_files=$ac_clean_files_save
 24.2553 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 24.2554 +$as_echo_n "checking for suffix of object files... " >&6; }
 24.2555 +if ${ac_cv_objext+:} false; then :
 24.2556 +  $as_echo_n "(cached) " >&6
 24.2557 +else
 24.2558 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2559 +/* end confdefs.h.  */
 24.2560 +
 24.2561 +int
 24.2562 +main ()
 24.2563 +{
 24.2564 +
 24.2565 +  ;
 24.2566 +  return 0;
 24.2567 +}
 24.2568 +_ACEOF
 24.2569 +rm -f conftest.o conftest.obj
 24.2570 +if { { ac_try="$ac_compile"
 24.2571 +case "(($ac_try" in
 24.2572 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 24.2573 +  *) ac_try_echo=$ac_try;;
 24.2574 +esac
 24.2575 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 24.2576 +$as_echo "$ac_try_echo"; } >&5
 24.2577 +  (eval "$ac_compile") 2>&5
 24.2578 +  ac_status=$?
 24.2579 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.2580 +  test $ac_status = 0; }; then :
 24.2581 +  for ac_file in conftest.o conftest.obj conftest.*; do
 24.2582 +  test -f "$ac_file" || continue;
 24.2583 +  case $ac_file in
 24.2584 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 24.2585 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 24.2586 +       break;;
 24.2587 +  esac
 24.2588 +done
 24.2589 +else
 24.2590 +  $as_echo "$as_me: failed program was:" >&5
 24.2591 +sed 's/^/| /' conftest.$ac_ext >&5
 24.2592 +
 24.2593 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 24.2594 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 24.2595 +as_fn_error $? "cannot compute suffix of object files: cannot compile
 24.2596 +See \`config.log' for more details" "$LINENO" 5; }
 24.2597 +fi
 24.2598 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
 24.2599 +fi
 24.2600 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 24.2601 +$as_echo "$ac_cv_objext" >&6; }
 24.2602 +OBJEXT=$ac_cv_objext
 24.2603 +ac_objext=$OBJEXT
 24.2604 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 24.2605 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 24.2606 +if ${ac_cv_c_compiler_gnu+:} false; then :
 24.2607 +  $as_echo_n "(cached) " >&6
 24.2608 +else
 24.2609 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2610 +/* end confdefs.h.  */
 24.2611 +
 24.2612 +int
 24.2613 +main ()
 24.2614 +{
 24.2615 +#ifndef __GNUC__
 24.2616 +       choke me
 24.2617 +#endif
 24.2618 +
 24.2619 +  ;
 24.2620 +  return 0;
 24.2621 +}
 24.2622 +_ACEOF
 24.2623 +if ac_fn_c_try_compile "$LINENO"; then :
 24.2624 +  ac_compiler_gnu=yes
 24.2625 +else
 24.2626 +  ac_compiler_gnu=no
 24.2627 +fi
 24.2628 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24.2629 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
 24.2630 +
 24.2631 +fi
 24.2632 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 24.2633 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 24.2634 +if test $ac_compiler_gnu = yes; then
 24.2635 +  GCC=yes
 24.2636 +else
 24.2637 +  GCC=
 24.2638 +fi
 24.2639 +ac_test_CFLAGS=${CFLAGS+set}
 24.2640 +ac_save_CFLAGS=$CFLAGS
 24.2641 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 24.2642 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
 24.2643 +if ${ac_cv_prog_cc_g+:} false; then :
 24.2644 +  $as_echo_n "(cached) " >&6
 24.2645 +else
 24.2646 +  ac_save_c_werror_flag=$ac_c_werror_flag
 24.2647 +   ac_c_werror_flag=yes
 24.2648 +   ac_cv_prog_cc_g=no
 24.2649 +   CFLAGS="-g"
 24.2650 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2651 +/* end confdefs.h.  */
 24.2652 +
 24.2653 +int
 24.2654 +main ()
 24.2655 +{
 24.2656 +
 24.2657 +  ;
 24.2658 +  return 0;
 24.2659 +}
 24.2660 +_ACEOF
 24.2661 +if ac_fn_c_try_compile "$LINENO"; then :
 24.2662 +  ac_cv_prog_cc_g=yes
 24.2663 +else
 24.2664 +  CFLAGS=""
 24.2665 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2666 +/* end confdefs.h.  */
 24.2667 +
 24.2668 +int
 24.2669 +main ()
 24.2670 +{
 24.2671 +
 24.2672 +  ;
 24.2673 +  return 0;
 24.2674 +}
 24.2675 +_ACEOF
 24.2676 +if ac_fn_c_try_compile "$LINENO"; then :
 24.2677 +
 24.2678 +else
 24.2679 +  ac_c_werror_flag=$ac_save_c_werror_flag
 24.2680 +	 CFLAGS="-g"
 24.2681 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2682 +/* end confdefs.h.  */
 24.2683 +
 24.2684 +int
 24.2685 +main ()
 24.2686 +{
 24.2687 +
 24.2688 +  ;
 24.2689 +  return 0;
 24.2690 +}
 24.2691 +_ACEOF
 24.2692 +if ac_fn_c_try_compile "$LINENO"; then :
 24.2693 +  ac_cv_prog_cc_g=yes
 24.2694 +fi
 24.2695 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24.2696 +fi
 24.2697 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24.2698 +fi
 24.2699 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24.2700 +   ac_c_werror_flag=$ac_save_c_werror_flag
 24.2701 +fi
 24.2702 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 24.2703 +$as_echo "$ac_cv_prog_cc_g" >&6; }
 24.2704 +if test "$ac_test_CFLAGS" = set; then
 24.2705 +  CFLAGS=$ac_save_CFLAGS
 24.2706 +elif test $ac_cv_prog_cc_g = yes; then
 24.2707 +  if test "$GCC" = yes; then
 24.2708 +    CFLAGS="-g -O2"
 24.2709 +  else
 24.2710 +    CFLAGS="-g"
 24.2711 +  fi
 24.2712 +else
 24.2713 +  if test "$GCC" = yes; then
 24.2714 +    CFLAGS="-O2"
 24.2715 +  else
 24.2716 +    CFLAGS=
 24.2717 +  fi
 24.2718 +fi
 24.2719 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 24.2720 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 24.2721 +if ${ac_cv_prog_cc_c89+:} false; then :
 24.2722 +  $as_echo_n "(cached) " >&6
 24.2723 +else
 24.2724 +  ac_cv_prog_cc_c89=no
 24.2725 +ac_save_CC=$CC
 24.2726 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2727 +/* end confdefs.h.  */
 24.2728 +#include <stdarg.h>
 24.2729 +#include <stdio.h>
 24.2730 +struct stat;
 24.2731 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 24.2732 +struct buf { int x; };
 24.2733 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
 24.2734 +static char *e (p, i)
 24.2735 +     char **p;
 24.2736 +     int i;
 24.2737 +{
 24.2738 +  return p[i];
 24.2739 +}
 24.2740 +static char *f (char * (*g) (char **, int), char **p, ...)
 24.2741 +{
 24.2742 +  char *s;
 24.2743 +  va_list v;
 24.2744 +  va_start (v,p);
 24.2745 +  s = g (p, va_arg (v,int));
 24.2746 +  va_end (v);
 24.2747 +  return s;
 24.2748 +}
 24.2749 +
 24.2750 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 24.2751 +   function prototypes and stuff, but not '\xHH' hex character constants.
 24.2752 +   These don't provoke an error unfortunately, instead are silently treated
 24.2753 +   as 'x'.  The following induces an error, until -std is added to get
 24.2754 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 24.2755 +   array size at least.  It's necessary to write '\x00'==0 to get something
 24.2756 +   that's true only with -std.  */
 24.2757 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 24.2758 +
 24.2759 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 24.2760 +   inside strings and character constants.  */
 24.2761 +#define FOO(x) 'x'
 24.2762 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 24.2763 +
 24.2764 +int test (int i, double x);
 24.2765 +struct s1 {int (*f) (int a);};
 24.2766 +struct s2 {int (*f) (double a);};
 24.2767 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 24.2768 +int argc;
 24.2769 +char **argv;
 24.2770 +int
 24.2771 +main ()
 24.2772 +{
 24.2773 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 24.2774 +  ;
 24.2775 +  return 0;
 24.2776 +}
 24.2777 +_ACEOF
 24.2778 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 24.2779 +	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 24.2780 +do
 24.2781 +  CC="$ac_save_CC $ac_arg"
 24.2782 +  if ac_fn_c_try_compile "$LINENO"; then :
 24.2783 +  ac_cv_prog_cc_c89=$ac_arg
 24.2784 +fi
 24.2785 +rm -f core conftest.err conftest.$ac_objext
 24.2786 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
 24.2787 +done
 24.2788 +rm -f conftest.$ac_ext
 24.2789 +CC=$ac_save_CC
 24.2790 +
 24.2791 +fi
 24.2792 +# AC_CACHE_VAL
 24.2793 +case "x$ac_cv_prog_cc_c89" in
 24.2794 +  x)
 24.2795 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 24.2796 +$as_echo "none needed" >&6; } ;;
 24.2797 +  xno)
 24.2798 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 24.2799 +$as_echo "unsupported" >&6; } ;;
 24.2800 +  *)
 24.2801 +    CC="$CC $ac_cv_prog_cc_c89"
 24.2802 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 24.2803 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 24.2804 +esac
 24.2805 +if test "x$ac_cv_prog_cc_c89" != xno; then :
 24.2806 +
 24.2807 +fi
 24.2808 +
 24.2809 +ac_ext=c
 24.2810 +ac_cpp='$CPP $CPPFLAGS'
 24.2811 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 24.2812 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 24.2813 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 24.2814 +
 24.2815 +
 24.2816 +
 24.2817 +
 24.2818 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 24.2819 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 24.2820 +if ${ac_cv_c_const+:} false; then :
 24.2821 +  $as_echo_n "(cached) " >&6
 24.2822 +else
 24.2823 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.2824 +/* end confdefs.h.  */
 24.2825 +
 24.2826 +int
 24.2827 +main ()
 24.2828 +{
 24.2829 +
 24.2830 +#ifndef __cplusplus
 24.2831 +  /* Ultrix mips cc rejects this sort of thing.  */
 24.2832 +  typedef int charset[2];
 24.2833 +  const charset cs = { 0, 0 };
 24.2834 +  /* SunOS 4.1.1 cc rejects this.  */
 24.2835 +  char const *const *pcpcc;
 24.2836 +  char **ppc;
 24.2837 +  /* NEC SVR4.0.2 mips cc rejects this.  */
 24.2838 +  struct point {int x, y;};
 24.2839 +  static struct point const zero = {0,0};
 24.2840 +  /* AIX XL C 1.02.0.0 rejects this.
 24.2841 +     It does not let you subtract one const X* pointer from another in
 24.2842 +     an arm of an if-expression whose if-part is not a constant
 24.2843 +     expression */
 24.2844 +  const char *g = "string";
 24.2845 +  pcpcc = &g + (g ? g-g : 0);
 24.2846 +  /* HPUX 7.0 cc rejects these. */
 24.2847 +  ++pcpcc;
 24.2848 +  ppc = (char**) pcpcc;
 24.2849 +  pcpcc = (char const *const *) ppc;
 24.2850 +  { /* SCO 3.2v4 cc rejects this sort of thing.  */
 24.2851 +    char tx;
 24.2852 +    char *t = &tx;
 24.2853 +    char const *s = 0 ? (char *) 0 : (char const *) 0;
 24.2854 +
 24.2855 +    *t++ = 0;
 24.2856 +    if (s) return 0;
 24.2857 +  }
 24.2858 +  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 24.2859 +    int x[] = {25, 17};
 24.2860 +    const int *foo = &x[0];
 24.2861 +    ++foo;
 24.2862 +  }
 24.2863 +  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 24.2864 +    typedef const int *iptr;
 24.2865 +    iptr p = 0;
 24.2866 +    ++p;
 24.2867 +  }
 24.2868 +  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
 24.2869 +       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 24.2870 +    struct s { int j; const int *ap[3]; } bx;
 24.2871 +    struct s *b = &bx; b->j = 5;
 24.2872 +  }
 24.2873 +  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 24.2874 +    const int foo = 10;
 24.2875 +    if (!foo) return 0;
 24.2876 +  }
 24.2877 +  return !cs[0] && !zero.x;
 24.2878 +#endif
 24.2879 +
 24.2880 +  ;
 24.2881 +  return 0;
 24.2882 +}
 24.2883 +_ACEOF
 24.2884 +if ac_fn_c_try_compile "$LINENO"; then :
 24.2885 +  ac_cv_c_const=yes
 24.2886 +else
 24.2887 +  ac_cv_c_const=no
 24.2888 +fi
 24.2889 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24.2890 +fi
 24.2891 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 24.2892 +$as_echo "$ac_cv_c_const" >&6; }
 24.2893 +if test $ac_cv_c_const = no; then
 24.2894 +
 24.2895 +$as_echo "#define const /**/" >>confdefs.h
 24.2896 +
 24.2897 +fi
 24.2898 +
 24.2899 +
 24.2900 +ISUNIX="false"
 24.2901 +ISWINDOWS="false"
 24.2902 +ISMACOSX="false"
 24.2903 +
 24.2904 +case "$host" in
 24.2905 +    *-*-cygwin* | *-*-mingw32*)
 24.2906 +        ISWINDOWS="true"
 24.2907 +        EXE=".exe"
 24.2908 +        MATHLIB=""
 24.2909 +        EXTRALIB="-lshlwapi"
 24.2910 +        SYS_GL_LIBS="-lopengl32"
 24.2911 +        ;;
 24.2912 +    *-*-beos* | *-*-haiku*)
 24.2913 +        EXE=""
 24.2914 +        MATHLIB=""
 24.2915 +        EXTRALIB=""
 24.2916 +        SYS_GL_LIBS="-lGL"
 24.2917 +        ;;
 24.2918 +    *-*-darwin* )
 24.2919 +        ISMACOSX="true"
 24.2920 +        EXE=""
 24.2921 +        MATHLIB=""
 24.2922 +        EXTRALIB=""
 24.2923 +
 24.2924 +        ;;
 24.2925 +    *-*-aix*)
 24.2926 +        ISUNIX="true"
 24.2927 +        EXE=""
 24.2928 +        if test x$ac_cv_c_compiler_gnu = xyes; then
 24.2929 +            CFLAGS="-mthreads"
 24.2930 +        fi
 24.2931 +        MATHLIB=""
 24.2932 +        EXTRALIB=""
 24.2933 +        SYS_GL_LIBS=""
 24.2934 +        ;;
 24.2935 +    *-*-mint*)
 24.2936 +        EXE=""
 24.2937 +        MATHLIB=""
 24.2938 +        EXTRALIB=""
 24.2939 +        # Extract the first word of "osmesa-config", so it can be a program name with args.
 24.2940 +set dummy osmesa-config; ac_word=$2
 24.2941 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.2942 +$as_echo_n "checking for $ac_word... " >&6; }
 24.2943 +if ${ac_cv_path_OSMESA_CONFIG+:} false; then :
 24.2944 +  $as_echo_n "(cached) " >&6
 24.2945 +else
 24.2946 +  case $OSMESA_CONFIG in
 24.2947 +  [\\/]* | ?:[\\/]*)
 24.2948 +  ac_cv_path_OSMESA_CONFIG="$OSMESA_CONFIG" # Let the user override the test with a path.
 24.2949 +  ;;
 24.2950 +  *)
 24.2951 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.2952 +for as_dir in $PATH
 24.2953 +do
 24.2954 +  IFS=$as_save_IFS
 24.2955 +  test -z "$as_dir" && as_dir=.
 24.2956 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.2957 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.2958 +    ac_cv_path_OSMESA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 24.2959 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.2960 +    break 2
 24.2961 +  fi
 24.2962 +done
 24.2963 +  done
 24.2964 +IFS=$as_save_IFS
 24.2965 +
 24.2966 +  test -z "$ac_cv_path_OSMESA_CONFIG" && ac_cv_path_OSMESA_CONFIG="no"
 24.2967 +  ;;
 24.2968 +esac
 24.2969 +fi
 24.2970 +OSMESA_CONFIG=$ac_cv_path_OSMESA_CONFIG
 24.2971 +if test -n "$OSMESA_CONFIG"; then
 24.2972 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSMESA_CONFIG" >&5
 24.2973 +$as_echo "$OSMESA_CONFIG" >&6; }
 24.2974 +else
 24.2975 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.2976 +$as_echo "no" >&6; }
 24.2977 +fi
 24.2978 +
 24.2979 +
 24.2980 +        if test "x$OSMESA_CONFIG" = "xyes"; then
 24.2981 +            OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags`
 24.2982 +            OSMESA_LIBS=`$OSMESA_CONFIG --libs`
 24.2983 +            CFLAGS="$CFLAGS $OSMESA_CFLAGS"
 24.2984 +            SYS_GL_LIBS="$OSMESA_LIBS"
 24.2985 +        else
 24.2986 +            SYS_GL_LIBS="-lOSMesa"
 24.2987 +        fi
 24.2988 +        ;;
 24.2989 +    *-*-qnx*)
 24.2990 +        EXE=""
 24.2991 +        MATHLIB=""
 24.2992 +        EXTRALIB=""
 24.2993 +        SYS_GL_LIBS="-lGLES_CM"
 24.2994 +        ;;
 24.2995 +    *)
 24.2996 +                ISUNIX="true"
 24.2997 +        EXE=""
 24.2998 +        MATHLIB="-lm"
 24.2999 +        EXTRALIB=""
 24.3000 +        SYS_GL_LIBS="-lGL"
 24.3001 +        ;;
 24.3002 +esac
 24.3003 +
 24.3004 +
 24.3005 +
 24.3006 +
 24.3007 +
 24.3008 +
 24.3009 +
 24.3010 +SDL_VERSION=2.0.0
 24.3011 +
 24.3012 +
 24.3013 +
 24.3014 +
 24.3015 +
 24.3016 +
 24.3017 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 24.3018 +	if test -n "$ac_tool_prefix"; then
 24.3019 +  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 24.3020 +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 24.3021 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.3022 +$as_echo_n "checking for $ac_word... " >&6; }
 24.3023 +if ${ac_cv_path_PKG_CONFIG+:} false; then :
 24.3024 +  $as_echo_n "(cached) " >&6
 24.3025 +else
 24.3026 +  case $PKG_CONFIG in
 24.3027 +  [\\/]* | ?:[\\/]*)
 24.3028 +  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 24.3029 +  ;;
 24.3030 +  *)
 24.3031 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.3032 +for as_dir in $PATH
 24.3033 +do
 24.3034 +  IFS=$as_save_IFS
 24.3035 +  test -z "$as_dir" && as_dir=.
 24.3036 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.3037 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.3038 +    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 24.3039 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.3040 +    break 2
 24.3041 +  fi
 24.3042 +done
 24.3043 +  done
 24.3044 +IFS=$as_save_IFS
 24.3045 +
 24.3046 +  ;;
 24.3047 +esac
 24.3048 +fi
 24.3049 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 24.3050 +if test -n "$PKG_CONFIG"; then
 24.3051 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 24.3052 +$as_echo "$PKG_CONFIG" >&6; }
 24.3053 +else
 24.3054 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.3055 +$as_echo "no" >&6; }
 24.3056 +fi
 24.3057 +
 24.3058 +
 24.3059 +fi
 24.3060 +if test -z "$ac_cv_path_PKG_CONFIG"; then
 24.3061 +  ac_pt_PKG_CONFIG=$PKG_CONFIG
 24.3062 +  # Extract the first word of "pkg-config", so it can be a program name with args.
 24.3063 +set dummy pkg-config; ac_word=$2
 24.3064 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.3065 +$as_echo_n "checking for $ac_word... " >&6; }
 24.3066 +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 24.3067 +  $as_echo_n "(cached) " >&6
 24.3068 +else
 24.3069 +  case $ac_pt_PKG_CONFIG in
 24.3070 +  [\\/]* | ?:[\\/]*)
 24.3071 +  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 24.3072 +  ;;
 24.3073 +  *)
 24.3074 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.3075 +for as_dir in $PATH
 24.3076 +do
 24.3077 +  IFS=$as_save_IFS
 24.3078 +  test -z "$as_dir" && as_dir=.
 24.3079 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.3080 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.3081 +    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 24.3082 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.3083 +    break 2
 24.3084 +  fi
 24.3085 +done
 24.3086 +  done
 24.3087 +IFS=$as_save_IFS
 24.3088 +
 24.3089 +  ;;
 24.3090 +esac
 24.3091 +fi
 24.3092 +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 24.3093 +if test -n "$ac_pt_PKG_CONFIG"; then
 24.3094 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 24.3095 +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 24.3096 +else
 24.3097 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.3098 +$as_echo "no" >&6; }
 24.3099 +fi
 24.3100 +
 24.3101 +  if test "x$ac_pt_PKG_CONFIG" = x; then
 24.3102 +    PKG_CONFIG=""
 24.3103 +  else
 24.3104 +    case $cross_compiling:$ac_tool_warned in
 24.3105 +yes:)
 24.3106 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 24.3107 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 24.3108 +ac_tool_warned=yes ;;
 24.3109 +esac
 24.3110 +    PKG_CONFIG=$ac_pt_PKG_CONFIG
 24.3111 +  fi
 24.3112 +else
 24.3113 +  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 24.3114 +fi
 24.3115 +
 24.3116 +fi
 24.3117 +if test -n "$PKG_CONFIG"; then
 24.3118 +	_pkg_min_version=0.9.0
 24.3119 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 24.3120 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 24.3121 +	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 24.3122 +		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 24.3123 +$as_echo "yes" >&6; }
 24.3124 +	else
 24.3125 +		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.3126 +$as_echo "no" >&6; }
 24.3127 +		PKG_CONFIG=""
 24.3128 +	fi
 24.3129 +fi
 24.3130 +
 24.3131 +# Check whether --with-sdl-prefix was given.
 24.3132 +if test "${with_sdl_prefix+set}" = set; then :
 24.3133 +  withval=$with_sdl_prefix; sdl_prefix="$withval"
 24.3134 +else
 24.3135 +  sdl_prefix=""
 24.3136 +fi
 24.3137 +
 24.3138 +
 24.3139 +# Check whether --with-sdl-exec-prefix was given.
 24.3140 +if test "${with_sdl_exec_prefix+set}" = set; then :
 24.3141 +  withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
 24.3142 +else
 24.3143 +  sdl_exec_prefix=""
 24.3144 +fi
 24.3145 +
 24.3146 +# Check whether --enable-sdltest was given.
 24.3147 +if test "${enable_sdltest+set}" = set; then :
 24.3148 +  enableval=$enable_sdltest;
 24.3149 +else
 24.3150 +  enable_sdltest=yes
 24.3151 +fi
 24.3152 +
 24.3153 +
 24.3154 +  min_sdl_version=$SDL_VERSION
 24.3155 +
 24.3156 +  if test "x$sdl_prefix$sdl_exec_prefix" = x ; then
 24.3157 +
 24.3158 +pkg_failed=no
 24.3159 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
 24.3160 +$as_echo_n "checking for SDL... " >&6; }
 24.3161 +
 24.3162 +if test -n "$SDL_CFLAGS"; then
 24.3163 +    pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
 24.3164 + elif test -n "$PKG_CONFIG"; then
 24.3165 +    if test -n "$PKG_CONFIG" && \
 24.3166 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5
 24.3167 +  ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5
 24.3168 +  ac_status=$?
 24.3169 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.3170 +  test $ac_status = 0; }; then
 24.3171 +  pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl2 >= $min_sdl_version" 2>/dev/null`
 24.3172 +else
 24.3173 +  pkg_failed=yes
 24.3174 +fi
 24.3175 + else
 24.3176 +    pkg_failed=untried
 24.3177 +fi
 24.3178 +if test -n "$SDL_LIBS"; then
 24.3179 +    pkg_cv_SDL_LIBS="$SDL_LIBS"
 24.3180 + elif test -n "$PKG_CONFIG"; then
 24.3181 +    if test -n "$PKG_CONFIG" && \
 24.3182 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5
 24.3183 +  ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5
 24.3184 +  ac_status=$?
 24.3185 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 24.3186 +  test $ac_status = 0; }; then
 24.3187 +  pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl2 >= $min_sdl_version" 2>/dev/null`
 24.3188 +else
 24.3189 +  pkg_failed=yes
 24.3190 +fi
 24.3191 + else
 24.3192 +    pkg_failed=untried
 24.3193 +fi
 24.3194 +
 24.3195 +
 24.3196 +
 24.3197 +if test $pkg_failed = yes; then
 24.3198 +   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.3199 +$as_echo "no" >&6; }
 24.3200 +
 24.3201 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 24.3202 +        _pkg_short_errors_supported=yes
 24.3203 +else
 24.3204 +        _pkg_short_errors_supported=no
 24.3205 +fi
 24.3206 +        if test $_pkg_short_errors_supported = yes; then
 24.3207 +	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl2 >= $min_sdl_version" 2>&1`
 24.3208 +        else
 24.3209 +	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl2 >= $min_sdl_version" 2>&1`
 24.3210 +        fi
 24.3211 +	# Put the nasty error message in config.log where it belongs
 24.3212 +	echo "$SDL_PKG_ERRORS" >&5
 24.3213 +
 24.3214 +	sdl_pc=no
 24.3215 +elif test $pkg_failed = untried; then
 24.3216 +     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.3217 +$as_echo "no" >&6; }
 24.3218 +	sdl_pc=no
 24.3219 +else
 24.3220 +	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
 24.3221 +	SDL_LIBS=$pkg_cv_SDL_LIBS
 24.3222 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 24.3223 +$as_echo "yes" >&6; }
 24.3224 +	sdl_pc=yes
 24.3225 +fi
 24.3226 +  else
 24.3227 +    sdl_pc=no
 24.3228 +    if test x$sdl_exec_prefix != x ; then
 24.3229 +      sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
 24.3230 +      if test x${SDL_CONFIG+set} != xset ; then
 24.3231 +        SDL_CONFIG=$sdl_exec_prefix/bin/sdl2-config
 24.3232 +      fi
 24.3233 +    fi
 24.3234 +    if test x$sdl_prefix != x ; then
 24.3235 +      sdl_config_args="$sdl_config_args --prefix=$sdl_prefix"
 24.3236 +      if test x${SDL_CONFIG+set} != xset ; then
 24.3237 +        SDL_CONFIG=$sdl_prefix/bin/sdl2-config
 24.3238 +      fi
 24.3239 +    fi
 24.3240 +  fi
 24.3241 +
 24.3242 +  if test "x$sdl_pc" = xyes ; then
 24.3243 +    no_sdl=""
 24.3244 +    SDL_CONFIG="pkg-config sdl2"
 24.3245 +  else
 24.3246 +    as_save_PATH="$PATH"
 24.3247 +    if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
 24.3248 +      PATH="$prefix/bin:$prefix/usr/bin:$PATH"
 24.3249 +    fi
 24.3250 +    # Extract the first word of "sdl2-config", so it can be a program name with args.
 24.3251 +set dummy sdl2-config; ac_word=$2
 24.3252 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 24.3253 +$as_echo_n "checking for $ac_word... " >&6; }
 24.3254 +if ${ac_cv_path_SDL_CONFIG+:} false; then :
 24.3255 +  $as_echo_n "(cached) " >&6
 24.3256 +else
 24.3257 +  case $SDL_CONFIG in
 24.3258 +  [\\/]* | ?:[\\/]*)
 24.3259 +  ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
 24.3260 +  ;;
 24.3261 +  *)
 24.3262 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.3263 +for as_dir in $PATH
 24.3264 +do
 24.3265 +  IFS=$as_save_IFS
 24.3266 +  test -z "$as_dir" && as_dir=.
 24.3267 +    for ac_exec_ext in '' $ac_executable_extensions; do
 24.3268 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 24.3269 +    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 24.3270 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 24.3271 +    break 2
 24.3272 +  fi
 24.3273 +done
 24.3274 +  done
 24.3275 +IFS=$as_save_IFS
 24.3276 +
 24.3277 +  test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
 24.3278 +  ;;
 24.3279 +esac
 24.3280 +fi
 24.3281 +SDL_CONFIG=$ac_cv_path_SDL_CONFIG
 24.3282 +if test -n "$SDL_CONFIG"; then
 24.3283 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
 24.3284 +$as_echo "$SDL_CONFIG" >&6; }
 24.3285 +else
 24.3286 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.3287 +$as_echo "no" >&6; }
 24.3288 +fi
 24.3289 +
 24.3290 +
 24.3291 +    PATH="$as_save_PATH"
 24.3292 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
 24.3293 +$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
 24.3294 +    no_sdl=""
 24.3295 +
 24.3296 +    if test "$SDL_CONFIG" = "no" ; then
 24.3297 +      no_sdl=yes
 24.3298 +    else
 24.3299 +      SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags`
 24.3300 +      SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs`
 24.3301 +
 24.3302 +      sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \
 24.3303 +             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 24.3304 +      sdl_minor_version=`$SDL_CONFIG $sdl_config_args --version | \
 24.3305 +             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 24.3306 +      sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
 24.3307 +             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 24.3308 +      if test "x$enable_sdltest" = "xyes" ; then
 24.3309 +        ac_save_CFLAGS="$CFLAGS"
 24.3310 +        ac_save_CXXFLAGS="$CXXFLAGS"
 24.3311 +        ac_save_LIBS="$LIBS"
 24.3312 +        CFLAGS="$CFLAGS $SDL_CFLAGS"
 24.3313 +        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
 24.3314 +        LIBS="$LIBS $SDL_LIBS"
 24.3315 +      rm -f conf.sdltest
 24.3316 +      if test "$cross_compiling" = yes; then :
 24.3317 +  echo $ac_n "cross compiling; assumed OK... $ac_c"
 24.3318 +else
 24.3319 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3320 +/* end confdefs.h.  */
 24.3321 +
 24.3322 +#include <stdio.h>
 24.3323 +#include <stdlib.h>
 24.3324 +#include <string.h>
 24.3325 +#include "SDL.h"
 24.3326 +
 24.3327 +char*
 24.3328 +my_strdup (char *str)
 24.3329 +{
 24.3330 +  char *new_str;
 24.3331 +
 24.3332 +  if (str)
 24.3333 +    {
 24.3334 +      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
 24.3335 +      strcpy (new_str, str);
 24.3336 +    }
 24.3337 +  else
 24.3338 +    new_str = NULL;
 24.3339 +
 24.3340 +  return new_str;
 24.3341 +}
 24.3342 +
 24.3343 +int main (int argc, char *argv[])
 24.3344 +{
 24.3345 +  int major, minor, micro;
 24.3346 +  char *tmp_version;
 24.3347 +
 24.3348 +  /* This hangs on some systems (?)
 24.3349 +  system ("touch conf.sdltest");
 24.3350 +  */
 24.3351 +  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
 24.3352 +
 24.3353 +  /* HP/UX 9 (%@#!) writes to sscanf strings */
 24.3354 +  tmp_version = my_strdup("$min_sdl_version");
 24.3355 +  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 24.3356 +     printf("%s, bad version string\n", "$min_sdl_version");
 24.3357 +     exit(1);
 24.3358 +   }
 24.3359 +
 24.3360 +   if (($sdl_major_version > major) ||
 24.3361 +      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
 24.3362 +      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
 24.3363 +    {
 24.3364 +      return 0;
 24.3365 +    }
 24.3366 +  else
 24.3367 +    {
 24.3368 +      printf("\n*** 'sdl2-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
 24.3369 +      printf("*** of SDL required is %d.%d.%d. If sdl2-config is correct, then it is\n", major, minor, micro);
 24.3370 +      printf("*** best to upgrade to the required version.\n");
 24.3371 +      printf("*** If sdl2-config was wrong, set the environment variable SDL_CONFIG\n");
 24.3372 +      printf("*** to point to the correct copy of sdl2-config, and remove the file\n");
 24.3373 +      printf("*** config.cache before re-running configure\n");
 24.3374 +      return 1;
 24.3375 +    }
 24.3376 +}
 24.3377 +
 24.3378 +
 24.3379 +_ACEOF
 24.3380 +if ac_fn_c_try_run "$LINENO"; then :
 24.3381 +
 24.3382 +else
 24.3383 +  no_sdl=yes
 24.3384 +fi
 24.3385 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 24.3386 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
 24.3387 +fi
 24.3388 +
 24.3389 +        CFLAGS="$ac_save_CFLAGS"
 24.3390 +        CXXFLAGS="$ac_save_CXXFLAGS"
 24.3391 +        LIBS="$ac_save_LIBS"
 24.3392 +      fi
 24.3393 +    fi
 24.3394 +    if test "x$no_sdl" = x ; then
 24.3395 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 24.3396 +$as_echo "yes" >&6; }
 24.3397 +    else
 24.3398 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 24.3399 +$as_echo "no" >&6; }
 24.3400 +    fi
 24.3401 +  fi
 24.3402 +  if test "x$no_sdl" = x ; then
 24.3403 +     :
 24.3404 +  else
 24.3405 +     if test "$SDL_CONFIG" = "no" ; then
 24.3406 +       echo "*** The sdl2-config script installed by SDL could not be found"
 24.3407 +       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
 24.3408 +       echo "*** your path, or set the SDL_CONFIG environment variable to the"
 24.3409 +       echo "*** full path to sdl2-config."
 24.3410 +     else
 24.3411 +       if test -f conf.sdltest ; then
 24.3412 +        :
 24.3413 +       else
 24.3414 +          echo "*** Could not run SDL test program, checking why..."
 24.3415 +          CFLAGS="$CFLAGS $SDL_CFLAGS"
 24.3416 +          CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
 24.3417 +          LIBS="$LIBS $SDL_LIBS"
 24.3418 +          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3419 +/* end confdefs.h.  */
 24.3420 +
 24.3421 +#include <stdio.h>
 24.3422 +#include "SDL.h"
 24.3423 +
 24.3424 +int main(int argc, char *argv[])
 24.3425 +{ return 0; }
 24.3426 +#undef  main
 24.3427 +#define main K_and_R_C_main
 24.3428 +
 24.3429 +int
 24.3430 +main ()
 24.3431 +{
 24.3432 + return 0;
 24.3433 +  ;
 24.3434 +  return 0;
 24.3435 +}
 24.3436 +_ACEOF
 24.3437 +if ac_fn_c_try_link "$LINENO"; then :
 24.3438 +   echo "*** The test program compiled, but did not run. This usually means"
 24.3439 +          echo "*** that the run-time linker is not finding SDL or finding the wrong"
 24.3440 +          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
 24.3441 +          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 24.3442 +          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 24.3443 +          echo "*** is required on your system"
 24.3444 +	  echo "***"
 24.3445 +          echo "*** If you have an old version installed, it is best to remove it, although"
 24.3446 +          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 24.3447 +else
 24.3448 +   echo "*** The test program failed to compile or link. See the file config.log for the"
 24.3449 +          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
 24.3450 +          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
 24.3451 +          echo "*** may want to edit the sdl2-config script: $SDL_CONFIG"
 24.3452 +fi
 24.3453 +rm -f core conftest.err conftest.$ac_objext \
 24.3454 +    conftest$ac_exeext conftest.$ac_ext
 24.3455 +          CFLAGS="$ac_save_CFLAGS"
 24.3456 +          CXXFLAGS="$ac_save_CXXFLAGS"
 24.3457 +          LIBS="$ac_save_LIBS"
 24.3458 +       fi
 24.3459 +     fi
 24.3460 +     SDL_CFLAGS=""
 24.3461 +     SDL_LIBS=""
 24.3462 +     as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
 24.3463 +
 24.3464 +  fi
 24.3465 +
 24.3466 +
 24.3467 +  rm -f conf.sdltest
 24.3468 +
 24.3469 +CFLAGS="$CFLAGS $SDL_CFLAGS"
 24.3470 +LIBS="$LIBS -lSDL2_test $SDL_LIBS $EXTRALIB"
 24.3471 +
 24.3472 +ac_ext=c
 24.3473 +ac_cpp='$CPP $CPPFLAGS'
 24.3474 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 24.3475 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 24.3476 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 24.3477 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 24.3478 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
 24.3479 +# On Suns, sometimes $CPP names a directory.
 24.3480 +if test -n "$CPP" && test -d "$CPP"; then
 24.3481 +  CPP=
 24.3482 +fi
 24.3483 +if test -z "$CPP"; then
 24.3484 +  if ${ac_cv_prog_CPP+:} false; then :
 24.3485 +  $as_echo_n "(cached) " >&6
 24.3486 +else
 24.3487 +      # Double quotes because CPP needs to be expanded
 24.3488 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 24.3489 +    do
 24.3490 +      ac_preproc_ok=false
 24.3491 +for ac_c_preproc_warn_flag in '' yes
 24.3492 +do
 24.3493 +  # Use a header file that comes with gcc, so configuring glibc
 24.3494 +  # with a fresh cross-compiler works.
 24.3495 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 24.3496 +  # <limits.h> exists even on freestanding compilers.
 24.3497 +  # On the NeXT, cc -E runs the code through the compiler's parser,
 24.3498 +  # not just through cpp. "Syntax error" is here to catch this case.
 24.3499 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3500 +/* end confdefs.h.  */
 24.3501 +#ifdef __STDC__
 24.3502 +# include <limits.h>
 24.3503 +#else
 24.3504 +# include <assert.h>
 24.3505 +#endif
 24.3506 +		     Syntax error
 24.3507 +_ACEOF
 24.3508 +if ac_fn_c_try_cpp "$LINENO"; then :
 24.3509 +
 24.3510 +else
 24.3511 +  # Broken: fails on valid input.
 24.3512 +continue
 24.3513 +fi
 24.3514 +rm -f conftest.err conftest.i conftest.$ac_ext
 24.3515 +
 24.3516 +  # OK, works on sane cases.  Now check whether nonexistent headers
 24.3517 +  # can be detected and how.
 24.3518 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3519 +/* end confdefs.h.  */
 24.3520 +#include <ac_nonexistent.h>
 24.3521 +_ACEOF
 24.3522 +if ac_fn_c_try_cpp "$LINENO"; then :
 24.3523 +  # Broken: success on invalid input.
 24.3524 +continue
 24.3525 +else
 24.3526 +  # Passes both tests.
 24.3527 +ac_preproc_ok=:
 24.3528 +break
 24.3529 +fi
 24.3530 +rm -f conftest.err conftest.i conftest.$ac_ext
 24.3531 +
 24.3532 +done
 24.3533 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 24.3534 +rm -f conftest.i conftest.err conftest.$ac_ext
 24.3535 +if $ac_preproc_ok; then :
 24.3536 +  break
 24.3537 +fi
 24.3538 +
 24.3539 +    done
 24.3540 +    ac_cv_prog_CPP=$CPP
 24.3541 +
 24.3542 +fi
 24.3543 +  CPP=$ac_cv_prog_CPP
 24.3544 +else
 24.3545 +  ac_cv_prog_CPP=$CPP
 24.3546 +fi
 24.3547 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 24.3548 +$as_echo "$CPP" >&6; }
 24.3549 +ac_preproc_ok=false
 24.3550 +for ac_c_preproc_warn_flag in '' yes
 24.3551 +do
 24.3552 +  # Use a header file that comes with gcc, so configuring glibc
 24.3553 +  # with a fresh cross-compiler works.
 24.3554 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 24.3555 +  # <limits.h> exists even on freestanding compilers.
 24.3556 +  # On the NeXT, cc -E runs the code through the compiler's parser,
 24.3557 +  # not just through cpp. "Syntax error" is here to catch this case.
 24.3558 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3559 +/* end confdefs.h.  */
 24.3560 +#ifdef __STDC__
 24.3561 +# include <limits.h>
 24.3562 +#else
 24.3563 +# include <assert.h>
 24.3564 +#endif
 24.3565 +		     Syntax error
 24.3566 +_ACEOF
 24.3567 +if ac_fn_c_try_cpp "$LINENO"; then :
 24.3568 +
 24.3569 +else
 24.3570 +  # Broken: fails on valid input.
 24.3571 +continue
 24.3572 +fi
 24.3573 +rm -f conftest.err conftest.i conftest.$ac_ext
 24.3574 +
 24.3575 +  # OK, works on sane cases.  Now check whether nonexistent headers
 24.3576 +  # can be detected and how.
 24.3577 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3578 +/* end confdefs.h.  */
 24.3579 +#include <ac_nonexistent.h>
 24.3580 +_ACEOF
 24.3581 +if ac_fn_c_try_cpp "$LINENO"; then :
 24.3582 +  # Broken: success on invalid input.
 24.3583 +continue
 24.3584 +else
 24.3585 +  # Passes both tests.
 24.3586 +ac_preproc_ok=:
 24.3587 +break
 24.3588 +fi
 24.3589 +rm -f conftest.err conftest.i conftest.$ac_ext
 24.3590 +
 24.3591 +done
 24.3592 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 24.3593 +rm -f conftest.i conftest.err conftest.$ac_ext
 24.3594 +if $ac_preproc_ok; then :
 24.3595 +
 24.3596 +else
 24.3597 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 24.3598 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 24.3599 +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 24.3600 +See \`config.log' for more details" "$LINENO" 5; }
 24.3601 +fi
 24.3602 +
 24.3603 +ac_ext=c
 24.3604 +ac_cpp='$CPP $CPPFLAGS'
 24.3605 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 24.3606 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 24.3607 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 24.3608 +
 24.3609 +
 24.3610 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 24.3611 +$as_echo_n "checking for X... " >&6; }
 24.3612 +
 24.3613 +
 24.3614 +# Check whether --with-x was given.
 24.3615 +if test "${with_x+set}" = set; then :
 24.3616 +  withval=$with_x;
 24.3617 +fi
 24.3618 +
 24.3619 +# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 24.3620 +if test "x$with_x" = xno; then
 24.3621 +  # The user explicitly disabled X.
 24.3622 +  have_x=disabled
 24.3623 +else
 24.3624 +  case $x_includes,$x_libraries in #(
 24.3625 +    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 24.3626 +    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 24.3627 +  $as_echo_n "(cached) " >&6
 24.3628 +else
 24.3629 +  # One or both of the vars are not set, and there is no cached value.
 24.3630 +ac_x_includes=no ac_x_libraries=no
 24.3631 +rm -f -r conftest.dir
 24.3632 +if mkdir conftest.dir; then
 24.3633 +  cd conftest.dir
 24.3634 +  cat >Imakefile <<'_ACEOF'
 24.3635 +incroot:
 24.3636 +	@echo incroot='${INCROOT}'
 24.3637 +usrlibdir:
 24.3638 +	@echo usrlibdir='${USRLIBDIR}'
 24.3639 +libdir:
 24.3640 +	@echo libdir='${LIBDIR}'
 24.3641 +_ACEOF
 24.3642 +  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 24.3643 +    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 24.3644 +    for ac_var in incroot usrlibdir libdir; do
 24.3645 +      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 24.3646 +    done
 24.3647 +    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 24.3648 +    for ac_extension in a so sl dylib la dll; do
 24.3649 +      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 24.3650 +	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
 24.3651 +	ac_im_usrlibdir=$ac_im_libdir; break
 24.3652 +      fi
 24.3653 +    done
 24.3654 +    # Screen out bogus values from the imake configuration.  They are
 24.3655 +    # bogus both because they are the default anyway, and because
 24.3656 +    # using them would break gcc on systems where it needs fixed includes.
 24.3657 +    case $ac_im_incroot in
 24.3658 +	/usr/include) ac_x_includes= ;;
 24.3659 +	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 24.3660 +    esac
 24.3661 +    case $ac_im_usrlibdir in
 24.3662 +	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
 24.3663 +	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 24.3664 +    esac
 24.3665 +  fi
 24.3666 +  cd ..
 24.3667 +  rm -f -r conftest.dir
 24.3668 +fi
 24.3669 +
 24.3670 +# Standard set of common directories for X headers.
 24.3671 +# Check X11 before X11Rn because it is often a symlink to the current release.
 24.3672 +ac_x_header_dirs='
 24.3673 +/usr/X11/include
 24.3674 +/usr/X11R7/include
 24.3675 +/usr/X11R6/include
 24.3676 +/usr/X11R5/include
 24.3677 +/usr/X11R4/include
 24.3678 +
 24.3679 +/usr/include/X11
 24.3680 +/usr/include/X11R7
 24.3681 +/usr/include/X11R6
 24.3682 +/usr/include/X11R5
 24.3683 +/usr/include/X11R4
 24.3684 +
 24.3685 +/usr/local/X11/include
 24.3686 +/usr/local/X11R7/include
 24.3687 +/usr/local/X11R6/include
 24.3688 +/usr/local/X11R5/include
 24.3689 +/usr/local/X11R4/include
 24.3690 +
 24.3691 +/usr/local/include/X11
 24.3692 +/usr/local/include/X11R7
 24.3693 +/usr/local/include/X11R6
 24.3694 +/usr/local/include/X11R5
 24.3695 +/usr/local/include/X11R4
 24.3696 +
 24.3697 +/usr/X386/include
 24.3698 +/usr/x386/include
 24.3699 +/usr/XFree86/include/X11
 24.3700 +
 24.3701 +/usr/include
 24.3702 +/usr/local/include
 24.3703 +/usr/unsupported/include
 24.3704 +/usr/athena/include
 24.3705 +/usr/local/x11r5/include
 24.3706 +/usr/lpp/Xamples/include
 24.3707 +
 24.3708 +/usr/openwin/include
 24.3709 +/usr/openwin/share/include'
 24.3710 +
 24.3711 +if test "$ac_x_includes" = no; then
 24.3712 +  # Guess where to find include files, by looking for Xlib.h.
 24.3713 +  # First, try using that file with no special directory specified.
 24.3714 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3715 +/* end confdefs.h.  */
 24.3716 +#include <X11/Xlib.h>
 24.3717 +_ACEOF
 24.3718 +if ac_fn_c_try_cpp "$LINENO"; then :
 24.3719 +  # We can compile using X headers with no special include directory.
 24.3720 +ac_x_includes=
 24.3721 +else
 24.3722 +  for ac_dir in $ac_x_header_dirs; do
 24.3723 +  if test -r "$ac_dir/X11/Xlib.h"; then
 24.3724 +    ac_x_includes=$ac_dir
 24.3725 +    break
 24.3726 +  fi
 24.3727 +done
 24.3728 +fi
 24.3729 +rm -f conftest.err conftest.i conftest.$ac_ext
 24.3730 +fi # $ac_x_includes = no
 24.3731 +
 24.3732 +if test "$ac_x_libraries" = no; then
 24.3733 +  # Check for the libraries.
 24.3734 +  # See if we find them without any special options.
 24.3735 +  # Don't add to $LIBS permanently.
 24.3736 +  ac_save_LIBS=$LIBS
 24.3737 +  LIBS="-lX11 $LIBS"
 24.3738 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3739 +/* end confdefs.h.  */
 24.3740 +#include <X11/Xlib.h>
 24.3741 +int
 24.3742 +main ()
 24.3743 +{
 24.3744 +XrmInitialize ()
 24.3745 +  ;
 24.3746 +  return 0;
 24.3747 +}
 24.3748 +_ACEOF
 24.3749 +if ac_fn_c_try_link "$LINENO"; then :
 24.3750 +  LIBS=$ac_save_LIBS
 24.3751 +# We can link X programs with no special library path.
 24.3752 +ac_x_libraries=
 24.3753 +else
 24.3754 +  LIBS=$ac_save_LIBS
 24.3755 +for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 24.3756 +do
 24.3757 +  # Don't even attempt the hair of trying to link an X program!
 24.3758 +  for ac_extension in a so sl dylib la dll; do
 24.3759 +    if test -r "$ac_dir/libX11.$ac_extension"; then
 24.3760 +      ac_x_libraries=$ac_dir
 24.3761 +      break 2
 24.3762 +    fi
 24.3763 +  done
 24.3764 +done
 24.3765 +fi
 24.3766 +rm -f core conftest.err conftest.$ac_objext \
 24.3767 +    conftest$ac_exeext conftest.$ac_ext
 24.3768 +fi # $ac_x_libraries = no
 24.3769 +
 24.3770 +case $ac_x_includes,$ac_x_libraries in #(
 24.3771 +  no,* | *,no | *\'*)
 24.3772 +    # Didn't find X, or a directory has "'" in its name.
 24.3773 +    ac_cv_have_x="have_x=no";; #(
 24.3774 +  *)
 24.3775 +    # Record where we found X for the cache.
 24.3776 +    ac_cv_have_x="have_x=yes\
 24.3777 +	ac_x_includes='$ac_x_includes'\
 24.3778 +	ac_x_libraries='$ac_x_libraries'"
 24.3779 +esac
 24.3780 +fi
 24.3781 +;; #(
 24.3782 +    *) have_x=yes;;
 24.3783 +  esac
 24.3784 +  eval "$ac_cv_have_x"
 24.3785 +fi # $with_x != no
 24.3786 +
 24.3787 +if test "$have_x" != yes; then
 24.3788 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 24.3789 +$as_echo "$have_x" >&6; }
 24.3790 +  no_x=yes
 24.3791 +else
 24.3792 +  # If each of the values was on the command line, it overrides each guess.
 24.3793 +  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 24.3794 +  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 24.3795 +  # Update the cache value to reflect the command line values.
 24.3796 +  ac_cv_have_x="have_x=yes\
 24.3797 +	ac_x_includes='$x_includes'\
 24.3798 +	ac_x_libraries='$x_libraries'"
 24.3799 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 24.3800 +$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 24.3801 +fi
 24.3802 +
 24.3803 +if test x$have_x = xyes; then
 24.3804 +    if test x$ac_x_includes = xno || test x$ac_x_includes = x; then
 24.3805 +        :
 24.3806 +    else
 24.3807 +        CFLAGS="$CFLAGS -I$ac_x_includes"
 24.3808 +    fi
 24.3809 +    if test x$ac_x_libraries = xno || test x$ac_x_libraries = x; then
 24.3810 +        :
 24.3811 +    else
 24.3812 +        XPATH="-L$ac_x_libraries"
 24.3813 +    fi
 24.3814 +fi
 24.3815 +
 24.3816 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL support" >&5
 24.3817 +$as_echo_n "checking for OpenGL support... " >&6; }
 24.3818 +have_opengl=no
 24.3819 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3820 +/* end confdefs.h.  */
 24.3821 +
 24.3822 + #include "SDL_opengl.h"
 24.3823 +
 24.3824 +int
 24.3825 +main ()
 24.3826 +{
 24.3827 +
 24.3828 +
 24.3829 +  ;
 24.3830 +  return 0;
 24.3831 +}
 24.3832 +_ACEOF
 24.3833 +if ac_fn_c_try_compile "$LINENO"; then :
 24.3834 +
 24.3835 +have_opengl=yes
 24.3836 +
 24.3837 +fi
 24.3838 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24.3839 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengl" >&5
 24.3840 +$as_echo "$have_opengl" >&6; }
 24.3841 +
 24.3842 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES support" >&5
 24.3843 +$as_echo_n "checking for OpenGL ES support... " >&6; }
 24.3844 +have_opengles=no
 24.3845 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3846 +/* end confdefs.h.  */
 24.3847 +
 24.3848 + #if defined (__IPHONEOS__)
 24.3849 +    #include <OpenGLES/ES1/gl.h>
 24.3850 + #else
 24.3851 +    #include <GLES/gl.h>
 24.3852 + #endif /* __QNXNTO__ */
 24.3853 +
 24.3854 +int
 24.3855 +main ()
 24.3856 +{
 24.3857 +
 24.3858 +
 24.3859 +  ;
 24.3860 +  return 0;
 24.3861 +}
 24.3862 +_ACEOF
 24.3863 +if ac_fn_c_try_compile "$LINENO"; then :
 24.3864 +
 24.3865 +have_opengles=yes
 24.3866 +
 24.3867 +fi
 24.3868 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24.3869 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengles" >&5
 24.3870 +$as_echo "$have_opengles" >&6; }
 24.3871 +
 24.3872 +GLLIB=""
 24.3873 +if test x$have_opengles = xyes; then
 24.3874 +    CFLAGS="$CFLAGS -DHAVE_OPENGLES"
 24.3875 +    GLLIB="$XPATH -lGLESv1_CM"
 24.3876 +elif test x$have_opengl = xyes; then
 24.3877 +    CFLAGS="$CFLAGS -DHAVE_OPENGL"
 24.3878 +    GLLIB="$XPATH $SYS_GL_LIBS"
 24.3879 +else
 24.3880 +    GLLIB=""
 24.3881 +fi
 24.3882 +
 24.3883 +
 24.3884 +
 24.3885 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTF_Init in -lSDL2_ttf" >&5
 24.3886 +$as_echo_n "checking for TTF_Init in -lSDL2_ttf... " >&6; }
 24.3887 +if ${ac_cv_lib_SDL2_ttf_TTF_Init+:} false; then :
 24.3888 +  $as_echo_n "(cached) " >&6
 24.3889 +else
 24.3890 +  ac_check_lib_save_LIBS=$LIBS
 24.3891 +LIBS="-lSDL2_ttf  $LIBS"
 24.3892 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 24.3893 +/* end confdefs.h.  */
 24.3894 +
 24.3895 +/* Override any GCC internal prototype to avoid an error.
 24.3896 +   Use char because int might match the return type of a GCC
 24.3897 +   builtin and then its argument prototype would still apply.  */
 24.3898 +#ifdef __cplusplus
 24.3899 +extern "C"
 24.3900 +#endif
 24.3901 +char TTF_Init ();
 24.3902 +int
 24.3903 +main ()
 24.3904 +{
 24.3905 +return TTF_Init ();
 24.3906 +  ;
 24.3907 +  return 0;
 24.3908 +}
 24.3909 +_ACEOF
 24.3910 +if ac_fn_c_try_link "$LINENO"; then :
 24.3911 +  ac_cv_lib_SDL2_ttf_TTF_Init=yes
 24.3912 +else
 24.3913 +  ac_cv_lib_SDL2_ttf_TTF_Init=no
 24.3914 +fi
 24.3915 +rm -f core conftest.err conftest.$ac_objext \
 24.3916 +    conftest$ac_exeext conftest.$ac_ext
 24.3917 +LIBS=$ac_check_lib_save_LIBS
 24.3918 +fi
 24.3919 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL2_ttf_TTF_Init" >&5
 24.3920 +$as_echo "$ac_cv_lib_SDL2_ttf_TTF_Init" >&6; }
 24.3921 +if test "x$ac_cv_lib_SDL2_ttf_TTF_Init" = xyes; then :
 24.3922 +  have_SDL_ttf=yes
 24.3923 +fi
 24.3924 +
 24.3925 +if test x$have_SDL_ttf = xyes; then
 24.3926 +    CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
 24.3927 +    SDL_TTF_LIB="-lSDL2_ttf"
 24.3928 +fi
 24.3929 +
 24.3930 +
 24.3931 +ac_config_headers="$ac_config_headers config.h"
 24.3932 +
 24.3933 +ac_config_files="$ac_config_files Makefile"
 24.3934 +
 24.3935 +cat >confcache <<\_ACEOF
 24.3936 +# This file is a shell script that caches the results of configure
 24.3937 +# tests run on this system so they can be shared between configure
 24.3938 +# scripts and configure runs, see configure's option --config-cache.
 24.3939 +# It is not useful on other systems.  If it contains results you don't
 24.3940 +# want to keep, you may remove or edit it.
 24.3941 +#
 24.3942 +# config.status only pays attention to the cache file if you give it
 24.3943 +# the --recheck option to rerun configure.
 24.3944 +#
 24.3945 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
 24.3946 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
 24.3947 +# following values.
 24.3948 +
 24.3949 +_ACEOF
 24.3950 +
 24.3951 +# The following way of writing the cache mishandles newlines in values,
 24.3952 +# but we know of no workaround that is simple, portable, and efficient.
 24.3953 +# So, we kill variables containing newlines.
 24.3954 +# Ultrix sh set writes to stderr and can't be redirected directly,
 24.3955 +# and sets the high bit in the cache file unless we assign to the vars.
 24.3956 +(
 24.3957 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 24.3958 +    eval ac_val=\$$ac_var
 24.3959 +    case $ac_val in #(
 24.3960 +    *${as_nl}*)
 24.3961 +      case $ac_var in #(
 24.3962 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 24.3963 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 24.3964 +      esac
 24.3965 +      case $ac_var in #(
 24.3966 +      _ | IFS | as_nl) ;; #(
 24.3967 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 24.3968 +      *) { eval $ac_var=; unset $ac_var;} ;;
 24.3969 +      esac ;;
 24.3970 +    esac
 24.3971 +  done
 24.3972 +
 24.3973 +  (set) 2>&1 |
 24.3974 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 24.3975 +    *${as_nl}ac_space=\ *)
 24.3976 +      # `set' does not quote correctly, so add quotes: double-quote
 24.3977 +      # substitution turns \\\\ into \\, and sed turns \\ into \.
 24.3978 +      sed -n \
 24.3979 +	"s/'/'\\\\''/g;
 24.3980 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 24.3981 +      ;; #(
 24.3982 +    *)
 24.3983 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
 24.3984 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 24.3985 +      ;;
 24.3986 +    esac |
 24.3987 +    sort
 24.3988 +) |
 24.3989 +  sed '
 24.3990 +     /^ac_cv_env_/b end
 24.3991 +     t clear
 24.3992 +     :clear
 24.3993 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 24.3994 +     t end
 24.3995 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 24.3996 +     :end' >>confcache
 24.3997 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 24.3998 +  if test -w "$cache_file"; then
 24.3999 +    if test "x$cache_file" != "x/dev/null"; then
 24.4000 +      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 24.4001 +$as_echo "$as_me: updating cache $cache_file" >&6;}
 24.4002 +      if test ! -f "$cache_file" || test -h "$cache_file"; then
 24.4003 +	cat confcache >"$cache_file"
 24.4004 +      else
 24.4005 +        case $cache_file in #(
 24.4006 +        */* | ?:*)
 24.4007 +	  mv -f confcache "$cache_file"$$ &&
 24.4008 +	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 24.4009 +        *)
 24.4010 +	  mv -f confcache "$cache_file" ;;
 24.4011 +	esac
 24.4012 +      fi
 24.4013 +    fi
 24.4014 +  else
 24.4015 +    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 24.4016 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 24.4017 +  fi
 24.4018 +fi
 24.4019 +rm -f confcache
 24.4020 +
 24.4021 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
 24.4022 +# Let make expand exec_prefix.
 24.4023 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 24.4024 +
 24.4025 +DEFS=-DHAVE_CONFIG_H
 24.4026 +
 24.4027 +ac_libobjs=
 24.4028 +ac_ltlibobjs=
 24.4029 +U=
 24.4030 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 24.4031 +  # 1. Remove the extension, and $U if already installed.
 24.4032 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 24.4033 +  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 24.4034 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 24.4035 +  #    will be set to the directory where LIBOBJS objects are built.
 24.4036 +  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 24.4037 +  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 24.4038 +done
 24.4039 +LIBOBJS=$ac_libobjs
 24.4040 +
 24.4041 +LTLIBOBJS=$ac_ltlibobjs
 24.4042 +
 24.4043 +
 24.4044 +
 24.4045 +: "${CONFIG_STATUS=./config.status}"
 24.4046 +ac_write_fail=0
 24.4047 +ac_clean_files_save=$ac_clean_files
 24.4048 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 24.4049 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 24.4050 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 24.4051 +as_write_fail=0
 24.4052 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 24.4053 +#! $SHELL
 24.4054 +# Generated by $as_me.
 24.4055 +# Run this file to recreate the current configuration.
 24.4056 +# Compiler output produced by configure, useful for debugging
 24.4057 +# configure, is in config.log if it exists.
 24.4058 +
 24.4059 +debug=false
 24.4060 +ac_cs_recheck=false
 24.4061 +ac_cs_silent=false
 24.4062 +
 24.4063 +SHELL=\${CONFIG_SHELL-$SHELL}
 24.4064 +export SHELL
 24.4065 +_ASEOF
 24.4066 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 24.4067 +## -------------------- ##
 24.4068 +## M4sh Initialization. ##
 24.4069 +## -------------------- ##
 24.4070 +
 24.4071 +# Be more Bourne compatible
 24.4072 +DUALCASE=1; export DUALCASE # for MKS sh
 24.4073 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 24.4074 +  emulate sh
 24.4075 +  NULLCMD=:
 24.4076 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 24.4077 +  # is contrary to our usage.  Disable this feature.
 24.4078 +  alias -g '${1+"$@"}'='"$@"'
 24.4079 +  setopt NO_GLOB_SUBST
 24.4080 +else
 24.4081 +  case `(set -o) 2>/dev/null` in #(
 24.4082 +  *posix*) :
 24.4083 +    set -o posix ;; #(
 24.4084 +  *) :
 24.4085 +     ;;
 24.4086 +esac
 24.4087 +fi
 24.4088 +
 24.4089 +
 24.4090 +as_nl='
 24.4091 +'
 24.4092 +export as_nl
 24.4093 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
 24.4094 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 24.4095 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 24.4096 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 24.4097 +# Prefer a ksh shell builtin over an external printf program on Solaris,
 24.4098 +# but without wasting forks for bash or zsh.
 24.4099 +if test -z "$BASH_VERSION$ZSH_VERSION" \
 24.4100 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 24.4101 +  as_echo='print -r --'
 24.4102 +  as_echo_n='print -rn --'
 24.4103 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 24.4104 +  as_echo='printf %s\n'
 24.4105 +  as_echo_n='printf %s'
 24.4106 +else
 24.4107 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 24.4108 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 24.4109 +    as_echo_n='/usr/ucb/echo -n'
 24.4110 +  else
 24.4111 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 24.4112 +    as_echo_n_body='eval
 24.4113 +      arg=$1;
 24.4114 +      case $arg in #(
 24.4115 +      *"$as_nl"*)
 24.4116 +	expr "X$arg" : "X\\(.*\\)$as_nl";
 24.4117 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 24.4118 +      esac;
 24.4119 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 24.4120 +    '
 24.4121 +    export as_echo_n_body
 24.4122 +    as_echo_n='sh -c $as_echo_n_body as_echo'
 24.4123 +  fi
 24.4124 +  export as_echo_body
 24.4125 +  as_echo='sh -c $as_echo_body as_echo'
 24.4126 +fi
 24.4127 +
 24.4128 +# The user is always right.
 24.4129 +if test "${PATH_SEPARATOR+set}" != set; then
 24.4130 +  PATH_SEPARATOR=:
 24.4131 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 24.4132 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 24.4133 +      PATH_SEPARATOR=';'
 24.4134 +  }
 24.4135 +fi
 24.4136 +
 24.4137 +
 24.4138 +# IFS
 24.4139 +# We need space, tab and new line, in precisely that order.  Quoting is
 24.4140 +# there to prevent editors from complaining about space-tab.
 24.4141 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 24.4142 +# splitting by setting IFS to empty value.)
 24.4143 +IFS=" ""	$as_nl"
 24.4144 +
 24.4145 +# Find who we are.  Look in the path if we contain no directory separator.
 24.4146 +as_myself=
 24.4147 +case $0 in #((
 24.4148 +  *[\\/]* ) as_myself=$0 ;;
 24.4149 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 24.4150 +for as_dir in $PATH
 24.4151 +do
 24.4152 +  IFS=$as_save_IFS
 24.4153 +  test -z "$as_dir" && as_dir=.
 24.4154 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 24.4155 +  done
 24.4156 +IFS=$as_save_IFS
 24.4157 +
 24.4158 +     ;;
 24.4159 +esac
 24.4160 +# We did not find ourselves, most probably we were run as `sh COMMAND'
 24.4161 +# in which case we are not to be found in the path.
 24.4162 +if test "x$as_myself" = x; then
 24.4163 +  as_myself=$0
 24.4164 +fi
 24.4165 +if test ! -f "$as_myself"; then
 24.4166 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 24.4167 +  exit 1
 24.4168 +fi
 24.4169 +
 24.4170 +# Unset variables that we do not need and which cause bugs (e.g. in
 24.4171 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 24.4172 +# suppresses any "Segmentation fault" message there.  '((' could
 24.4173 +# trigger a bug in pdksh 5.2.14.
 24.4174 +for as_var in BASH_ENV ENV MAIL MAILPATH
 24.4175 +do eval test x\${$as_var+set} = xset \
 24.4176 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 24.4177 +done
 24.4178 +PS1='$ '
 24.4179 +PS2='> '
 24.4180 +PS4='+ '
 24.4181 +
 24.4182 +# NLS nuisances.
 24.4183 +LC_ALL=C
 24.4184 +export LC_ALL
 24.4185 +LANGUAGE=C
 24.4186 +export LANGUAGE
 24.4187 +
 24.4188 +# CDPATH.
 24.4189 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 24.4190 +
 24.4191 +
 24.4192 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
 24.4193 +# ----------------------------------------
 24.4194 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 24.4195 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 24.4196 +# script with STATUS, using 1 if that was 0.
 24.4197 +as_fn_error ()
 24.4198 +{
 24.4199 +  as_status=$1; test $as_status -eq 0 && as_status=1
 24.4200 +  if test "$4"; then
 24.4201 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 24.4202 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 24.4203 +  fi
 24.4204 +  $as_echo "$as_me: error: $2" >&2
 24.4205 +  as_fn_exit $as_status
 24.4206 +} # as_fn_error
 24.4207 +
 24.4208 +
 24.4209 +# as_fn_set_status STATUS
 24.4210 +# -----------------------
 24.4211 +# Set $? to STATUS, without forking.
 24.4212 +as_fn_set_status ()
 24.4213 +{
 24.4214 +  return $1
 24.4215 +} # as_fn_set_status
 24.4216 +
 24.4217 +# as_fn_exit STATUS
 24.4218 +# -----------------
 24.4219 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 24.4220 +as_fn_exit ()
 24.4221 +{
 24.4222 +  set +e
 24.4223 +  as_fn_set_status $1
 24.4224 +  exit $1
 24.4225 +} # as_fn_exit
 24.4226 +
 24.4227 +# as_fn_unset VAR
 24.4228 +# ---------------
 24.4229 +# Portably unset VAR.
 24.4230 +as_fn_unset ()
 24.4231 +{
 24.4232 +  { eval $1=; unset $1;}
 24.4233 +}
 24.4234 +as_unset=as_fn_unset
 24.4235 +# as_fn_append VAR VALUE
 24.4236 +# ----------------------
 24.4237 +# Append the text in VALUE to the end of the definition contained in VAR. Take
 24.4238 +# advantage of any shell optimizations that allow amortized linear growth over
 24.4239 +# repeated appends, instead of the typical quadratic growth present in naive
 24.4240 +# implementations.
 24.4241 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 24.4242 +  eval 'as_fn_append ()
 24.4243 +  {
 24.4244 +    eval $1+=\$2
 24.4245 +  }'
 24.4246 +else
 24.4247 +  as_fn_append ()
 24.4248 +  {
 24.4249 +    eval $1=\$$1\$2
 24.4250 +  }
 24.4251 +fi # as_fn_append
 24.4252 +
 24.4253 +# as_fn_arith ARG...
 24.4254 +# ------------------
 24.4255 +# Perform arithmetic evaluation on the ARGs, and store the result in the
 24.4256 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
 24.4257 +# must be portable across $(()) and expr.
 24.4258 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 24.4259 +  eval 'as_fn_arith ()
 24.4260 +  {
 24.4261 +    as_val=$(( $* ))
 24.4262 +  }'
 24.4263 +else
 24.4264 +  as_fn_arith ()
 24.4265 +  {
 24.4266 +    as_val=`expr "$@" || test $? -eq 1`
 24.4267 +  }
 24.4268 +fi # as_fn_arith
 24.4269 +
 24.4270 +
 24.4271 +if expr a : '\(a\)' >/dev/null 2>&1 &&
 24.4272 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 24.4273 +  as_expr=expr
 24.4274 +else
 24.4275 +  as_expr=false
 24.4276 +fi
 24.4277 +
 24.4278 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 24.4279 +  as_basename=basename
 24.4280 +else
 24.4281 +  as_basename=false
 24.4282 +fi
 24.4283 +
 24.4284 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 24.4285 +  as_dirname=dirname
 24.4286 +else
 24.4287 +  as_dirname=false
 24.4288 +fi
 24.4289 +
 24.4290 +as_me=`$as_basename -- "$0" ||
 24.4291 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 24.4292 +	 X"$0" : 'X\(//\)$' \| \
 24.4293 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 24.4294 +$as_echo X/"$0" |
 24.4295 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
 24.4296 +	    s//\1/
 24.4297 +	    q
 24.4298 +	  }
 24.4299 +	  /^X\/\(\/\/\)$/{
 24.4300 +	    s//\1/
 24.4301 +	    q
 24.4302 +	  }
 24.4303 +	  /^X\/\(\/\).*/{
 24.4304 +	    s//\1/
 24.4305 +	    q
 24.4306 +	  }
 24.4307 +	  s/.*/./; q'`
 24.4308 +
 24.4309 +# Avoid depending upon Character Ranges.
 24.4310 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 24.4311 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 24.4312 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 24.4313 +as_cr_digits='0123456789'
 24.4314 +as_cr_alnum=$as_cr_Letters$as_cr_digits
 24.4315 +
 24.4316 +ECHO_C= ECHO_N= ECHO_T=
 24.4317 +case `echo -n x` in #(((((
 24.4318 +-n*)
 24.4319 +  case `echo 'xy\c'` in
 24.4320 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 24.4321 +  xy)  ECHO_C='\c';;
 24.4322 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 24.4323 +       ECHO_T='	';;
 24.4324 +  esac;;
 24.4325 +*)
 24.4326 +  ECHO_N='-n';;
 24.4327 +esac
 24.4328 +
 24.4329 +rm -f conf$$ conf$$.exe conf$$.file
 24.4330 +if test -d conf$$.dir; then
 24.4331 +  rm -f conf$$.dir/conf$$.file
 24.4332 +else
 24.4333 +  rm -f conf$$.dir
 24.4334 +  mkdir conf$$.dir 2>/dev/null
 24.4335 +fi
 24.4336 +if (echo >conf$$.file) 2>/dev/null; then
 24.4337 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
 24.4338 +    as_ln_s='ln -s'
 24.4339 +    # ... but there are two gotchas:
 24.4340 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 24.4341 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 24.4342 +    # In both cases, we have to default to `cp -pR'.
 24.4343 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 24.4344 +      as_ln_s='cp -pR'
 24.4345 +  elif ln conf$$.file conf$$ 2>/dev/null; then
 24.4346 +    as_ln_s=ln
 24.4347 +  else
 24.4348 +    as_ln_s='cp -pR'
 24.4349 +  fi
 24.4350 +else
 24.4351 +  as_ln_s='cp -pR'
 24.4352 +fi
 24.4353 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 24.4354 +rmdir conf$$.dir 2>/dev/null
 24.4355 +
 24.4356 +
 24.4357 +# as_fn_mkdir_p
 24.4358 +# -------------
 24.4359 +# Create "$as_dir" as a directory, including parents if necessary.
 24.4360 +as_fn_mkdir_p ()
 24.4361 +{
 24.4362 +
 24.4363 +  case $as_dir in #(
 24.4364 +  -*) as_dir=./$as_dir;;
 24.4365 +  esac
 24.4366 +  test -d "$as_dir" || eval $as_mkdir_p || {
 24.4367 +    as_dirs=
 24.4368 +    while :; do
 24.4369 +      case $as_dir in #(
 24.4370 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 24.4371 +      *) as_qdir=$as_dir;;
 24.4372 +      esac
 24.4373 +      as_dirs="'$as_qdir' $as_dirs"
 24.4374 +      as_dir=`$as_dirname -- "$as_dir" ||
 24.4375 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 24.4376 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
 24.4377 +	 X"$as_dir" : 'X\(//\)$' \| \
 24.4378 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 24.4379 +$as_echo X"$as_dir" |
 24.4380 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 24.4381 +	    s//\1/
 24.4382 +	    q
 24.4383 +	  }
 24.4384 +	  /^X\(\/\/\)[^/].*/{
 24.4385 +	    s//\1/
 24.4386 +	    q
 24.4387 +	  }
 24.4388 +	  /^X\(\/\/\)$/{
 24.4389 +	    s//\1/
 24.4390 +	    q
 24.4391 +	  }
 24.4392 +	  /^X\(\/\).*/{
 24.4393 +	    s//\1/
 24.4394 +	    q
 24.4395 +	  }
 24.4396 +	  s/.*/./; q'`
 24.4397 +      test -d "$as_dir" && break
 24.4398 +    done
 24.4399 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
 24.4400 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 24.4401 +
 24.4402 +
 24.4403 +} # as_fn_mkdir_p
 24.4404 +if mkdir -p . 2>/dev/null; then
 24.4405 +  as_mkdir_p='mkdir -p "$as_dir"'
 24.4406 +else
 24.4407 +  test -d ./-p && rmdir ./-p
 24.4408 +  as_mkdir_p=false
 24.4409 +fi
 24.4410 +
 24.4411 +
 24.4412 +# as_fn_executable_p FILE
 24.4413 +# -----------------------
 24.4414 +# Test if FILE is an executable regular file.
 24.4415 +as_fn_executable_p ()
 24.4416 +{
 24.4417 +  test -f "$1" && test -x "$1"
 24.4418 +} # as_fn_executable_p
 24.4419 +as_test_x='test -x'
 24.4420 +as_executable_p=as_fn_executable_p
 24.4421 +
 24.4422 +# Sed expression to map a string onto a valid CPP name.
 24.4423 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 24.4424 +
 24.4425 +# Sed expression to map a string onto a valid variable name.
 24.4426 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 24.4427 +
 24.4428 +
 24.4429 +exec 6>&1
 24.4430 +## ----------------------------------- ##
 24.4431 +## Main body of $CONFIG_STATUS script. ##
 24.4432 +## ----------------------------------- ##
 24.4433 +_ASEOF
 24.4434 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 24.4435 +
 24.4436 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 24.4437 +# Save the log message, to keep $0 and so on meaningful, and to
 24.4438 +# report actual input values of CONFIG_FILES etc. instead of their
 24.4439 +# values after options handling.
 24.4440 +ac_log="
 24.4441 +This file was extended by sdlvisualtest $as_me 0.01, which was
 24.4442 +generated by GNU Autoconf 2.69.  Invocation command line was
 24.4443 +
 24.4444 +  CONFIG_FILES    = $CONFIG_FILES
 24.4445 +  CONFIG_HEADERS  = $CONFIG_HEADERS
 24.4446 +  CONFIG_LINKS    = $CONFIG_LINKS
 24.4447 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
 24.4448 +  $ $0 $@
 24.4449 +
 24.4450 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
 24.4451 +"
 24.4452 +
 24.4453 +_ACEOF
 24.4454 +
 24.4455 +case $ac_config_files in *"
 24.4456 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
 24.4457 +esac
 24.4458 +
 24.4459 +case $ac_config_headers in *"
 24.4460 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 24.4461 +esac
 24.4462 +
 24.4463 +
 24.4464 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 24.4465 +# Files that config.status was made for.
 24.4466 +config_files="$ac_config_files"
 24.4467 +config_headers="$ac_config_headers"
 24.4468 +
 24.4469 +_ACEOF
 24.4470 +
 24.4471 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 24.4472 +ac_cs_usage="\
 24.4473 +\`$as_me' instantiates files and other configuration actions
 24.4474 +from templates according to the current configuration.  Unless the files
 24.4475 +and actions are specified as TAGs, all are instantiated by default.
 24.4476 +
 24.4477 +Usage: $0 [OPTION]... [TAG]...
 24.4478 +
 24.4479 +  -h, --help       print this help, then exit
 24.4480 +  -V, --version    print version number and configuration settings, then exit
 24.4481 +      --config     print configuration, then exit
 24.4482 +  -q, --quiet, --silent
 24.4483 +                   do not print progress messages
 24.4484 +  -d, --debug      don't remove temporary files
 24.4485 +      --recheck    update $as_me by reconfiguring in the same conditions
 24.4486 +      --file=FILE[:TEMPLATE]
 24.4487 +                   instantiate the configuration file FILE
 24.4488 +      --header=FILE[:TEMPLATE]
 24.4489 +                   instantiate the configuration header FILE
 24.4490 +
 24.4491 +Configuration files:
 24.4492 +$config_files
 24.4493 +
 24.4494 +Configuration headers:
 24.4495 +$config_headers
 24.4496 +
 24.4497 +Report bugs to <apoorvupreti@gmail.com>."
 24.4498 +
 24.4499 +_ACEOF
 24.4500 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 24.4501 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 24.4502 +ac_cs_version="\\
 24.4503 +sdlvisualtest config.status 0.01
 24.4504 +configured by $0, generated by GNU Autoconf 2.69,
 24.4505 +  with options \\"\$ac_cs_config\\"
 24.4506 +
 24.4507 +Copyright (C) 2012 Free Software Foundation, Inc.
 24.4508 +This config.status script is free software; the Free Software Foundation
 24.4509 +gives unlimited permission to copy, distribute and modify it."
 24.4510 +
 24.4511 +ac_pwd='$ac_pwd'
 24.4512 +srcdir='$srcdir'
 24.4513 +test -n "\$AWK" || AWK=awk
 24.4514 +_ACEOF
 24.4515 +
 24.4516 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 24.4517 +# The default lists apply if the user does not specify any file.
 24.4518 +ac_need_defaults=:
 24.4519 +while test $# != 0
 24.4520 +do
 24.4521 +  case $1 in
 24.4522 +  --*=?*)
 24.4523 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 24.4524 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 24.4525 +    ac_shift=:
 24.4526 +    ;;
 24.4527 +  --*=)
 24.4528 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 24.4529 +    ac_optarg=
 24.4530 +    ac_shift=:
 24.4531 +    ;;
 24.4532 +  *)
 24.4533 +    ac_option=$1
 24.4534 +    ac_optarg=$2
 24.4535 +    ac_shift=shift
 24.4536 +    ;;
 24.4537 +  esac
 24.4538 +
 24.4539 +  case $ac_option in
 24.4540 +  # Handling of the options.
 24.4541 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 24.4542 +    ac_cs_recheck=: ;;
 24.4543 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 24.4544 +    $as_echo "$ac_cs_version"; exit ;;
 24.4545 +  --config | --confi | --conf | --con | --co | --c )
 24.4546 +    $as_echo "$ac_cs_config"; exit ;;
 24.4547 +  --debug | --debu | --deb | --de | --d | -d )
 24.4548 +    debug=: ;;
 24.4549 +  --file | --fil | --fi | --f )
 24.4550 +    $ac_shift
 24.4551 +    case $ac_optarg in
 24.4552 +    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 24.4553 +    '') as_fn_error $? "missing file argument" ;;
 24.4554 +    esac
 24.4555 +    as_fn_append CONFIG_FILES " '$ac_optarg'"
 24.4556 +    ac_need_defaults=false;;
 24.4557 +  --header | --heade | --head | --hea )
 24.4558 +    $ac_shift
 24.4559 +    case $ac_optarg in
 24.4560 +    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 24.4561 +    esac
 24.4562 +    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 24.4563 +    ac_need_defaults=false;;
 24.4564 +  --he | --h)
 24.4565 +    # Conflict between --help and --header
 24.4566 +    as_fn_error $? "ambiguous option: \`$1'
 24.4567 +Try \`$0 --help' for more information.";;
 24.4568 +  --help | --hel | -h )
 24.4569 +    $as_echo "$ac_cs_usage"; exit ;;
 24.4570 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
<