]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We only supply svis(3) so rename the files as such.
authorRoy Marples <roy@marples.name>
Sat, 27 Sep 2014 00:12:21 +0000 (00:12 +0000)
committerRoy Marples <roy@marples.name>
Sat, 27 Sep 2014 00:12:21 +0000 (00:12 +0000)
compat/svis.c [moved from compat/vis.c with 99% similarity]
compat/svis.h [moved from compat/vis.h with 86% similarity]
configure

similarity index 99%
rename from compat/vis.c
rename to compat/svis.c
index 8bdd0baa5605f8fa90d36f967de6039dc2a74767..7bd97ce2ff6cc2c301176335c637a79993ec6afb 100644 (file)
@@ -66,7 +66,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "vis.h"
+#include "svis.h"
 
 #undef BELL
 #define BELL '\a'
similarity index 86%
rename from compat/vis.h
rename to compat/svis.h
index 25c55b52499bfd5b3ee9b4c6d4d6a5ef37986b3c..982d9f291e700fd21a3305d63888102465df7102 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef VIS_H
-#define VIS_H
+#ifndef SVIS_H
+#define SVIS_H
 
 #define        VIS_OCTAL       0x0001  /* use octal \ddd format */
 #define        VIS_CSTYLE      0x0002  /* use \[nrft0..] where appropiate */
index 569bf84ee524045108c200c7a85030fdc43d3c15..e18a19a5abfc4f84eba09ffe001ef2b759258a46 100755 (executable)
--- a/configure
+++ b/configure
@@ -71,7 +71,7 @@ for x do
        --without-md5) MD5=no;;
        --without-sha2) SHA2=no;;
        --without-sha256) SHA2=no;;
-       --without-vis) VIS=no;;
+       --without-svis) SVIS=no;;
        --without-dev) DEV=no;;
        --without-udev) UDEV=no;;
        --serviceexists) SERVICEEXISTS=$var;;
@@ -628,9 +628,9 @@ if [ "$STRLCPY" = no ]; then
        echo "#include          \"compat/strlcpy.h\"" >>$CONFIG_H
 fi
 
-if [ -z "$VIS" ]; then
-       printf "Testing for vis ... "
-       cat <<EOF >_vis.c
+if [ -z "$SVIS" ]; then
+       printf "Testing for svis ... "
+       cat <<EOF >_svis.c
 #include <vis.h>
 int main(void) {
        char s[10];
@@ -638,17 +638,17 @@ int main(void) {
        return 0;
 }
 EOF
-       if $XCC _vis.c -o _vis 2>&3; then
-               VIS=yes
+       if $XCC _svis.c -o _svis 2>&3; then
+               SVIS=yes
        else
-               VIS=no
+               SVIS=no
        fi
-       echo "$VIS"
-       rm -f _vis.c _vis
+       echo "$SVIS"
+       rm -f _svis.c _svis
 fi
-if [ "$VIS" = no ]; then
-       echo "COMPAT_SRCS+=     compat/vis.c" >>$CONFIG_MK
-       echo "#include          \"compat/vis.h\"" >>$CONFIG_H
+if [ "$SVIS" = no ]; then
+       echo "COMPAT_SRCS+=     compat/svis.c" >>$CONFIG_MK
+       echo "#include          \"compat/svis.h\"" >>$CONFIG_H
 else
        echo "#define HAVE_VIS_H" >>$CONFIG_H
 fi