master
1#---------------------------------------------------------------------------
2#
3# xc-cc-check.m4
4#
5# Copyright (C) Daniel Stenberg, <daniel@haxx.se>
6#
7# Permission to use, copy, modify, and distribute this software for any
8# purpose with or without fee is hereby granted, provided that the above
9# copyright notice and this permission notice appear in all copies.
10#
11# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18#
19# SPDX-License-Identifier: ISC
20#
21#---------------------------------------------------------------------------
23dnl serial 1
26dnl _XC_PROG_CC_PREAMBLE
27dnl -------------------------------------------------
28dnl Private macro.
30AC_DEFUN([_XC_PROG_CC_PREAMBLE], [
31 xc_prog_cc_prev_IFS=$IFS
32 xc_prog_cc_prev_LIBS=$LIBS
33 xc_prog_cc_prev_CFLAGS=$CFLAGS
34 xc_prog_cc_prev_LDFLAGS=$LDFLAGS
35 xc_prog_cc_prev_CPPFLAGS=$CPPFLAGS
36])
39dnl _XC_PROG_CC_POSTLUDE
40dnl -------------------------------------------------
41dnl Private macro.
43AC_DEFUN([_XC_PROG_CC_POSTLUDE], [
44 IFS=$xc_prog_cc_prev_IFS
45 LIBS=$xc_prog_cc_prev_LIBS
46 CFLAGS=$xc_prog_cc_prev_CFLAGS
47 LDFLAGS=$xc_prog_cc_prev_LDFLAGS
48 CPPFLAGS=$xc_prog_cc_prev_CPPFLAGS
49 AC_SUBST([CC])
50 AC_SUBST([CPP])
51 AC_SUBST([LIBS])
52 AC_SUBST([CFLAGS])
53 AC_SUBST([LDFLAGS])
54 AC_SUBST([CPPFLAGS])
55])
58dnl _XC_PROG_CC
59dnl -------------------------------------------------
60dnl Private macro.
62AC_DEFUN([_XC_PROG_CC], [
63 AC_REQUIRE([_XC_PROG_CC_PREAMBLE])
64 AC_REQUIRE([XC_CHECK_BUILD_FLAGS])
65 AC_REQUIRE([AC_PROG_INSTALL])
66 AC_REQUIRE([AC_PROG_CC])
67 AC_REQUIRE([AM_PROG_CC_C_O])
68 AC_REQUIRE([AC_PROG_CPP])
69 AC_REQUIRE([_XC_PROG_CC_POSTLUDE])
70])
73dnl XC_CHECK_PROG_CC
74dnl -------------------------------------------------
75dnl Public macro.
76dnl
77dnl Checks for C compiler and C preprocessor programs,
78dnl while doing some previous sanity validation on user
79dnl provided LIBS, LDFLAGS, CPPFLAGS and CFLAGS values
80dnl that must succeed in order to continue execution.
81dnl
82dnl This sets variables CC and CPP, while preventing
83dnl LIBS, LDFLAGS, CFLAGS, CPPFLAGS and IFS from being
84dnl unexpectedly changed by underlying macros.
86AC_DEFUN([XC_CHECK_PROG_CC], [
87 AC_PREREQ([2.50])
88 AC_BEFORE([$0],[_XC_PROG_CC_PREAMBLE])
89 AC_BEFORE([$0],[AC_PROG_INSTALL])
90 AC_BEFORE([$0],[AC_PROG_CC])
91 AC_BEFORE([$0],[AM_PROG_CC_C_O])
92 AC_BEFORE([$0],[AC_PROG_CPP])
93 AC_BEFORE([$0],[AC_PROG_LIBTOOL])
94 AC_BEFORE([$0],[AM_INIT_AUTOMAKE])
95 AC_BEFORE([$0],[_XC_PROG_CC_POSTLUDE])
96 AC_REQUIRE([_XC_PROG_CC])
97])
Diagnostics4 git calls · 29 ms
CallStatusSizeTime029 ms
discover200152 B3 ms
git.upload-pack discover http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=fetch git.upstream.dur_ms=2 git.response.bytes=152 git.server.agent=gitty/1.0 git.server.object_format=sha1 git.server.caps=agent ls-refs fetch object-format git.server.fetch=shallow filter sideband-all git.protocol.version=2 git.pkt.frames=8 git.pkt.data=6 git.pkt.flush=2 git.pkt.delim=0 git.pkt.bytes=152 git.pkt.payload.max=34
ls-refs200149 B · hit3 ms
git.upload-pack ls-refs http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=ls-refs git.upstream.dur_ms=3 git.response.bytes=149 git.response.cache=HIT git.response.duration_ms=3 git.protocol.version=2 git.pkt.frames=3 git.pkt.data=2 git.pkt.flush=1 git.pkt.delim=0 git.pkt.bytes=149 git.pkt.payload.max=78 git.ls_refs.count=2 git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit2 ms
git.upload-pack fetch http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=fetch git.upstream.dur_ms=24 git.response.bytes=293470 git.response.cache=HIT git.response.duration_ms=2 git.fetch.filter=blob:none git.fetch.filter.requested=tree:0 git.fetch.filter.fallback=blob:none git.fetch.filter.learned=false git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d git.fetch.haves.count=0 git.fetch.deepen=10 git.fetch.thin_pack=false git.fetch.ofs_delta=true git.protocol.version=2 git.pkt.frames=10 git.pkt.data=8 git.pkt.flush=1 git.pkt.delim=1 git.pkt.bytes=293470 git.pkt.payload.max=65516 git.sideband.band1.bytes=293354 git.sideband.band2.bytes=0 git.sideband.band3.bytes=0 git.pack.objects=87 git.pack.bytes=293354 git.pack.ofs_delta=0 git.pack.ref_delta=1 git.pack.chain.max=1 git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0 git.pack.full=86Open pack map
fetch2001.2 KiB · hit24 ms
git.upload-pack fetch http.response.status_code=200 git.response.bytes=1184 git.response.cache=HIT git.response.duration_ms=24 git.fetch.wants=c3294e87f64332c347bb52587ad6ca38d7067f26 git.fetch.haves.count=0 git.fetch.deepen=0 git.fetch.thin_pack=false git.fetch.ofs_delta=true git.protocol.version=2 git.pkt.frames=3 git.pkt.data=2 git.pkt.flush=1 git.pkt.delim=0 git.pkt.bytes=1184 git.pkt.payload.max=1163 git.sideband.band1.bytes=1162 git.sideband.band2.bytes=0 git.sideband.band3.bytes=0
Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.
- Remote
- https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
- Ref
- refs/heads/master
- Commit
- 31c911efe5652725e930f4d2e60c9060e5f6646d
- cf-ray
- a5e36fc44eebe88e
- Request
- 7622c4fb…
- Protocol
- v2 · sha1
- Agent
- gitty/1.0
- Filter
- advertised
- Fetch
- shallow filter sideband-all
- Capabilities
- agent ls-refs fetch object-format