Ignore:
Timestamp:
Jan 9, 2020 11:33:11 PM (5 months ago)
Author:
stefan
Message:

lou's update to glpk 4.65

New approach: use captureConfigFiles to download glpk,
patch glpk's native autotools sources, run run_autotools, and capture updated
glpk configuration files in a tar file. Get.Glpk will fetch glpk, then extract
the tar file to replace glpk's native configuration files.

Skip tar file in this commit

Closes #1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/branches/autotools-update/depcomp

    r3951 r4050  
    1 #!/usr/bin/sh
     1#! /bin/sh
    22# depcomp - compile a program generating dependencies as side-effects
    33
    4 scriptversion=2013-05-30.07; # UTC
    5 
    6 # Copyright (C) 1999-2015 Free Software Foundation, Inc.
     4scriptversion=2018-03-07.03; # UTC
     5
     6# Copyright (C) 1999-2018 Free Software Foundation, Inc.
    77
    88# This program is free software; you can redistribute it and/or modify
     
    1717
    1818# You should have received a copy of the GNU General Public License
    19 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
     19# along with this program.  If not, see <https://www.gnu.org/licenses/>.
    2020
    2121# As a special exception to the GNU General Public License, if you
     
    250250  # since it is checked for above.
    251251  exit 1
     252  ;;
     253
     254sgi)
     255  if test "$libtool" = yes; then
     256    "$@" "-Wp,-MDupdate,$tmpdepfile"
     257  else
     258    "$@" -MDupdate "$tmpdepfile"
     259  fi
     260  stat=$?
     261  if test $stat -ne 0; then
     262    rm -f "$tmpdepfile"
     263    exit $stat
     264  fi
     265  rm -f "$depfile"
     266
     267  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
     268    echo "$object : \\" > "$depfile"
     269    # Clip off the initial element (the dependent).  Don't try to be
     270    # clever and replace this with sed code, as IRIX sed won't handle
     271    # lines with more than a fixed number of characters (4096 in
     272    # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
     273    # the IRIX cc adds comments like '#:fec' to the end of the
     274    # dependency line.
     275    tr ' ' "$nl" < "$tmpdepfile" \
     276      | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
     277      | tr "$nl" ' ' >> "$depfile"
     278    echo >> "$depfile"
     279    # The second pass generates a dummy entry for each header file.
     280    tr ' ' "$nl" < "$tmpdepfile" \
     281      | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
     282      >> "$depfile"
     283  else
     284    make_dummy_depfile
     285  fi
     286  rm -f "$tmpdepfile"
    252287  ;;
    253288
     
    749784# mode: shell-script
    750785# sh-indentation: 2
    751 # eval: (add-hook 'write-file-hooks 'time-stamp)
     786# eval: (add-hook 'before-save-hook 'time-stamp)
    752787# time-stamp-start: "scriptversion="
    753788# time-stamp-format: "%:y-%02m-%02d.%02H"
    754 # time-stamp-time-zone: "UTC"
     789# time-stamp-time-zone: "UTC0"
    755790# time-stamp-end: "; # UTC"
    756791# End:
Note: See TracChangeset for help on using the changeset viewer.