Next: Manual Configuration, Previous: Writing Autoconf Macros, Up: Top [Contents][Index]
ÆÈ¼«¤ÎÄ´ºº¤ò½ñ¤¤¤Æ¤¤¤ë¤È¤¡¤¥³¡¼¥É¤ò°Ü¿¢À¤Î¹â¤¤¤â¤Î¤Ë¤¹¤ë¤¿¤á¡¤»ÈÍѤòÈò ¤±¤ë¤Ù¤¥·¥§¥ë¥¹¥¯¥ê¥×¥È¥×¥í¥°¥é¥à¤Î¥Æ¥¯¥Ë¥Ã¥¯¤â¤¢¤ê¤Þ¤¹¡¥Bourne¥·¥§¥ë¤È¡¤ Bash¤ÈKorn¥·¥§¥ë¤Î¤è¤¦¤Ê¾å°Ì¸ß´¹À¤¬¤¢¤ë¥·¥§¥ë¤Ï¡¤²¿Ç¯¤â¤«¤±¤Æ¿ÊŸ¤·¤Þ¤· ¤¿¤¬¡¤ÌäÂê¤òÈò¤±¤ë¤¿¤á¤Ë¡¤UNIX¥Ð¡¼¥¸¥ç¥ó7¤Î°Ê¹ß¤Î1977ǯº¢¤Ë²Ã¤¨¤é¤ì ¤¿µ¡Ç½¤òÍøÍѤ·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤(see Systemology)¡¥
¥·¥§¥ë´Ø¿ô¡¤¥¨¥¤¥ê¥¢¥¹¡¤Ìµ¸ú¤Êʸ»ú¥¯¥é¥¹¤ä¡¤Bourne¥·¥§¥ë¸ß´¹¤Î¤â¤Î¤Ç¤Ï¸«
¤Ä¤«¤é¤Ê¤¤¤¹¤Ù¤Æ¤Îµ¡Ç½¤ò»ÈÍѤ¹¤ë¤Ù¤¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡¥ºÇ¾®¸øÇÜ¿ô¤ËÀ©¸Â¤µ¤ì
¤Æ¤Þ¤¹¡¥unset
¤µ¤¨¡¤Á´¤Æ¤Î¥·¥§¥ë¤Ç¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡ª¤Þ¤¿¡¤°Ê
²¼¤Î¤è¤¦¤Ë¡¤¥¤¥ó¥¿¥×¥ê¥¿»ÅÍͤȤ·¤Æ¡¤´¶Ã²Éä¤Î¸å¤Ë¥¹¥Ú¡¼¥¹¤ò´Þ¤á¤Æ¤¯¤À¤µ¤¤¡¥
#! /usr/bin/perl
¥Ñ¥¹¤ÎÁ°¤Î¥¹¥Ú¡¼¥¹¤ò¾Êά¤¹¤ë¾ì¹ç¡¤(DYNIX¤Î¤è¤¦¤Ê)4.2BSD¤ò´ðËÜ ¤È¤¹¤ë¥·¥¹¥Æ¥à¤Ï¡¤‘#! /’¤Ï4¥Ð¥¤¥È¤Î¥Þ¥¸¥Ã¥¯¥Ê¥ó¥Ð¡¼¤È¤·¤Æ²ò¼á¤µ¤ì¤ë ¤Î¤Ç¡¤¤½¤Î¹Ô¤ò̵»ë¤·¤Þ¤¹¡¥¸Å¤¤¥·¥¹¥Æ¥à¤Ç¤Ï¡¤‘#!’¹Ô¤ÎŤµ¤Ë¤â¾®¤µ¤Ê À©¸Â¤¬¤¢¤ê¡¤Î㤨¤ÐSunOS 4¤Ç¤Ï¡¤(²þ¹Ô¤ò´Þ¤á¤º)32¥Ð¥¤¥È¤Ë¤Ê¤ê¤Þ¤¹¡¥
configure
¥¹¥¯¥ê¥×¥È¤Ç¼Â¹Ô¤¹¤Ù¤³°Éô¥×¥í¥°¥é¥à¤ÎÀßÄê¤Ï¡¤¤«¤Ê¤ê
¾®¤µ¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡¥¥ê¥¹¥È¤Ï¡¤See Utilities
in Makefiles in GNU Coding Standards. ¤³¤ÎÀ©¸Â¤Ç¡¤
¥æ¡¼¥¶¤Ï¡¤¤«¤Ê¤ê¾®¤µ¤¤¥×¥í¥°¥é¥àÀßÄ꤫¤é»Ä¤ê¤ò¥Ó¥ë¥É¤¹¤ë¤³¤È¤¬²Äǽ¤Ë¤Ê¤Ã
¤Æ¤¤¤Æ¡¤¥Ñ¥Ã¥±¡¼¥¸´Ö¤ÎÆÈΩÉôʬ¤ò¿¤¯¤·²á¤®¤ë¤³¤È¤òÈò¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡¥
¤³¤ì¤é¤Î³°Éô¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ë¤Ï¡¤°Ü¿¢À¤Î¹â¤¤µ¡Ç½¤Î¥µ¥Ö¥»¥Ã¥È¤¬¤¢¤ê¤Þ¤¹¡¥ Limitations of Usual Tools¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡¥
¥·¥§¥ë¤Ë´Ø¤¹¤ë¥É¥¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤Ï¾¤Ë¤â¤¢¤ê¤Þ¤¹¡¥Î㤨¤Ð¡¤ the Shell FAQs¤ò»²¾È¤· ¤Æ¤¯¤À¤µ¤¤¡¥
• Shellology: | A zoology of shells | |
• Here-Documents: | Quirks and tricks | |
• File Descriptors: | FDs and redirections | |
• File System Conventions: | File- and pathnames | |
• Shell Substitutions: | Variable and command expansions | |
• Assignments: | Varying side effects of assignments | |
• Parentheses: | Parentheses in shell scripts | |
• Special Shell Variables: | Variables you should not change | |
• Limitations of Builtins: | Portable use of not so portable /bin/sh | |
• Limitations of Usual Tools: | Portable use of portable tools | |
• Limitations of Make: | Portable Makefiles |