Update of /cvsroot/fink/experimental/thesin/test
In directory usw-pr-cvs1:/tmp/cvs-serv12404

Modified Files:
        speex-0.8.1-1.info 
Added Files:
        speex-0.8.1-1.patch 
Log Message:
I little work almost compiles and installs

--- NEW FILE: speex-0.8.1-1.patch ---
diff -ruN Speex-0.8.1.orig/ltmain.sh Speex-0.8.1/ltmain.sh
--- Speex-0.8.1.orig/ltmain.sh  2002-08-22 23:43:38.000000000 -0600
+++ Speex-0.8.1/ltmain.sh       2002-09-24 00:04:56.000000000 -0600
@@ -56,7 +56,7 @@
 PROGRAM=ltmain.sh
 PACKAGE=libtool
 VERSION=1.4.2
-TIMESTAMP=" (1.922.2.54 2001/09/11 03:33:37)"
+TIMESTAMP=" (1.922.2.53 2001/09/11 03:18:52)"
 
 default_mode=
 help="Try \`$progname --help' for more information."
@@ -467,7 +467,7 @@
       pic_mode=default
       ;;
     esac
-    if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
+    if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
       # non-PIC code in shared libraries is not supported
       pic_mode=default
     fi
@@ -1303,11 +1303,11 @@
       output_objdir="$output_objdir/$objdir"
     fi
     # Create the object directory.
-    if test ! -d "$output_objdir"; then
+    if test ! -d $output_objdir; then
       $show "$mkdir $output_objdir"
       $run $mkdir $output_objdir
       status=$?
-      if test "$status" -ne 0 && test ! -d "$output_objdir"; then
+      if test $status -ne 0 && test ! -d $output_objdir; then
        exit $status
       fi
     fi
@@ -1366,7 +1366,7 @@
        ;;
     esac
     for pass in $passes; do
-      if test "$linkmode" = prog; then
+      if test $linkmode = prog; then
        # Determine which files to process
        case $pass in
        dlopen)
@@ -1383,11 +1383,11 @@
        found=no
        case $deplib in
        -l*)
-         if test "$linkmode" = oldlib && test "$linkmode" = obj; then
+         if test $linkmode = oldlib && test $linkmode = obj; then
            $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 
1>&2
            continue
          fi
-         if test "$pass" = conv; then
+         if test $pass = conv; then
            deplibs="$deplib $deplibs"
            continue
          fi
@@ -1407,7 +1407,7 @@
              finalize_deplibs="$deplib $finalize_deplibs"
            else
              deplibs="$deplib $deplibs"
-             test "$linkmode" = lib && newdependency_libs="$deplib 
$newdependency_libs"
+             test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
            fi
            continue
          fi
@@ -1416,16 +1416,16 @@
          case $linkmode in
          lib)
            deplibs="$deplib $deplibs"
-           test "$pass" = conv && continue
+           test $pass = conv && continue
            newdependency_libs="$deplib $newdependency_libs"
            newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 
's/^-L//'`
            ;;
          prog)
-           if test "$pass" = conv; then
+           if test $pass = conv; then
              deplibs="$deplib $deplibs"
              continue
            fi
-           if test "$pass" = scan; then
+           if test $pass = scan; then
              deplibs="$deplib $deplibs"
              newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 
's/^-L//'`
            else
@@ -1440,7 +1440,7 @@
          continue
          ;; # -L
        -R*)
-         if test "$pass" = link; then
+         if test $pass = link; then
            dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
            # Make sure the xrpath contains only unique directories.
            case "$xrpath " in
@@ -1453,7 +1453,7 @@
          ;;
        *.la) lib="$deplib" ;;
        *.$libext)
-         if test "$pass" = conv; then
+         if test $pass = conv; then
            deplibs="$deplib $deplibs"
            continue
          fi
@@ -1474,7 +1474,7 @@
            continue
            ;;
          prog)
-           if test "$pass" != link; then
+           if test $pass != link; then
              deplibs="$deplib $deplibs"
            else
              compile_deplibs="$deplib $compile_deplibs"
@@ -1485,7 +1485,7 @@
          esac # linkmode
          ;; # *.$libext
        *.lo | *.$objext)
-         if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test 
"$build_libtool_libs" = no; then
+         if test $pass = dlpreopen || test "$dlopen_support" != yes || test 
+"$build_libtool_libs" = no; then
            # If there is no dlopen support or we're linking statically,
            # we need to preload.
            newdlprefiles="$newdlprefiles $deplib"
@@ -1501,7 +1501,7 @@
          continue
          ;;
        esac # case $deplib
-       if test "$found" = yes || test -f "$lib"; then :
+       if test $found = yes || test -f "$lib"; then :
        else
          $echo "$modename: cannot find the library \`$lib'" 1>&2
          exit 1
@@ -1535,13 +1535,13 @@
 
        if test "$linkmode,$pass" = "lib,link" ||
           test "$linkmode,$pass" = "prog,scan" ||
-          { test "$linkmode" = oldlib && test "$linkmode" = obj; }; then
+          { test $linkmode = oldlib && test $linkmode = obj; }; then
           # Add dl[pre]opened files of deplib
          test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
          test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
        fi
 
-       if test "$pass" = conv; then
+       if test $pass = conv; then
          # Only check for convenience libraries
          deplibs="$lib $deplibs"
          if test -z "$libdir"; then
@@ -1560,7 +1560,7 @@
              esac
              tmp_libs="$tmp_libs $deplib"
            done
-         elif test "$linkmode" != prog && test "$linkmode" != lib; then
+         elif test $linkmode != prog && test $linkmode != lib; then
            $echo "$modename: \`$lib' is not a convenience library" 1>&2
            exit 1
          fi
@@ -1578,7 +1578,7 @@
        fi
 
        # This library was specified with -dlopen.
-       if test "$pass" = dlopen; then
+       if test $pass = dlopen; then
          if test -z "$libdir"; then
            $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
            exit 1
@@ -1627,7 +1627,7 @@
        name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
 
        # This library was specified with -dlpreopen.
-       if test "$pass" = dlpreopen; then
+       if test $pass = dlpreopen; then
          if test -z "$libdir"; then
            $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
            exit 1
@@ -1646,7 +1646,7 @@
 
        if test -z "$libdir"; then
          # Link the convenience library
-         if test "$linkmode" = lib; then
+         if test $linkmode = lib; then
            deplibs="$dir/$old_library $deplibs"
          elif test "$linkmode,$pass" = "prog,link"; then
            compile_deplibs="$dir/$old_library $compile_deplibs"
@@ -1657,7 +1657,7 @@
          continue
        fi
 
-       if test "$linkmode" = prog && test "$pass" != link; then
+       if test $linkmode = prog && test $pass != link; then
          newlib_search_path="$newlib_search_path $ladir"
          deplibs="$lib $deplibs"
 
@@ -1673,7 +1673,7 @@
            -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 
's/^-L//'`;; ### testsuite: skip nested quoting test
            esac
            # Need to link against all dependency_libs?
-           if test "$linkalldeplibs" = yes; then
+           if test $linkalldeplibs = yes; then
              deplibs="$deplib $deplibs"
            else
              # Need to hardcode shared library paths
@@ -1694,7 +1694,7 @@
          # Link against this shared library
 
          if test "$linkmode,$pass" = "prog,link" ||
-          { test "$linkmode" = lib && test "$hardcode_into_libs" = yes; }; then
+          { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
            # Hardcode the library path.
            # Skip directories that are in the system default run-time
            # search path.
@@ -1716,7 +1716,7 @@
              esac
              ;;
            esac
-           if test "$linkmode" = prog; then
+           if test $linkmode = prog; then
              # We need to hardcode the library path
              if test -n "$shlibpath_var"; then
                # Make sure the rpath contains only unique directories.
@@ -1798,9 +1798,9 @@
            # make sure the library variables are pointing to the new library
            dir=$output_objdir
            linklib=$newlib
-         fi # test -n "$old_archive_from_expsyms_cmds"
+         fi # test -n $old_archive_from_expsyms_cmds
 
-         if test "$linkmode" = prog || test "$mode" != relink; then
+         if test $linkmode = prog || test "$mode" != relink; then
            add_shlibpath=
            add_dir=
            add=
@@ -1849,7 +1849,7 @@
              *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
              esac
            fi
-           if test "$linkmode" = prog; then
+           if test $linkmode = prog; then
              test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
              test -n "$add" && compile_deplibs="$add $compile_deplibs"
            else
@@ -1866,7 +1866,7 @@
            fi
          fi
 
-         if test "$linkmode" = prog || test "$mode" = relink; then
+         if test $linkmode = prog || test "$mode" = relink; then
            add_shlibpath=
            add_dir=
            add=
@@ -1888,7 +1888,7 @@
              add="-l$name"
            fi
 
-           if test "$linkmode" = prog; then
+           if test $linkmode = prog; then
              test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
              test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
            else
@@ -1896,7 +1896,7 @@
              test -n "$add" && deplibs="$add $deplibs"
            fi
          fi
-       elif test "$linkmode" = prog; then
+       elif test $linkmode = prog; then
          if test "$alldeplibs" = yes &&
             { test "$deplibs_check_method" = pass_all ||
               { test "$build_libtool_libs" = yes &&
@@ -1955,10 +1955,10 @@
          fi
        fi # link shared/static library?
 
-       if test "$linkmode" = lib; then
+       if test $linkmode = lib; then
          if test -n "$dependency_libs" &&
-            { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
-              test "$link_static" = yes; }; then
+            { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
+              test $link_static = yes; }; then
            # Extract -R from dependency_libs
            temp_deplibs=
            for libdir in $dependency_libs; do
@@ -1987,7 +1987,7 @@
            tmp_libs="$tmp_libs $deplib"
          done
 
-         if test "$link_all_deplibs" != no; then
+         if test $link_all_deplibs != no; then
            # Add the search paths of all dependency libraries
            for deplib in $dependency_libs; do
              case $deplib in
@@ -2030,15 +2030,15 @@
          fi # link_all_deplibs != no
        fi # linkmode = lib
       done # for deplib in $libs
-      if test "$pass" = dlpreopen; then
+      if test $pass = dlpreopen; then
        # Link the dlpreopened libraries before other libraries
        for deplib in $save_deplibs; do
          deplibs="$deplib $deplibs"
        done
       fi
-      if test "$pass" != dlopen; then
-       test "$pass" != scan && dependency_libs="$newdependency_libs"
-       if test "$pass" != conv; then
+      if test $pass != dlopen; then
+       test $pass != scan && dependency_libs="$newdependency_libs"
+       if test $pass != conv; then
          # Make sure lib_search_path contains only unique directories.
          lib_search_path=
          for dir in $newlib_search_path; do
@@ -2096,7 +2096,7 @@
        deplibs=
       fi
     done # for pass
-    if test "$linkmode" = prog; then
+    if test $linkmode = prog; then
       dlfiles="$newdlfiles"
       dlprefiles="$newdlprefiles"
     fi
@@ -2173,7 +2173,7 @@
       fi
 
       set dummy $rpath
-      if test "$#" -gt 2; then
+      if test $# -gt 2; then
        $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 
1>&2
       fi
       install_libdir="$2"
@@ -2214,7 +2214,7 @@
 
        # Check that each of the things are valid numbers.
        case $current in
-       [0-9]*) ;;
+       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
        *)
          $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
@@ -2223,7 +2223,7 @@
        esac
 
        case $revision in
-       [0-9]*) ;;
+       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
        *)
          $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
@@ -2232,7 +2232,7 @@
        esac
 
        case $age in
-       [0-9]*) ;;
+       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
        *)
          $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
@@ -2240,7 +2240,7 @@
          ;;
        esac
 
-       if test "$age" -gt "$current"; then
+       if test $age -gt $current; then
          $echo "$modename: AGE \`$age' is greater than the current interface number 
\`$current'" 1>&2
          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
          exit 1
@@ -2279,7 +2279,7 @@
 
          # Add in all the interfaces that we are compatible with.
          loop=$revision
-         while test "$loop" -ne 0; do
+         while test $loop != 0; do
            iface=`expr $revision - $loop`
            loop=`expr $loop - 1`
            verstring="sgi$major.$iface:$verstring"
@@ -2302,7 +2302,7 @@
 
          # Add in all the interfaces that we are compatible with.
          loop=$age
-         while test "$loop" -ne 0; do
+         while test $loop != 0; do
            iface=`expr $current - $loop`
            loop=`expr $loop - 1`
            verstring="$verstring:${iface}.0"
@@ -2403,7 +2403,7 @@
          *) finalize_rpath="$finalize_rpath $libdir" ;;
          esac
        done
-       if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
+       if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
          dependency_libs="$temp_xrpath $dependency_libs"
        fi
       fi
@@ -2446,7 +2446,7 @@
            ;;
          *)
            # Add libc to deplibs on all other systems if necessary.
-           if test "$build_libtool_need_lc" = "yes"; then
+           if test $build_libtool_need_lc = "yes"; then
              deplibs="$deplibs -lc"
            fi
            ;;
@@ -2487,7 +2487,7 @@
 EOF
          $rm conftest
          $CC -o conftest conftest.c $deplibs
-         if test "$?" -eq 0 ; then
+         if test $? -eq 0 ; then
            ldd_output=`ldd conftest`
            for i in $deplibs; do
              name="`expr $i : '-l\(.*\)'`"
@@ -2521,7 +2521,7 @@
                $rm conftest
                $CC -o conftest conftest.c $i
                # Did it work?
-               if test "$?" -eq 0 ; then
+               if test $? -eq 0 ; then
                  ldd_output=`ldd conftest`
                  libname=`eval \\$echo \"$libname_spec\"`
                  deplib_matches=`eval \\$echo \"$library_names_spec\"`
@@ -2692,7 +2692,7 @@
            echo "*** automatically added whenever a program is linked with this 
library"
            echo "*** or is declared to -dlopen it."
 
-           if test "$allow_undefined" = no; then
+           if test $allow_undefined = no; then
              echo
              echo "*** Since this library must not contain undefined symbols,"
              echo "*** because either the platform does not support them or"
@@ -2719,7 +2719,7 @@
 
       # Test again, we may have decided not to build it any more
       if test "$build_libtool_libs" = yes; then
-       if test "$hardcode_into_libs" = yes; then
+       if test $hardcode_into_libs = yes; then
          # Hardcode the library paths
          hardcode_libdirs=
          dep_rpath=
@@ -2850,7 +2850,7 @@
            $show "mkdir $gentop"
            $run mkdir "$gentop"
            status=$?
-           if test "$status" -ne 0 && test ! -d "$gentop"; then
+           if test $status -ne 0 && test ! -d "$gentop"; then
              exit $status
            fi
            generated="$generated $gentop"
@@ -2869,7 +2869,7 @@
              $show "mkdir $xdir"
              $run mkdir "$xdir"
              status=$?
-             if test "$status" -ne 0 && test ! -d "$xdir"; then
+             if test $status -ne 0 && test ! -d "$xdir"; then
                exit $status
              fi
              $show "(cd $xdir && $AR x $xabs)"
@@ -2894,7 +2894,12 @@
        if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
          eval cmds=\"$archive_expsym_cmds\"
        else
-         eval cmds=\"$archive_cmds\"
+         save_deplibs="$deplibs"
+         for conv in $convenience; do
+           deplibs="${deplibs%$conv*} ${deplibs#*$conv}"
+         done
+         eval cmds=\"$archive_cmds\"
+         deplibs="$save_deplibs"
        fi
        save_ifs="$IFS"; IFS='~'
        for cmd in $cmds; do
@@ -2989,7 +2994,7 @@
          $show "mkdir $gentop"
          $run mkdir "$gentop"
          status=$?
-         if test "$status" -ne 0 && test ! -d "$gentop"; then
+         if test $status -ne 0 && test ! -d "$gentop"; then
            exit $status
          fi
          generated="$generated $gentop"
@@ -3008,7 +3013,7 @@
            $show "mkdir $xdir"
            $run mkdir "$xdir"
            status=$?
-           if test "$status" -ne 0 && test ! -d "$xdir"; then
+           if test $status -ne 0 && test ! -d "$xdir"; then
              exit $status
            fi
            $show "(cd $xdir && $AR x $xabs)"
@@ -3403,7 +3408,7 @@
        finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
       fi
 
-      if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
+      if test $need_relink = no || test "$build_libtool_libs" != yes; then
        # Replace the output file specification.
        compile_command=`$echo "X$compile_command" | $Xsed -e 
's%@OUTPUT@%'"$output"'%g'`
        link_command="$compile_command$compile_rpath"
@@ -3528,7 +3533,7 @@
            relink_command="$var=\"$var_value\"; export $var; $relink_command"
          fi
        done
-       relink_command="(cd `pwd`; $relink_command)"
+       relink_command="cd `pwd`; $relink_command"
        relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
       fi
 
@@ -3771,7 +3776,7 @@
        $show "mkdir $gentop"
        $run mkdir "$gentop"
        status=$?
-       if test "$status" -ne 0 && test ! -d "$gentop"; then
+       if test $status -ne 0 && test ! -d "$gentop"; then
          exit $status
        fi
        generated="$generated $gentop"
@@ -3791,7 +3796,7 @@
          $show "mkdir $xdir"
          $run mkdir "$xdir"
          status=$?
-         if test "$status" -ne 0 && test ! -d "$xdir"; then
+         if test $status -ne 0 && test ! -d "$xdir"; then
            exit $status
          fi
          $show "(cd $xdir && $AR x $xabs)"
@@ -3858,7 +3863,7 @@
        fi
       done
       # Quote the link command for shipping.
-      relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args)"
+      relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
       relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
 
       # Only create the output if not a dry run.
@@ -3948,7 +3953,7 @@
 
 # Directory that this library needs to be installed in:
 libdir='$install_libdir'"
-         if test "$installed" = no && test "$need_relink" = yes; then
+         if test "$installed" = no && test $need_relink = yes; then
            $echo >> $output "\
 relink_command=\"$relink_command\""
          fi
@@ -4084,7 +4089,7 @@
 
       # Not a directory, so check to see that there is only one file specified.
       set dummy $files
-      if test "$#" -gt 2; then
+      if test $# -gt 2; then
        $echo "$modename: \`$dest' is not a directory" 1>&2
        $echo "$help" 1>&2
        exit 1
@@ -4186,7 +4191,7 @@
            $run eval "$striplib $destdir/$realname" || exit $?
          fi
 
-         if test "$#" -gt 0; then
+         if test $# -gt 0; then
            # Delete the old symlinks, and create new ones.
            for linkname
            do
@@ -4319,11 +4324,7 @@
            if test "$finalize" = yes && test -z "$run"; then
              tmpdir="/tmp"
              test -n "$TMPDIR" && tmpdir="$TMPDIR"
-              tmpdir=`mktemp -d $tmpdir/libtool-XXXXXX 2> /dev/null`
-              if test $? = 0 ; then :
-              else
-                tmpdir="$tmpdir/libtool-$$"
-              fi
+             tmpdir="$tmpdir/libtool-$$"
              if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
              else
                $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 
1>&2
@@ -4448,7 +4449,7 @@
     fi
 
     # Exit here if they wanted silent mode.
-    test "$show" = : && exit 0
+    test "$show" = ":" && exit 0
 
     echo "----------------------------------------------------------------------"
     echo "Libraries have been installed in:"
@@ -4614,7 +4615,7 @@
       fi
 
       # Now prepare to actually exec the command.
-      exec_cmd="\$cmd$args"
+      exec_cmd='"$cmd"$args'
     else
       # Display what would be done.
       if test -n "$shlibpath_var"; then
@@ -4664,10 +4665,10 @@
        objdir="$dir/$objdir"
       fi
       name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
-      test "$mode" = uninstall && objdir="$dir"
+      test $mode = uninstall && objdir="$dir"
 
       # Remember objdir for removal later, being careful to avoid duplicates
-      if test "$mode" = clean; then
+      if test $mode = clean; then
        case " $rmdirs " in
          *" $objdir "*) ;;
          *) rmdirs="$rmdirs $objdir" ;;
@@ -4699,9 +4700,9 @@
            rmfiles="$rmfiles $objdir/$n"
          done
          test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
-         test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
+         test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
 
-         if test "$mode" = uninstall; then
+         if test $mode = uninstall; then
            if test -n "$library_names"; then
              # Do each command in the postuninstall commands.
              eval cmds=\"$postuninstall_cmds\"
@@ -4710,7 +4711,7 @@
                IFS="$save_ifs"
                $show "$cmd"
                $run eval "$cmd"
-               if test "$?" -ne 0 && test "$rmforce" != yes; then
+               if test $? != 0 && test "$rmforce" != yes; then
                  exit_status=1
                fi
              done
@@ -4725,7 +4726,7 @@
                IFS="$save_ifs"
                $show "$cmd"
                $run eval "$cmd"
-               if test "$?" -ne 0 && test "$rmforce" != yes; then
+               if test $? != 0 && test "$rmforce" != yes; then
                  exit_status=1
                fi
              done
@@ -4745,7 +4746,7 @@
 
       *)
        # Do a test to see if this is a libtool program.
-       if test "$mode" = clean &&
+       if test $mode = clean &&
           (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; 
then
          relink_command=
          . $dir/$file
diff -ruN Speex-0.8.1.orig/src/getopt.h Speex-0.8.1/src/getopt.h
--- Speex-0.8.1.orig/src/getopt.h       1969-12-31 17:00:00.000000000 -0700
+++ Speex-0.8.1/src/getopt.h    2002-09-24 00:03:46.000000000 -0600
@@ -0,0 +1,180 @@
+/* Declarations for getopt.
+   Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#ifndef _GETOPT_H
+
+#ifndef __need_getopt
+# define _GETOPT_H 1
+#endif
+
+/* If __GNU_LIBRARY__ is not already defined, either we are being used
+   standalone, or this is the first header included in the source file.
+   If we are being used with glibc, we need to include <features.h>, but
+   that does not exist if we are standalone.  So: if __GNU_LIBRARY__ is
+   not defined, include <ctype.h>, which will pull in <features.h> for us
+   if it's from glibc.  (Why ctype.h?  It's guaranteed to exist and it
+   doesn't flood the namespace with stuff the way some other headers do.)  */
+#if !defined __GNU_LIBRARY__
+# include <ctype.h>
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* For communication from `getopt' to the caller.
+   When `getopt' finds an option that takes an argument,
+   the argument value is returned here.
+   Also, when `ordering' is RETURN_IN_ORDER,
+   each non-option ARGV-element is returned here.  */
+
+extern char *optarg;
+
+/* Index in ARGV of the next element to be scanned.
+   This is used for communication to and from the caller
+   and for communication between successive calls to `getopt'.
+
+   On entry to `getopt', zero means this is the first call; initialize.
+
+   When `getopt' returns -1, this is the index of the first of the
+   non-option elements that the caller should itself scan.
+
+   Otherwise, `optind' communicates from one call to the next
+   how much of ARGV has been scanned so far.  */
+
+extern int optind;
+
+/* Callers store zero here to inhibit the error message `getopt' prints
+   for unrecognized options.  */
+
+extern int opterr;
+
+/* Set to an option character which was unrecognized.  */
+
+extern int optopt;
+
+#ifndef __need_getopt
+/* Describe the long-named options requested by the application.
+   The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector
+   of `struct option' terminated by an element containing a name which is
+   zero.
+
+   The field `has_arg' is:
+   no_argument         (or 0) if the option does not take an argument,
+   required_argument   (or 1) if the option requires an argument,
+   optional_argument   (or 2) if the option takes an optional argument.
+
+   If the field `flag' is not NULL, it points to a variable that is set
+   to the value given in the field `val' when the option is found, but
+   left unchanged if the option is not found.
+
+   To have a long-named option do something other than set an `int' to
+   a compiled-in constant, such as set a value from `optarg', set the
+   option's `flag' field to zero and its `val' field to a nonzero
+   value (the equivalent single-letter option character, if there is
+   one).  For long options that have a zero `flag' field, `getopt'
+   returns the contents of the `val' field.  */
+
+struct option
+{
+# if (defined __STDC__ && __STDC__) || defined __cplusplus
+  const char *name;
+# else
+  char *name;
+# endif
+  /* has_arg can't be an enum because some compilers complain about
+     type mismatches in all the code that assumes it is an int.  */
+  int has_arg;
+  int *flag;
+  int val;
+};
+
+/* Names for the values of the `has_arg' field of `struct option'.  */
+
+# define no_argument           0
+# define required_argument     1
+# define optional_argument     2
+#endif /* need getopt */
+
+
+/* Get definitions and prototypes for functions to process the
+   arguments in ARGV (ARGC of them, minus the program name) for
+   options given in OPTS.
+
+   Return the option character from OPTS just read.  Return -1 when
+   there are no more options.  For unrecognized options, or options
+   missing arguments, `optopt' is set to the option letter, and '?' is
+   returned.
+
+   The OPTS string is a list of characters which are recognized option
+   letters, optionally followed by colons, specifying that that letter
+   takes an argument, to be placed in `optarg'.
+
+   If a letter in OPTS is followed by two colons, its argument is
+   optional.  This behavior is specific to the GNU `getopt'.
+
+   The argument `--' causes premature termination of argument
+   scanning, explicitly telling `getopt' that there are no more
+   options.
+
+   If OPTS begins with `--', then non-option arguments are treated as
+   arguments to the option '\0'.  This behavior is specific to the GNU
+   `getopt'.  */
+
+#if (defined __STDC__ && __STDC__) || defined __cplusplus
+# ifdef __GNU_LIBRARY__
+/* Many other libraries have conflicting prototypes for getopt, with
+   differences in the consts, in stdlib.h.  To avoid compilation
+   errors, only prototype getopt for the GNU C library.  */
+extern int getopt (int __argc, char *const *__argv, const char *__shortopts);
+# else /* not __GNU_LIBRARY__ */
+extern int getopt ();
+# endif /* __GNU_LIBRARY__ */
+
+# ifndef __need_getopt
+extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts,
+                       const struct option *__longopts, int *__longind);
+extern int getopt_long_only (int __argc, char *const *__argv,
+                            const char *__shortopts,
+                            const struct option *__longopts, int *__longind);
+
+/* Internal only.  Users should not call this directly.  */
+extern int _getopt_internal (int __argc, char *const *__argv,
+                            const char *__shortopts,
+                            const struct option *__longopts, int *__longind,
+                            int __long_only);
+# endif
+#else /* not __STDC__ */
+extern int getopt ();
+# ifndef __need_getopt
+extern int getopt_long ();
+extern int getopt_long_only ();
+
+extern int _getopt_internal ();
+# endif
+#endif /* __STDC__ */
+
+#ifdef __cplusplus
+}
+#endif
+
+/* Make sure we later can get all the definitions and declarations.  */
+#undef __need_getopt
+
+#endif /* getopt.h */

Index: speex-0.8.1-1.info
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/test/speex-0.8.1-1.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- speex-0.8.1-1.info  23 Sep 2002 22:53:23 -0000      1.1
+++ speex-0.8.1-1.info  24 Sep 2002 06:09:57 -0000      1.2
@@ -2,15 +2,28 @@
 Version: 0.8.1
 Revision: 1
 ###
-Depends: 
+Depends: %N-shlibs (= %v-%r)
 BuildDepends:
 ###
 Source: mirror:sourceforge:%n/Speex-%v.tar.gz
 Source-MD5: 83bed45197890810a4bab09da7ca9e42
 ###
-ConfigureParams: --with-pic --enable-shared --enable-static --mandir=%i/share/man 
--infodir=%p/share/info --libexecdir=%p/lib
+Patch: %f.patch
 ###
-DocFiles: 
+ConfigureParams: --with-ogg-dir=%p --with-pic --enable-shared --enable-static 
+--mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib
+###
+Splitoff: <<
+  Package: %N-shlibs
+  Depends: 
+  Files: <<
+    lib/%N.*.dylib
+  <<
+  DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+<<
+###
+DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+###
+SetCPPFLAGS: -no-cpp-precomp
 ###
 Description: Voice compression format (codec)
 DescDetail: <<



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to