OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
3.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../rlwrap/configure.patch.cross
  5. # Copyright (C) 2008 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./configure.orig 2008-07-04 11:25:24.000000000 +0000
  17. +++ ./configure 2008-07-04 11:56:27.000000000 +0000
  18. @@ -4706,57 +4706,6 @@
  19. { echo "$as_me:$LINENO: checking whether your getopt() correctly understands double colons in option string" >&5
  20. echo $ECHO_N "checking whether your getopt() correctly understands double colons in option string... $ECHO_C" >&6; }
  21. -if test "$cross_compiling" = yes; then
  22. - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  23. -See \`config.log' for more details." >&5
  24. -echo "$as_me: error: cannot run test program while cross compiling
  25. -See \`config.log' for more details." >&2;}
  26. - { (exit 1); exit 1; }; }
  27. -else
  28. - cat >conftest.$ac_ext <<_ACEOF
  29. -/* confdefs.h. */
  30. -_ACEOF
  31. -cat confdefs.h >>conftest.$ac_ext
  32. -cat >>conftest.$ac_ext <<_ACEOF
  33. -/* end confdefs.h. */
  34. - const char optstring[] = "+:a::b";
  35. - char * myargv [] = {"progname", "-a", "-b"};
  36. - int myargc = 3;
  37. - extern char *optarg;
  38. -
  39. -int
  40. -main ()
  41. -{
  42. -
  43. - int opt = getopt(myargc, myargv, optstring);
  44. - if (opt != 'a' || optarg) /* optarg != NULL means that -b is seen as argument of -a */
  45. - exit (-1);
  46. - else
  47. - exit(0);
  48. - ;
  49. - return 0;
  50. -}
  51. -_ACEOF
  52. -rm -f conftest$ac_exeext
  53. -if { (ac_try="$ac_link"
  54. -case "(($ac_try" in
  55. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  56. - *) ac_try_echo=$ac_try;;
  57. -esac
  58. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  59. - (eval "$ac_link") 2>&5
  60. - ac_status=$?
  61. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  63. - { (case "(($ac_try" in
  64. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65. - *) ac_try_echo=$ac_try;;
  66. -esac
  67. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  68. - (eval "$ac_try") 2>&5
  69. - ac_status=$?
  70. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71. - (exit $ac_status); }; }; then
  72. cat >>confdefs.h <<\_ACEOF
  73. #define GETOPT_GROKS_OPTIONAL_ARGS 1
  74. @@ -4765,19 +4714,7 @@
  75. HAVE_OPTIONAL_ARGS=yes
  76. ac_double_colons="yes"
  77. -else
  78. - echo "$as_me: program exited with status $ac_status" >&5
  79. -echo "$as_me: failed program was:" >&5
  80. -sed 's/^/| /' conftest.$ac_ext >&5
  81. -
  82. -( exit $ac_status )
  83. -HAVE_OPTIONAL_ARGS=no
  84. -
  85. - ac_double_colons="no"
  86. -fi
  87. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  88. -fi
  89. -
  90. { echo "$as_me:$LINENO: result: $ac_double_colons" >&5
  91. echo "${ECHO_T}$ac_double_colons" >&6; }
  92. @@ -6296,10 +6233,6 @@
  93. if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
  94. echo $ECHO_N "(cached) $ECHO_C" >&6
  95. else
  96. - test "$cross_compiling" = yes &&
  97. - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
  98. -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
  99. - { (exit 1); exit 1; }; }
  100. if test -r "/proc/$$/cwd/configure.ac"; then
  101. eval "$as_ac_File=yes"
  102. else